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

Connection refused error? #19

Open
Bazmundi opened this issue Jan 15, 2022 · 2 comments
Open

Connection refused error? #19

Bazmundi opened this issue Jan 15, 2022 · 2 comments

Comments

@Bazmundi
Copy link

Bazmundi commented Jan 15, 2022

I have HASS running on a hypriot based RPi3. I am running jupyter under miniconda for python 3 on my windows 10 box.

I additionally use mobaxterm to jump into the embedded devices on my wifi from the windows 10 box, so have no problems connecting to the HASS device. I can readily browse to the HASS device and access the device using http://black-pearl.local:8123/ or using the raw IP etc.

I used HACS to install pyscript onto the RPi3, went through the usual drill. Installed integration from HACS, added the integration under configuration tab, then rebooted etc.

I installed hass-pyscript-jupyter as per instructions. I updated the file pyscript.conf with HASS device IP (tried both raw IP and black-pearl.local). I included a long lived token in hass_token etc.

Getting WinError 1225 The computer refused the network connection.

At a loss why, if I can get to the same address from the browser on my pc, that the jupyter kernel for pyscript cannot connect.

Have tried recreating hass_token on the off chance of a block copy error. Still the same outcome. Connection refused.

@craigbarratt
Copy link
Owner

I'm not familiar with this set up. Could this be a case where you need to use the proxy settings?

@Bazmundi
Copy link
Author

Bazmundi commented Jan 15, 2022

I'm not familiar with this set up. Could this be a case where you need to use the proxy settings?

No need for proxy settings, I have never had to use proxy settings on any system or application on my network and have curl'd to my HASS from the PC with no problem (to use the HA API). So, that is over the same IP and port number etc.

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

No branches or pull requests

2 participants