cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Failed to start App due to error "Client network socket disconnected before secure TLS connection was established"

paulli
Newcomer

I tried to set up my first Dynatrace app by following this instruction First app in 5 minutes | Dynatrace Developer but got "Client network socket disconnected before secure TLS connection was established" when starting the App.

$Env:NODE_TLS_REJECT_UNAUTHORIZED='0'; & npm run start

> edi-platform-web-app@0.0.0 start
> dt-app dev

(node:10800) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
DT-APP: Authenticate with Dynatrace SSO

Warning ──────────────────────────────────────────────────────────────────────────────────

Failed to retrieve user details. App functions will use placeholder data.

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

DT-APP: Started local development server
Initial ui build finished successfully.
× Authenticating...
FetchError: request to https://sso.dynatrace.com/oauth2/authorize?client_id=dt0s08.dt-app-local&redirect_uri=http%3A%2F%2Fl... failed, reason: Client network socket disconnected before secure TLS connection was established

 

1 REPLY 1

haris
Dynatrace Mentor
Dynatrace Mentor

Hi Paulli,

Apologies for the very late reply. This question seems to have been missed by us, or it was not in the proper place, and we noticed it only now.

this seems like common connection reset error caused by network issues or the server-side closes the connection prematurely either due to too many connection attempts or other reasons.

Could you please tell me if you're still having the issue so that we can actively look into it now?

Developer Advocate,
Haris Hibic

Featured Posts