Comments
13 comments
-
Hi there,
Thank you for reaching out.
Can you send this article to your IT team to make sure our endpoints aren't being blocked?
https://productsupport.red-gate.com/hc/en-us/articles/360002374673-Licensing-update-URLs-to-add-to-your-AllowList-in-firewall
If that fails, you can also try our offline activation method detailed in this article:
https://productsupport.red-gate.com/hc/en-us/articles/360004919994-Manual-Offline-Activation-for-user-based-tools
-
Thank you for the pointers. Unfortunately in enterprise high-security environment its not allowed to make such changes to the network infrastructure and offline activation seems quite cumbersome (using a separate computer that is also in high-security env. and not allowed to make external calls).
I just wonder why a community edition mode requires "activation over net" in the first place?
Could it be just open/activated for everyone by default (e.g. a permanent "community license" as part of the desktop tool)? -
Hi there,
If you go into %appdata%\Redgate\Flyway Desktop (should lead you to \AppData\Roaming\Redgate\Flyway Desktop)
If you then open
community.json
and change to{"communityEditionEnabled":true}
Then change the
trial.json{"edition":"Community"}
This should get you working on the community edition.
-
Hi chrisqtran,
Thank you for the workaround. I use MacOS and I believe the location of the"Redgate\Flyway Desktop" is in my user folder:
"~/Library/Preferences/Redgate/Flyway Desktop"
When I listed files in there I see only 2 files:
- data.json
- community.json (it already contains communityEditionEnabled as true)
But there is no trial.json, so I tried to create this file with the content inside as you suggested.
When I restarted the Flyway desktop its still asking me to Signin.
Perhaps I'm missing something.chrisqtran said:Hi there,
If you go into %appdata%\Redgate\Flyway Desktop (should lead you to \AppData\Roaming\Redgate\Flyway Desktop)
If you then open
community.json
and change to{"communityEditionEnabled":true}
Then change the
trial.json{"edition":"Community"}
This should get you working on the community edition.
-
Can you close Flyway Desktop, then navigate to http://localhost:22221/redgate/status.html -> Licensing settings -> uncheck "Enable user account licensing on this computer.", then re-open Flyway Desktop? You shouldn't have to sign in after this.
-
When I try to navigate to the http://localhost:22221/redgate/status.html I get error "This site can’t be reached" (I tried with desktop closed and also with desktop running)...same result.
NOTE: I've installed Flyway Desktop on MacOS M1 Pro chip -
I'm experiencing the exact same issue as javaDuke (MacOS M1 Pro chip)
I also had to create the trial.json file as it did not exist -
I have tried to activate on another MacOS machine I have that is on my private personal network. So in this setup the login worked and I observe there are 2 extra files created after successful login in the folder "~/Library/Preferences/Redgate/Flyway Desktop":
- permit.jwt
- permit.refresh.token
Just my observation. Behind a firewall with restricted network websites & ports its still not working...which is pretty much a showstopper for a corporate dev setup. -
Hi javaDuke,
On your Mac in the locked down environment, if you navigate to the licensing page within Flyway Desktop do you see the following offline activation option?
The button launches a webpage to allow for a challenge / response interaction; at this point I'd expect it to fail due to the locked down environment. So if you take that url and pass it to a machine that can more feely navigate, you'll have to authenticate in a browser to get to your authorised Redgate account and then it will provide you a lengthy authorisation string. If you then copy that back to your locked down environment, that will populate the permit for you as you described occurring in the other environment, without needing network access.
This also doesn't use the Redgate Client which was a source of confusion earlier in the conversation. -
Thank you @Peter_Laws for the explanation! Unfortunately when I click on [Manage offline license] there is no pop up with the browser window happens...that pretty much stops me from obtaining the URL.
I hope there is another way how I can activate offline.
-
Thank you for the feedback javaDuke, our expectation was that in a locked down environment a browser would be initialised and fail, exposing the licensing target.
Please use the above link and let me know the outcome. -
Thank you @Peter_Laws your link worked and I was able to get the magic sequence!
-
Delighted to hear it javaDuke!
I apologise for the trek to Mt Doom and back that it took, with the new licensing model, you should have an easier time of it.
If I don't speak to you before, have a great weekend!
Add comment
Please sign in to leave a comment.
Upon examining logs I see that there is an error:
It seems to me that the integration with the browser based authentication is not working in a restricted environment (like the one I have - enterprise web proxy)
How can I use Flyway Desktop in "offline mode" or in a "restricted network mode"?
P.S.
browser opens some local port:
http://localhost:60161/?code=1EE..9&scope=openid RedGate.Publ...
Perhaps there is something wrong with browser/app permissions?