04 Jan 2025 06:43 AM - last edited on 07 Jan 2025 01:44 PM by MaciejNeumann
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