# Developing Dynatrace App using WSL

**URL:** <https://community.dynatrace.com/t/developing-dynatrace-app-using-wsl/41215>\
**Category:** Developer Q&A Forum\
**Tags:** dynatrace-app-toolkit, custom-app, platform-services, coding-assistance\
**Created:** [August 15, 2023, 7:38pm UTC](https://community.dynatrace.com/t/developing-dynatrace-app-using-wsl/41215 "2023-08-15T19:38:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![StephenLHChan](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@StephenLHChan](https://community.dynatrace.com/u/StephenLHChan)\
**Post date:** [August 15, 2023, 7:38pm UTC](https://community.dynatrace.com/t/developing-dynatrace-app-using-wsl/41215/1 "2023-08-15T19:38:24Z")

</div>

Hey,

I am now trying to use WSL for development. Is there any setting that I need?

It shows me an error when I start the dev server.

![StephenLHChan_0-1692127830254.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/2/123e8d5740930b8287f3bd73fa007070ab8fbbd6.png)

And, here is the log:

```markup
2023-08-15T14:25:25.986Z DEBUG [TELEMETRY] Reading package.json
2023-08-15T14:25:25.993Z DEBUG [TELEMETRY] Initializing OpenKit
2023-08-15T14:25:29.048Z DEBUG [TELEMETRY] Creating a new HTTP and HTTPS://{environmentid}.apps.dynatrace.com'
2023-08-15T14:25:30.370Z DEBUG [HTTP(S)] Execute GET request without allowing redirection to 'https://{environmentid}.apps.dynatrace.com/platform/oauth2/authorization/dynatrace-sso'
2023-08-15T14:25:30.371Z DEBUG [TELEMETRY] Tracing request https://{environmentid}.apps.dynatrace.com/platform/oauth2/authorization/dynatrace-sso
2023-08-15T14:25:30.441Z DEBUG [BUILD_TIME] Built functions in 23ms.
2023-08-15T14:25:31.324Z DEBUG [BUILD_TIME] Built UI in 902ms.
2023-08-15T14:27:40.799Z DEBUG [AUTH] Could not resolve the SSO-URL for 'https://{environmentid}.apps.dynatrace.com'
2023-08-15T14:27:40.799Z DEBUG [AUTH] Error: Http(s) request failed: connect ETIMEDOUT ......
2023-08-15T14:27:40.800Z ERROR Error: Could not resolve the SSO-URL for 'https://{environmentid}.apps.dynatrace.com'
Http(s) request failed: connect ETIMEDOUT ........
2023-08-15T14:27:40.800Z DEBUG [TELEMETRY] Reporting crash
2023-08-15T14:27:40.800Z DEBUG [TELEMETRY] Closing OpenKit connection

```

And, I have checked that I can access to “https://{environmentid}.apps.dynatrace.com/platform/oauth2/authorization/dynatrace-sso”

FYI, node: v18.17.1

os:

NAME=“Ubuntu”  
VERSION=“20.04.6 LTS (Focal Fossa)”  
ID=ubuntu  
ID\_LIKE=debian  
PRETTY\_NAME=“Ubuntu 20.04.6 LTS”  
VERSION\_ID=“20.04”  
HOME\_URL=“[https://www.ubuntu.com/](https://www.ubuntu.com/)”  
SUPPORT\_URL=“[https://help.ubuntu.com/](https://help.ubuntu.com/)”  
BUG\_REPORT\_URL=“[Bugs : Ubuntu](https://bugs.launchpad.net/ubuntu/)”  
PRIVACY\_POLICY\_URL=“[Data privacy | Ubuntu and Canonical Legal | Canonical](https://www.ubuntu.com/legal/terms-and-policies/privacy-policy)”  
VERSION\_CODENAME=focal  
UBUNTU\_CODENAME=focal

dt-app: “0.101.1”,

Thanks!

---

<div class="post-metadata">

**Author:** ![tomislav\_zorcec](https://avatars.discourse-cdn.com/v4/letter/t/dbc845/32.png) [@tomislav\_zorcec](https://community.dynatrace.com/u/tomislav_zorcec)\
**Post date:** [August 16, 2023, 10:00am UTC](https://community.dynatrace.com/t/developing-dynatrace-app-using-wsl/41215/2 "2023-08-16T10:00:20Z")

</div>

Thank you StephenLHChan, for reaching out.

I want to ask you to ensure you’re using the latest available dt-app version before starting debugging.

After, please try to execute the following commands inside the WSL and share the output:

- `curl -I&nbsp;https://{environmentid}.apps.dynatrace.com/`
  - code 401 is expected

- `curl -I&nbsp;https://{environmentid}.apps.dynatrace.com/platform/oauth2/authorization/dynatrace-sso`
  - code 302 is expected

Thank you, Tomislav

---

<div class="post-metadata">

**Author:** ![StephenLHChan](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@StephenLHChan](https://community.dynatrace.com/u/StephenLHChan)\
**Post date:** [August 16, 2023, 5:48pm UTC](https://community.dynatrace.com/t/developing-dynatrace-app-using-wsl/41215/3 "2023-08-16T17:48:55Z")

</div>

hi&nbsp;[@tomislav\_zorcec](https://community.dynatrace.com/user/33181),

Thank you for the reply.

Below is the output.

 ![StephenLHChan_0-1692208098498.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/5/b5906450975bf4a8b9365afea487a9d24390c282.jpeg)

---

<div class="post-metadata">

**Author:** ![sinisa\_zubic](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sinisa_zubic/32/32498_2.png) [@sinisa\_zubic](https://community.dynatrace.com/u/sinisa_zubic)\
**Post date:** [August 29, 2023, 3:21pm UTC](https://community.dynatrace.com/t/developing-dynatrace-app-using-wsl/41215/4 "2023-08-29T15:21:12Z")

</div>

Hi&nbsp;[@StephenLHChan](https://community.dynatrace.com/user/59527)

Please create a support ticket via&nbsp;[https://one.dynatrace.com/hc/en-us/requests](https://one.dynatrace.com/hc/en-us/requests)&nbsp;. Tech support will help you with this issue. Please attach to the ticket the output of the two commands and zip the folder&nbsp;_.dt-app_ and attach it to the ticket\*.\* That folder contains dt-app toolkit logs.

Best,  
Sini
