When developing at http://dugovic.mooo.com or http://dugovic.mooo.com:9663 after I create a study, I cannot play moves on the study. Similarly anything which requires a websocket encounters the same error.
I looked at github.com/ornicar/lila/wiki for more information.
The code I am testing with is github.com/WandererXII/lishogi/pull/357
Dev - Websocket is already in a closing or closed state
The site is down right now, but skytoad was hosting it earlier. You missed it.
I’m not sure about this error, but I was the one who signed in to your dev env during your stream. I think there was a similar issue faced by someone who posted it in lichess discord. Maybe you can check that out ( #how-to-setup-lila chalnnel)
Thanks for everyone's interest... I've just now set up a systemd service, which hopefully keeps my test server running.
can you give the source code of this
It’s basically github.com/WandererXII/lishogi just that he’s running his own Dev env. These are the changes that are relevant to his Dev env github.com/WandererXII/lishogi/pull/357/files . He has just made it public so others can view and test the changes he made.
@Toadofsky you may use these codes to set up Websocket
git clone github.com/WandererXII/lishogi.git
cd lishogi-ws
sbt run
I don’t think that’s what he means. Also you send commands not codes to set up the web socket. He has set up web socket, but seems to be facing an error in it as clearly mentioned in #1.
Thanks, someone mentioned csrf.origin settings in lila-ws so I'm taking a look at that
github.com/ornicar/lila/wiki/Lichess-Development-Onboarding#setup-websockets
This topic has been archived and can no longer be replied to.