lichess.org
Donate

DGT Board cannot connect "No such Token" error (via Browser, not App)

What does lichess.org/account/oauth/token look like?

Is it "full" of tokens? Asking since only related change I am aware of is github.com/lichess-org/lila/issues/14946 , so maybe one app you have used is generating tons of tokens and the old token was rotated/revoked despite the dgt play page indicating otherwise? Not sure, but if gives you something to experiment with if you want to. And you can post any relevant findings to github in your issue.

If you see a " DGT board automatic token " there, you could try to revoke it and generate a new one. ( and if you don't see one, that would also be interesting, since the Configure page said "You have an OAuth token suitable for DGT play."
@TBest

This is what the Token page looks like for me, I did not know it existed! Thanks for this tip :-)

----------------------------------------------------------------------------------------------------------------------
You can make OAuth requests without going through the authorization code flow.

Instead, generate a personal access token that you can directly use in API requests.

Guard these tokens carefully! They are like passwords. The advantage to using tokens over putting your password into a script is that tokens can be revoked, and you can generate lots of them.

Here is a personal token app example and the API documentation.

DGT board automatic token
Play games with board API, Read incoming challenges, Read preferences, Send, accept and reject challenges, Send private messages to other players Created 9 months ago
Last used 2 days ago
----------------------------------------------------------------------------------------------------------------------

So the Token was there and I deleted it and re-enabled it through the "Configure" page, but no success unfortunately.
I see I can also Create new Token, not sure what the "External Play" Tokens can do, do you know?

Also, you have a board (I assume), are you able to use it?
Ah that's a shame, I was hoping that would work. Maybe not so simple then.

I don't have a board, no. "External Play" means using the API to play lichess.org/api#tag/Board , so anyone can make their own Client to play on Lichess. Like the Whitepawn app ( I think anyway, never used the app after all )
@TBest That makes sense. You suggestion was very good and I will post it in the Ticket I created, in case they see it as something to try. Thanks for your hjelp :-)

EDIT: I see on the DGT page that the WebSocket URL is ws://localhost:1982/api/v1.0 and I saw from the API page that the API is now 2.0. Maybe this is connected somehow?
So, some updates. I asked in the Discord and one of the devs is looking into it. I have my fingers crossed that they will find a solution for us :D
Indeed, generally when we restart the server (usually during non-peak hours) we deploy the latest build.
@MancombSteepwood said in #14:
> EDIT: I see on the DGT page that the WebSocket URL is ws://localhost:1982/api/v1.0 and I saw from the API page that the API is now 2.0. Maybe this is connected somehow?

These are unrelated. The first one refers to a DGT LiveChess API. Second one is a Lichess API.
@bufferunderrun said in #18:
> These are unrelated. The first one refers to a DGT LiveChess API. Second one is a Lichess API.

I see, because I was wondering if something was left out during an upgrade or something, but as you pointed out this is not the case. Show how much I know lol

Server restart is probably coming up soon, let’s hope the fix that was applied did the work! Must say that I am very happy with the response I got, the devs are very nice
> Server restart is probably coming up soon

I have bad news, and I have good news...

The "bad" news - we didn't get a server restart this morning it seems...
https://i.imgur.com/AYZtnxR.png

... but the good news is that thibault has found an opportunity to deliver a fix for this without server restart!!
https://i.imgur.com/a0tDguo.png

The sourcery is strong with that one! :)

Chess on!

Edit,
inserting link where screenshots are from -> lichess.org/source

This topic has been archived and can no longer be replied to.