Coder.comC
Coder.com3y ago
13 replies
Scott

Coder just stopped working

Hi,

I have no clue what happened. I wanted to start to do some work with Coder and this is what I saw this morning (see the image below).

Logs:

Started HTTP listener at http://0.0.0.0:8080
                                           
View the Web UI: https://coder-zeus.m8a.dev
                                                                
==> Logs will stream in below (press ctrl+c to gracefully exit):
2023-07-07 07:37:31.686 [warn]  coderd: panic serving http request (recovered)  panic="runtime error: invalid memory address or nil pointer dereference" ...
    stack= goroutine 208 [running]:
           runtime/debug.Stack()
               /opt/hostedtoolcache/go/1.20.5/x64/src/runtime/debug/stack.go:24 +0x65
           github.com/coder/coder/coderd/httpmw.Recover.func1.1.1()
               /home/runner/actions-runner/_work/coder/coder/coderd/httpmw/recover.go:28 +0x105
           panic({0x2397be0, 0xb91fae0})
               /opt/hostedtoolcache/go/1.20.5/x64/src/runtime/panic.go:884 +0x213
           github.com/coder/coder/coderd/httpmw.ExtractAPIKey({0xa53ba50?, 0xc000e804b0?}, 0xc01139ef00, {{0xa5d57e0, 0xc0007c2600}, 0x0, 0x0, 0x0, 0x1, 0x0})
               /home/runner/actions-runner/_work/coder/coder/coderd/httpmw/apikey.go:245 +0xace
           github.com/coder/coder/site.(*Handler).renderHTMLWithState(0xc00086e5f0, {0xa53ba50, 0xc000e804b0}, 0xc01139ef00, {0xc01138e844, 0x0}, {{{0xc0113b05a0, 0x58}}, {0xc000c0a460, 0xe0}, ...})
               /home/runner/actions-runner/_work/coder/coder/site/site.go:292 +0x185
           github.com/coder/coder/site.(*Handler).serveHTML(0xc00057c140?, {0xa53ba50, 0xc000e804b0}, 0x20?, {0xc01138e844, 0x0}, {{{0xc0113b05a0, 0x58}}, {0xc000c0a460, 0xe0}, ...})
.. and more of the same
image.png
Was this page helpful?