pierrickrouxel / hassio-addon-transmission

Transmission addon for Hass.io
MIT License
17 stars 32 forks source link

can not access web ui if openvpn is activated #1

Open finstockpy opened 5 years ago

finstockpy commented 5 years ago

the web UI does not start if i activate the openvpn option. it starts OK if i set it to false

i could not find errors in the log

any ideas?

thanks

pierrickrouxel commented 5 years ago

Have you double check your configuration ? Transmission willnot work if your openvpn is unreachable for example. Can you send your log in a gist.

finstockpy commented 5 years ago

HI, Thanks!

in the gist below (had to google what a gist is...) you will find the system logs and the add on logs with both openvpn activated and not

I think that the add on is working properly and starts the services; i even got to use a magnet link that tells your IP and that is working with a non local IP when openvpn is on. But it's the web UI that fails to load

Keep in mind that if the vpn is off, it works just fine. Even with the error of the token in the system logs that i do not know what is it

https://gist.github.com/smarthomefain/5351069eff7c7a3f535ced1823fa6f7c

pierrickrouxel commented 5 years ago

Seeing this message:

parse error: Expected string key before ':' at line 1, column 4

i think you json config is wrong. Maybe a comma or a quote?

Spitfire1983 commented 5 years ago

I have the same thing, works until I turn on openvpn. I also have the same parse error line one column 4. Cool idea to try that magnet link. I also noticed that speed limit settings don't survive restarting the addon. I do get this error in the system logs. Could it be the new role based security? Sorry for potato grammar, I'm on mobile

18-10-28 10:03:37 WARNING (MainThread) [hassio.api.security] /addons/8cc98bc5_transmission/info no role for 8cc98bc5_transmission 18-10-28 10:03:37 ERROR (MainThread) [hassio.api.security] Invalid token for access /addons/8cc98bc5_transmission/info

finstockpy commented 5 years ago

you mean there is a config.json file that needs to be modified? where is it located? i could not find it

thanks!

El dom., 28 de oct. de 2018 06:54, Spitfire1983 notifications@github.com escribió:

I have the same thing, works until I turn on openvpn. I also have the same parse error line one column 4. Cool idea to try that magnet link.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pierrickrouxel/hassio-addon-transmission/issues/1#issuecomment-433690920, or mute the thread https://github.com/notifications/unsubscribe-auth/AqdEhU5p5SWJwzMnt6pm_CZ6qFAOiy_Lks5upX7ZgaJpZM4X9PL1 .