Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to ESPHome dashboard #33

Closed
Salvora opened this issue Sep 10, 2021 · 4 comments · Fixed by #49
Closed

Cannot connect to ESPHome dashboard #33

Salvora opened this issue Sep 10, 2021 · 4 comments · Fixed by #49

Comments

@Salvora
Copy link

Salvora commented Sep 10, 2021

I have set up the addon as instructed.

ssl: true
certfile: fullchain.pem
keyfile: privkey.pem
leave_front_door_open: true

I can access the dashboard just fine.
but the vscode extension cannot connect for some reason:
Cannot connect to ESPHome dashboard. Make sure you can access 'https://ha.home.org:6052/' and have set the option 'leave_front_door_open': true
dashboard uri:
https://ha.home.org:6052

@glmnet
Copy link
Member

glmnet commented Sep 15, 2021

what happens when you input that url on your web browser?

@Salvora
Copy link
Author

Salvora commented Sep 15, 2021

It opens up the ESPHome dashboard

and

https://ha.home.org:6052/vscode shows. "Can "Upgrade" only to "WebSocket"."

@Salvora
Copy link
Author

Salvora commented Sep 26, 2021

Additionally, same things happens when I use the VSCode addon of HA. When I switch file type to esphome, it throws an error.
The configuration for it is set like this: 15ef4d2f-esphome.local.hass.io:6052
Esphome is also accessible on local network with no problem.

@slovdahl
Copy link
Contributor

The VS Code extension doesn't support SSL-secured endpoints at the moment. I opened #49 to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants