C
Coder.com2mo ago
Kbs56

Devcontainer hanging in Coder instance

Our coder instances are hanging when pulling images, tried with internal and external images and both are hanging when extracting layers.
status_code=500 latency_ms=279 response_body="{\"message\":\"An internal error occurred. Please try again or contact the system administrator.\",\"detail\":\"API key couldn't update: fetch object: sql: no rows in result set.\"}\n" request_id=40f44f34-abc4-4fdd-8d64-f3759b9ee5f0`
status_code=500 latency_ms=279 response_body="{\"message\":\"An internal error occurred. Please try again or contact the system administrator.\",\"detail\":\"API key couldn't update: fetch object: sql: no rows in result set.\"}\n" request_id=40f44f34-abc4-4fdd-8d64-f3759b9ee5f0`
2025-01-28 16:11:20.816 [warn] coderd: failed to close webscoket job_id=2085e6ae-1775-4432-a289-dcbdf808e81a request_id=69aa09b0-2432-4ae5-b0e4-ddb5a8ac1c47 error="failed to close WebSocket: failed to write control frame opClose: WebSocket closed: failed to acquire lock: context deadline exceeded"
2025-01-28 16:11:20.816 [warn] coderd: failed to close webscoket job_id=2085e6ae-1775-4432-a289-dcbdf808e81a request_id=69aa09b0-2432-4ae5-b0e4-ddb5a8ac1c47 error="failed to close WebSocket: failed to write control frame opClose: WebSocket closed: failed to acquire lock: context deadline exceeded"
Here are some logs I found while looking into it.
5 Replies
Codercord
Codercord2mo ago
<#1333835424027774986>
Category
Bug report
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Phorcys
Phorcys2mo ago
hey @Kbs56 which Coder version are you running?
Kbs56
Kbs56OP2mo ago
We are on 2.16.1 Upgraded dev instance to 2.17.3 this morning and haven't seen any issues with it, prod is still having some issues on 2.16.1
Phorcys
Phorcys2mo ago
are you still facing this issue? could you send the full logs to see if we can find anything else? the first one indicate that the API wasn't found, but that likely means that it hasn't been created so I'd like to find the creation issue if there's nothing i'd like you to also send a verbose log (the reason I'm not asking for it right away is because it'll be very noisy) & timestamps if possible you can start coder with -v/--verbose, or you can set CODER_VERBOSE=true hey @Kbs56 i'm closing this one out but feel free to reopen via /reopen and send a message if you need help with this!
Codercord
Codercord2mo ago
@Phorcys closed the thread.

Did you find this page helpful?