vincenzosuraci / hassio_ngrok

This custom-component allows to create automatically a ngrok tunnel and keep it open. So, if you are under a CGNAT (no way to have a public IPv4), this custom-component helps to get access to the Home Assistant web interface.
Apache License 2.0
16 stars 9 forks source link

I/O inside the event loop #6

Open feanche opened 4 years ago

feanche commented 4 years ago

Detected I/O inside the event loop. ngrok doing I/O at custom_components/ngrok/init.py, line 227: resource = urllib.request.urlopen(url)

bkhrupa commented 4 years ago

I have the same problem :(

Home Assistant 0.110.4

WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for ngrok doing I/O at custom_components/ngrok/__init__.py, line 234: resource = urllib.request.urlopen(url)
Cyrildu31 commented 4 years ago

Exactly same problem. I'll try to fix it. I see also

Logger: ngrok_init Source: custom_components/ngrok/init.py:264 First occurred: 21:37:04 (1 occurrences) Last logged: 21:37:04

<urlopen error [Errno 111] Connection refused>