runScript.html not connecting to server
flingwing opened this issue · 7 comments
The web interface indicates:
Not connected to server
then eventually displays (when using chrome, not observed in safari):
Connection to server lost. Reload the page to attempt to reconnect.
The download new content button doesn't respond.
Another observation is when the redditUserScraper is running in the background and you click on the 'download new content' button it disappears.
It sounds like the web socket is having trouble connecting. Do you have some sort of DNS, proxy server, or something that would change the address? Or do you connect directly to the server via e.g. https://192.168.0.2:8888
?
Do you have any script blockers running?
And what does the server say when you visit that page? Any mention of rejecting a connection?
Do you have HTTPS disabled?
no dns, proxy or anything running interference. I can connect directly to the server via localhost:8888 (and the page launches when the server is started). I have set up authentication. Https is disabled.
By Imgur authentication do you mean the api settings? If so, yes.
Ah, I must've broken websocket HTTP support when moving everything to HTTPS. I'll see if I can fix that via templatizing the websocket connections or something.
I suppose I could test that for you by switching over to https correct?
Set flag to True, and I was able to connect to server and run script but this was posted in the console:
Running downloader. Output: output Downloader encountered a problem. Check your server output.
`Output: output
objc[29889]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called.
objc[29889]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
Lost connection to subprocess!
`
and python crashed.