dream icon indicating copy to clipboard operation
dream copied to clipboard

Playground site is not running (fix recurrent crash)

Open tlavoie opened this issue 3 years ago • 5 comments

More of a general issue than anything code-related, but the dream.as site does not appear to have a web server running (or accessible) currently. A check via shodan.io shows only port 22 (SSH).

tlavoie avatar May 20 '22 16:05 tlavoie

I've since manually restarted the server several times. There is some bug that causes it to crash every now and then, which needs to be fixed. I am turning this issue into a reminder about that, as I would also like to stop checking it manually so often.

aantron avatar Apr 16 '23 06:04 aantron

@aantron do you need any help with this? How deep is this bug? Is this playground open-sourced? Even with bug existing, we can solve manual restarting problem with typical devops practices :)

prepor avatar Aug 29 '23 19:08 prepor

I could definitely use help with this due to time constraints! I realize your question was in August, but replying for the sake of clarity :)

The playground is open source here. It's running in a DO droplet. I could either give access to that droplet, or it could be run in another droplet. I doubt the bug is deep, but I just don't have time to track it down. I think I would prefer to find the bug rather than apply devops practices without debugging first, though, no doubt, devops improvements are needed regardless of any bugs :)

aantron avatar Nov 02 '23 13:11 aantron

This appears to be an instancee of #230, so caused by an upstream problem in websocket/af. I don't want to debug it too much immediately, because the Eio version of websocket/af might not have this problem, and we are likely to port to it soon. The devops way might be the better way in the meantime.

aantron avatar Dec 01 '23 06:12 aantron

In fact, it appears there is a new infinite loop in recent websocket/af, analogous to #230, but now in Websocketaf.Wsd.close. Still looking into it.

aantron avatar Dec 01 '23 08:12 aantron