Github codespaces for addon devcontainer

Hi, I’m trying to use a Github codespace to test a add-on, but it’s not working.

When I open the homeassistant container in the devcontainer, it gives this in the logs:

2022-07-15 09:40:35.932 ERROR (MainThread) [homeassistant.components.http.forwarded] A request from a reverse proxy was received from 127.0.0.1, but your HTTP integration is not set-up for reverse proxies

Also, the observer says it’s disconnected. Not sure if related…
Home assistant does seem to be working, since the landingpage is working for some seconds.

Here is the .devcontainer file: asterisk-hass-addons/devcontainer.json

What it the best way to fix this? My own HA server is too little to build the add-on, and WSL2 is acting very weird for me (it takes 5 minutes to do a simple ls :frowning: ).

Is there a way to get a custom configuration.yaml to homeassistant in the devcontainer? Any help is appreciated! :slight_smile:

I’ve used https://github.com/custom-components/integration_blueprint successfully over the last couple of weeks.

When it’s running - F1 / run task / Run HA on port 9123

don’t try it on arm - it will fail and you will lose a day hacking images in docker :slight_smile:

Hi Barney, thanks for the reply.

Do you use it in a Github codespace? If so, did you change any config?

No - use VSCode (on a pi400)