react-native-chess icon indicating copy to clipboard operation
react-native-chess copied to clipboard

Wesocket return 1005 error

Open AlenToma opened this issue 5 years ago • 4 comments

The Websocket is returning 1005 for some reason on android and web.

Now I am trying to look at the API and saw section board. But as the URLs are not websocket I am unable to make the connection stay open.

If you have time to look for this, and help understanding how this work it will really be great.

AlenToma avatar Jul 29 '21 02:07 AlenToma

Hi @AlenToma,

Some stuff have probably changed on the Lichess API side since it's been too long. You'd probably need to reverse engineer the Lichess API traffic of the official Lichess app, and apply the same flow here. That's what I had done 4 years ago anyway.

I'm afraid I don't have any free time to investigate the problem. PRs are welcomed if you happen to fix it though.

halilb avatar Jul 29 '21 12:07 halilb

Hello,

Has anyone tested it on iOS?

mmatheusmmiguel avatar Aug 23 '21 17:08 mmatheusmmiguel

Hi @AlenToma,

Some stuff have probably changed on the Lichess API side since it's been too long. You'd probably need to reverse engineer the Lichess API traffic of the official Lichess app, and apply the same flow here. That's what I had done 4 years ago anyway.

I'm afraid I don't have any free time to investigate the problem. PRs are welcomed if you happen to fix it though.

Brother , You have done a fantastic job .But now plz make free time to update codes to make it again work . I need a chess project urgently ,I became happy to see it .But after running it , I suddenly felt sad ,may be API documentation has been changed there ,hope to see you make it again work . Thanq you

joy-mollick avatar Oct 06 '21 16:10 joy-mollick

Brother , You have done a fantastic job .But now plz make free time to update codes to make it again work . I need a chess project urgently ,I became happy to see it .But after running it , I suddenly felt sad ,may be API documentation has been changed there ,hope to see you make it again work . Thanq you

This project is so old and there were no APIs when I built it. So the job is migrating all the websocket stuff to Lichess API, which is basically almost rewriting most of the project.

And I'm afraid I still don't have any free time to invest in this project. I guess it's a good idea to archive the project since it's no longer working.

halilb avatar Oct 06 '21 17:10 halilb