Skip to content

Deno exits with 1 exit code with no logs or error details in Azure Container App #29036

Closed
@ardasovvadim

Description

@ardasovvadim

Version: from Deno 2.1.5
From discord help thread: https://discord.com/channels/684898665143206084/1327331978055385250

We are experiencing the same issue with Deno in Azuer Container Apps, starting from 2.1.5
We found that the issue is reproducible when container apps has Virtual Network attached (no outbound rules).
It runs fine in a container environment without a virtual network.
Also tried adding OTEL_DENO=false, this didn't help.

Additional details:

  • Affected version from 2.1.5 till the new release 2.2.11
  • We tried examples from official documentation with simple "Hello Word" server: https://docs.deno.com/runtime/reference/docker/
  • Container will not spin app at all. Connecting to the container and running the cmd "deno --version" will respond correctly. Any other cmds like "deno", "deno run", "deno cache", "deno test" exist with 1 exit code and no logs.
  • Precompiled version via "deno compile" has the same issue.

Container with deno 2.1.5

# deno --version
deno 2.1.5 (stable, release, x86_64-unknown-linux-gnu)
v8 13.0.245.12-rusty
typescript 5.6.2
# deno
# deno test
# deno main.ts

Container with deno 2.1.4

# deno --version
deno 2.1.4 (stable, release, x86_64-unknown-linux-gnu)
v8 13.0.245.12-rusty
typescript 5.6.2
# deno
Deno 2.1.4
exit using ctrl+d, ctrl+c, or close()
REPL is running with all permissions allowed.
To specify permissions, run `deno repl` with allow flags.
> 
press ctrl+c again to exit
> 
# deno test
Check file:///app/main_test.ts
running 1 test from ./main_test.ts
addTest ... ok (0ms)

ok | 1 passed | 0 failed (3ms)

# deno main.ts
Add 2 + 3 = 5
# 

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs investigationrequires further investigation before determining if it is an issue or not

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions