stokkes / docker-sstvproxy

Docker image for vorghahn's Yet Another Proxy (https://github.com/vorghahn/sstvproxy) for Smooth Streams
9 stars 4 forks source link

Settings.html missing #3

Open PSJMcNeill opened 5 years ago

PSJMcNeill commented 5 years ago

Whenever I try to access the end point I get "Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."

Looking at the logs sstvproxy.py is looking for settings.html in the cache, I have checked in the container and it is missing in the cache. folder

Edit: Actually looking at the code it seems to be trying to create the settings.html, any idea why it doesn't seem to be able to do this?

danlo315 commented 5 years ago

I'm seeing the same issue. I can pull the EPG so I'm assuming it's not an authentication issue?

danlo315 commented 5 years ago

Figured out the solution. There seems to be an issue with sstvproxy.py. I had to do a global replace on ./cache/ to /config/cache/. The URLs are:

http://host:port/sstv/tvh.m3u8 http://host:port/epg.xml

PSJMcNeill commented 5 years ago

Not sure what you mean by global replace. You updated the folder structure within the container?

bigrup commented 4 years ago

I had the same problem on Synology NAS, I edited the file inside the container.

location is /app/sstvproxy/sstvProxy.py

using the following vi command

:1,$ s?./cache/?/app/cache/?

but I a still couldn't get it to load any channels in BRIDGE networking mode.

When I switched it to HOST networking, they started loading. But this also reverted to ./cache.

My advice would be to use HOST networking first and afterwards you might be able to use the above for further investigation if its still not working.

romprod commented 4 years ago

Figured out the solution. There seems to be an issue with sstvproxy.py. I had to do a global replace on ./cache/ to /config/cache/.

Thanks, this fixed it for me.