gitpanda icon indicating copy to clipboard operation
gitpanda copied to clipboard

Cannot retrieve Merge request comments POSTed by Service accounts

Open sue445 opened this issue 6 months ago • 0 comments

Cannot retrieve comments POSTed by Service accounts

This fails here

https://github.com/sue445/gitpanda/blob/5ca80131c7ea7904bec1848bc34e0293302601f3/gitlab/merge_request_fetcher.go#L55-L62

error log (v17.3.7-ee)

2025/07/14 09:54:18 http: panic serving 169.254.169.126:55740: 404 Not Found
goroutine 21 [running]:
net/http.(*conn).serve.func1()
	/usr/local/go/src/net/http/server.go:1947 +0xbe
panic({0xda8ae0?, 0xc000387800?})
	/usr/local/go/src/runtime/panic.go:792 +0x132
github.com/getsentry/sentry-go/http.(*Handler).recoverWithSentry(0xc0001cd2e0, 0xc00011e300, 0xc00012e3c0)
	/go/pkg/mod/github.com/getsentry/[email protected]/http/sentryhttp.go:138 +0xeb
panic({0xda8ae0?, 0xc000387800?})
	/usr/local/go/src/runtime/panic.go:792 +0x132
main.normalHandler({0x3e323eec1068, 0xc000106200}, 0xc00012e3c0)
	/work/main.go:129 +0x84d
net/http.HandlerFunc.ServeHTTP(0x150fda0?, {0x3e323eec1068?, 0xc000106200?}, 0xc64f40?)
	/usr/local/go/src/net/http/server.go:2294 +0x29
main.main.(*SentryClient).HandleFunc.(*Handler).HandleFunc.(*Handler).handle.func1({0xf8e5f8, 0xc00014a000}, 0xc00012e140)
	/go/pkg/mod/github.com/getsentry/[email protected]/http/sentryhttp.go:124 +0x379
net/http.HandlerFunc.ServeHTTP(0x1530980?, {0xf8e5f8?, 0xc00014a000?}, 0xc0000cfb60?)
	/usr/local/go/src/net/http/server.go:2294 +0x29
net/http.(*ServeMux).ServeHTTP(0x41b4e5?, {0xf8e5f8, 0xc00014a000}, 0xc00012e140)
	/usr/local/go/src/net/http/server.go:2822 +0x1c4
net/http.serverHandler.ServeHTTP({0xf8a160?}, {0xf8e5f8?, 0xc00014a000?}, 0x6?)
	/usr/local/go/src/net/http/server.go:3301 +0x8e
net/http.(*conn).serve(0xc000122090, {0xf901f0, 0xc0001e7470})
	/usr/local/go/src/net/http/server.go:2102 +0x625
created by net/http.(*Server).Serve in goroutine 1
	/usr/local/go/src/net/http/server.go:3454 +0x485

sue445 avatar Jul 14 '25 10:07 sue445