-
Notifications
You must be signed in to change notification settings - Fork 10
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
https support #16
Comments
I kinda have the same question. Just set up https for HomeAssistant, modified the pyscript.conf file accordingly and now it seems like it is not working. |
Okay, so my working setup is:
I think what we are missing is a flag in the pyscript.conf to accept untrusted SSL then it would work without needing a valid cert locally. |
For my 2-cents, I was having the same trouble accessing the kernel from my LAN. The problem seemed to that
To fix it, I enabled port forwarding from my router to my HA instance of all ports above 9999. This rewrites local accesses to the device, but also exposes those ports externally. That might be what you want: I didn't, so I also added a firewall rule preventing WAN access to the same ports on the router. |
Thanks for the above solution. Would be great if there was a flag to ignore invalid cert for local https access? |
As @charlesbaynham wrote, accessing behind a reverse proxy doesn't work because the reverse proxy will not forward the randomized ports. Would it be possible to support this usage scenario? |
i use a self signed cert and even though I installed the cert locally python still rejects it, which is probably also why i can’t connect via jupyter. i see that this pr mentioned should allow me to just disable the check, but i don’t think the current released version includes this? the pyscript.conf doesn’t show this option and adding it doesn’t seem to do anything. can i directly install the latest version or is this getting another release? |
@zeratax for what it's worth, I was able to successfully manually apply the current master and use the new parameter from @acambitsis's changes in #21. Current master: https://github.com/craigbarratt/hass-pyscript-jupyter/tree/a30ad3cf0dd3f5af2b57a8b39a9fa11f501db1d4
|
Is there an easy way to make it work with https?
Without having to set up a reverse proxy...
The text was updated successfully, but these errors were encountered: