Replies: 1 comment 1 reply
-
Hi, @ngillux This will happen regularly, and as far as I know, there is no "quick fix" for it. GitPod regularly changes URLs due to many possible reasons: Server MigrationThis can be caused by behind-the-scenes GitPod infrastructure migration which can cause new URLs due to different naming conventions or simply the workspace now living on a different host server Workspace UpdatesWorkspace updates made by GitPod (these happen very regularly) could it to move to a new server, where its new configuration is being used, hence the need to rebuild the workspace and the URL (since the old one was destroyed when moving to a new server) Workspace InactivityGitPod workspaces are inherently temporary. Because of this, they are deleted after some time of inactivity to free up resources, when the workspace is deleted, the URL will no longer work. I have looked around for some possible solutions to this issue if you feel it is worth exploring to make your development experience slightly less annoying.
I have not personally tried to use either of these solutions, but if you'd like we could try to go over them during a work session either the regularly scheduled one or one outside of that scheduled time. Let me know what you think or if you have any questions, feel free to tag me to make sure I get a notification :) |
Beta Was this translation helpful? Give feedback.
-
If using Gitpod this may be useful to you.
In previous Gitpod session(s) my URL was https://3000-XXXX-XXXXX.ws-us99.gitpod.io/, however, when going into a session today it had changed to https://3000-XXXX-XXXXX.ws-us100.gitpod.io/.
This resulted in my NEXT_AUTH_URL and MOCK_JSON_SERVER_URL not being hit, since I had set those to be https://3000-XXXX-XXXXX.ws-us99.gitpod.io/ [*note the 'us99'].
To resolve this I updated the URL to contain 'us100' in my .env file, and also updated the OAuth app in GitHub Developer Settings (just modified the 'us99' to be 'us100'] for the respective URLs (NEXT_AUTH_URL and MOCK_JSON_SERVER_URL).
Curious if anyone else has ran into a similar issue.
Beta Was this translation helpful? Give feedback.
All reactions