[GH-ISSUE #339] Issue with datadog orchestrion #102

Open
opened 2026-03-02 05:18:43 +03:00 by kerem · 0 comments
Owner

Originally created by @aryasuryapp on GitHub (Feb 26, 2025).
Original GitHub issue: https://github.com/hibiken/asynqmon/issues/339

Got this error when build using orchestrion

2025/02/26 09:07:46 [Recovery] 2025/02/26 - 09:07:46 panic recovered:
GET /monitoring/api/queue HTTP/1.1
Host: localhost:8080
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Encoding: gzip, deflate, br, zstd
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
Connection: keep-alive
Cookie: csrf_token=0Oa5gD3nPTDopy838bsXp2s+fvE+8MwxaUDE+8yZVwI=
Sec-Ch-Ua: "Not(A:Brand";v="99", "Google Chrome";v="133", "Chromium";v="133"
Sec-Ch-Ua-Mobile: ?0
Sec-Ch-Ua-Platform: "macOS"
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: none
Sec-Fetch-User: ?1
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36

runtime error: invalid memory address or nil pointer dereference
runtime/panic.go:262 (0x10470208f)
runtime/signal_unix.go:900 (0x10470205c)
:2 (0x1057849a4)
github.com/hibiken/asynqmon@v0.7.2/handler.go:55 (0x10578f957)
github.com/gin-gonic/gin@v1.10.0/utils.go:49 (0x1057c5b7b)
github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x10570c77b)
gopkg.in/DataDog/dd-trace-go.v1@v1.71.0/contrib/gin-gonic/gin/gintrace.go:69 (0x10570c750)
github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x10554a79b)
github.com/gin-gonic/gin@v1.10.0/recovery.go:102 (0x10554a77c)
github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x105549b07)
github.com/gin-gonic/gin@v1.10.0/logger.go:249 (0x105549ae4)
github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x105548f43)
github.com/gin-gonic/gin@v1.10.0/gin.go:633 (0x105548acc)
github.com/gin-gonic/gin@v1.10.0/gin.go:589 (0x1055486f3)
gopkg.in/DataDog/dd-trace-go.v1@v1.71.0/contrib/net/http/trace.go:35 (0x1057836cb)
gopkg.in/DataDog/dd-trace-go.v1@v1.71.0/contrib/net/http/http.go:106 (0x105782fbb)
net/http/server.go:2220 (0x104a376a7)
net/http/server.go:3210 (0x104a556cb)
net/http/server.go:2092 (0x104a3625b)
runtime/asm_arm64.s:1223 (0x104708ff3)

Dependecies
github.com/hibiken/asynqmon v0.7.2
github.com/hibiken/asynq v0.25.1
github.com/DataDog/orchestrion v1.0.4
github.com/gin-gonic/gin v1.10.0

Details
I import asynqmon as library with Gin framework
Build successfully using orchestrion go build .
but when i run the binary and visit /monitong/*any it trigger panic and error 500
my other API endpoint works fine

Originally created by @aryasuryapp on GitHub (Feb 26, 2025). Original GitHub issue: https://github.com/hibiken/asynqmon/issues/339 **Got this error when build using orchestrion** 2025/02/26 09:07:46 [Recovery] 2025/02/26 - 09:07:46 panic recovered: GET /monitoring/api/queue HTTP/1.1 Host: localhost:8080 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7 Accept-Encoding: gzip, deflate, br, zstd Accept-Language: en-GB,en-US;q=0.9,en;q=0.8 Connection: keep-alive Cookie: csrf_token=0Oa5gD3nPTDopy838bsXp2s+fvE+8MwxaUDE+8yZVwI= Sec-Ch-Ua: "Not(A:Brand";v="99", "Google Chrome";v="133", "Chromium";v="133" Sec-Ch-Ua-Mobile: ?0 Sec-Ch-Ua-Platform: "macOS" Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: none Sec-Fetch-User: ?1 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 runtime error: invalid memory address or nil pointer dereference runtime/panic.go:262 (0x10470208f) runtime/signal_unix.go:900 (0x10470205c) <generated>:2 (0x1057849a4) github.com/hibiken/asynqmon@v0.7.2/handler.go:55 (0x10578f957) github.com/gin-gonic/gin@v1.10.0/utils.go:49 (0x1057c5b7b) github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x10570c77b) gopkg.in/DataDog/dd-trace-go.v1@v1.71.0/contrib/gin-gonic/gin/gintrace.go:69 (0x10570c750) github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x10554a79b) github.com/gin-gonic/gin@v1.10.0/recovery.go:102 (0x10554a77c) github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x105549b07) github.com/gin-gonic/gin@v1.10.0/logger.go:249 (0x105549ae4) github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x105548f43) github.com/gin-gonic/gin@v1.10.0/gin.go:633 (0x105548acc) github.com/gin-gonic/gin@v1.10.0/gin.go:589 (0x1055486f3) gopkg.in/DataDog/dd-trace-go.v1@v1.71.0/contrib/net/http/trace.go:35 (0x1057836cb) gopkg.in/DataDog/dd-trace-go.v1@v1.71.0/contrib/net/http/http.go:106 (0x105782fbb) net/http/server.go:2220 (0x104a376a7) net/http/server.go:3210 (0x104a556cb) net/http/server.go:2092 (0x104a3625b) runtime/asm_arm64.s:1223 (0x104708ff3) **Dependecies** github.com/hibiken/asynqmon v0.7.2 github.com/hibiken/asynq v0.25.1 github.com/DataDog/orchestrion v1.0.4 github.com/gin-gonic/gin v1.10.0 **Details** I import asynqmon as library with Gin framework Build successfully using orchestrion go build . but when i run the binary and visit /monitong/*any it trigger panic and error 500 my other API endpoint works fine
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynqmon#102
No description provided.