SSO-URL error when starting the dev server

Fail case:

2023-02-16T11:59:33.777Z INFO  DTP-CLI:  Started local development server
2023-02-16T11:59:35.486Z DEBUG [AUTH] Retrieving SSO-URL for environment 'https://{environmentid}.apps.dynatrace.com'
2023-02-16T11:59:35.486Z DEBUG [HTTP(S)] Execute GET request without allowing redirection to 'https://{environmentid}.apps.dynatrace.com/platform/oauth2/authorization/dynatrace-sso'
2023-02-16T11:59:35.487Z DEBUG [undefined] Tracing request https://{environmentid}.apps.dynatrace.com/platform/oauth2/authorization/dynatrace-sso
2023-02-16T11:59:35.921Z DEBUG [BUILD_TIME] Built in 149ms.
2023-02-16T11:59:56.657Z DEBUG [AUTH] Could not resolve the SSO-URL for 'https://{environmentid}.apps.dynatrace.com'
2023-02-16T11:59:56.658Z DEBUG [AUTH] Error: Http(s) request failed: connect ETIMEDOUT 54.89.223.247:443
2023-02-16T11:59:56.663Z ERROR Runtime error: Uncaught exception
2023-02-16T12:00:18.568Z DEBUG [BUILD_TIME] Built in 42802ms.
2023-02-16T12:00:18.569Z INFO Reloading browser
2023-02-16T12:00:18.572Z ERROR Error: Could not resolve the SSO-URL for 'https://{environmentid}.apps.dynatrace.com'
Http(s) request failed: connect ETIMEDOUT 54.89.223.247:443​

Successful case:

2023-02-14T10:46:33.845Z INFO  DTP-CLI:  Started local development server
2023-02-14T10:46:34.656Z DEBUG [AUTH] Retrieving SSO-URL for environment 'https://{environmentid}.apps.dynatrace.com'
2023-02-14T10:46:34.656Z DEBUG [HTTP(S)] Execute GET request without allowing redirection to 'https://{environmentid}.apps.dynatrace.com/platform/oauth2/authorization/dynatrace-sso'
2023-02-14T10:46:34.656Z DEBUG [undefined] Tracing request https://{environmentid}.apps.dynatrace.com/platform/oauth2/authorization/dynatrace-sso
2023-02-14T10:46:35.094Z DEBUG [HTTP(S)] Resolved URL is https://{environmentid}.apps.dynatrace.com/platform/login/oauth2/code/dynatrace-sso&nonce=xxxxxx&code_challenge_method=S256&code_challenge=xxxxxx
2023-02-14T10:46:35.094Z DEBUG [AUTH] Using SSO-URL 'https://{environmentid}.apps.dynatrace.com/platform/app-engine/registry/v0.1/app.default.csp.json
2023-02-14T10:47:09.298Z DEBUG [BUILD_TIME] Built in 34481ms.
2023-02-14T10:47:09.304Z INFO Reloading browser
2023-02-14T10:47:09.324Z INFO 
────────────────────────────────────────────────────────────────────────────────

  App Shell URL: https://{environmentid}.apps.dynatrace.com/ui/apps/local-dev-server/?locationAppIds=http%3A%2F%2Flocalhost%3A3000%2Fui%2Clocal-dev-server
  Local URL: http://localhost:3000/ui

  Ready for development! 

────────────────────────────────────────────────────────────────────────────────

I saw there is a line “Resolved URL” in the successful case while it can’t be found in the fail case.

@michael_taylor This is the case I shared in Wednesday 10:30 session. The SSO-URL error happens again today.