digitallyinduced / digitallyinduced/ihp

Socket error on Codespaces

Open
#2,003 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
5.4k
Forks
225
Avg merge
14h 56m
Merged PRs (30d)
20

Description

When we're running on Codespaces using Varun's template (https://github.com/rvarun11/codespaces-ihp), we're running into this error sometimes:

```
/workspaces/IHP-Codespace2 (main) $ ./start {"level":"warn","error":"open /home/vscode/.config/process-compose/settings.yaml: no such file or directory","time":"2024-09-16T18:04:27Z","message":"Error reading settings file /home/vscode/.config/process-compose/settings.yaml"} 24-09-16 18:04:27.859 FTL start UDS http server on /tmp/devenv-ed5d247/pc.sock failed error="listen unix /tmp/devenv-ed5d247/pc.sock: bind: no such file or directory

```

The weird thing is that sometimes it gives this error but still works (we can access the ports), and other times it doesn't. Rebuilding the Codespace fixes it temporarily.

Any ideas on how to fix it? Do we need to update the Codespaces image? Thank you!

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure in Varun's Codespaces template and running ./start. Inspect the reported process-compose settings path and /tmp/devenv-ed5d247/pc.sock error. Done means the Codespace starts reliably without the socket error and its ports remain accessible.

Written by the indexing model from the issue text.

Assessment

Tech stack
github
Domain
cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.