lichess-org / external-engine

Using engines running outside of the browser on https://lichess.org/analysis
GNU General Public License v3.0
76 stars 22 forks source link

No authorization dialog showing #21

Closed MushroomMaula closed 1 year ago

MushroomMaula commented 1 year ago

Hey, I have followed your installation instructions for Ubuntu, however when I open the link there is no dialog asking for authorization. Are there any settings in Lichess that need to be changed? I am using Firefox 105.0 together with Ubuntu 20.04.5 if that helps, remote-uci version is 1.0.0.

Running the tool from the command line produces the following output:

~ remote-uci --engine stockfish        
[2022-10-11T12:09:55Z INFO ] Starting engine "stockfish" ...
[2022-10-11T12:09:55Z INFO ] 0 << uci
[2022-10-11T12:09:56Z WARN ] 0 >> Stockfish 15 by the Stockfish developers (see AUTHORS file)
[2022-10-11T12:09:56Z INFO ] 0 >> id name Stockfish 15
[2022-10-11T12:09:56Z INFO ] 0 >> id author the Stockfish developers (see AUTHORS file)
[2022-10-11T12:09:56Z WARN ] 0 >> 
[2022-10-11T12:09:56Z INFO ] 0 >> option name Debug Log File type string default 
[2022-10-11T12:09:56Z INFO ] 0 >> option name Threads type spin default 1 min 1 max 512
[2022-10-11T12:09:56Z INFO ] 0 >> option name Hash type spin default 16 min 1 max 33554432
[2022-10-11T12:09:56Z INFO ] 0 >> option name Clear Hash type button
[2022-10-11T12:09:56Z INFO ] 0 >> option name Ponder type check default false
[2022-10-11T12:09:56Z INFO ] 0 >> option name MultiPV type spin default 1 min 1 max 500
[2022-10-11T12:09:56Z INFO ] 0 >> option name Skill Level type spin default 20 min 0 max 20
[2022-10-11T12:09:56Z INFO ] 0 >> option name Move Overhead type spin default 10 min 0 max 5000
[2022-10-11T12:09:56Z INFO ] 0 >> option name Slow Mover type spin default 100 min 10 max 1000
[2022-10-11T12:09:56Z INFO ] 0 >> option name nodestime type spin default 0 min 0 max 10000
[2022-10-11T12:09:56Z INFO ] 0 >> option name UCI_Chess960 type check default false
[2022-10-11T12:09:56Z INFO ] 0 >> option name UCI_AnalyseMode type check default false
[2022-10-11T12:09:56Z INFO ] 0 >> option name UCI_LimitStrength type check default false
[2022-10-11T12:09:56Z INFO ] 0 >> option name UCI_Elo type spin default 1350 min 1350 max 2850
[2022-10-11T12:09:56Z INFO ] 0 >> option name UCI_ShowWDL type check default false
[2022-10-11T12:09:56Z INFO ] 0 >> option name SyzygyPath type string default <empty>
[2022-10-11T12:09:56Z INFO ] 0 >> option name SyzygyProbeDepth type spin default 1 min 1 max 100
[2022-10-11T12:09:56Z INFO ] 0 >> option name Syzygy50MoveRule type check default true
[2022-10-11T12:09:56Z INFO ] 0 >> option name SyzygyProbeLimit type spin default 7 min 0 max 7
[2022-10-11T12:09:56Z INFO ] 0 >> option name Use NNUE type check default true
[2022-10-11T12:09:56Z INFO ] 0 >> option name EvalFile type string default nn-6877cd24400e.nnue
[2022-10-11T12:09:56Z INFO ] 0 >> uciok
https://lichess.org/analysis/external?url=ws%3A%2F%2F127.0.0.1%3A9670%2Fsocket&secret=f628a6940430f4e1ca89c1643f617b06&name=Stockfish+15&maxThreads=12&maxHash=8192
ornicar commented 1 year ago

The protocol is being redesigned (https://lichess.org/api#tag/External-engine-(draft)) and the previous alpha preview has been canceled.

MushroomMaula commented 1 year ago

I see, thanks for the quick response. I think it would be helpful if a disclaimer, that this being reworked, was added to the README.

niklasf commented 1 year ago

It's still unpolished, but now in a working state, again.

MushroomMaula commented 1 year ago

Thanks for the update, works great for me. Sometimes lichess seems to think that connection is lost, not sure if that's just on the frontend or because stockfish is evaluating positions.