Your network blocks the Lichess assets!

lichess.org
Donate

Local analysis bug

Hello all :)

Regularly after a match I can't use the local analysis feature.
When I toggle it on it instantly turn back to off.
Does anyone have this issue or know why it happens?

Thanks & Regards.

Hello all :) Regularly after a match I can't use the local analysis feature. When I toggle it on it instantly turn back to off. Does anyone have this issue or know why it happens? Thanks & Regards.

Hi @lastMove,

I experience the same problem after long use of the page. Closing the tab and reopening it fixes the problem here.

@revoof, if I experience the problem again, I will go through diagnostics and will paste the JSON info here. By the way, I experience this problem under Safari only, but maybe this is not representative as that is the explorer I usually employ.

Hi @lastMove, I experience the same problem after long use of the page. Closing the tab and reopening it fixes the problem here. @revoof, if I experience the problem again, I will go through diagnostics and will paste the JSON info here. By the way, I experience this problem under Safari only, but maybe this is not representative as that is the explorer I usually employ.

I have the same problem. When I activate local analysis after a game, the loading dots are running forever and never start to analyse the position. Thank you.

{"diagnosticsVersion":3,"navigator":{"userAgent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36","platform":"Win32","chrome":true,"is64Bit":true,"hardwareConcurrency":4},"wasm":{"WebAssembly":"object","SharedArrayBuffer":"function","Atomics":"object","mvp":true,"structuredCloning":"ok","sharedMem":true,"growableMem":"RangeError: WebAssembly.Memory.grow(): Unable to grow instance memory."},"pnacl":{"mimeType":false},"needsBoardHeightFix":false,"hasTouchEvents":false,"animate":"function","localStorage":{"client-eval-enabled":"1","analyse.ceval.watchdog3.pnacl":null,"analyse.ceval.max-depth":"24","analyse.ceval.multipv":"1","analyse.ceval.threads":null,"analyse.ceval.hash-size":null,"analyse.ceval.infinite":null,"ceval.pool.start":"1572461841482","ceval.fen":"start:0.1758521039696319","just-notified":null,"push-subscribed":null,"grid":"1","resize-nag":"1","speech.enabled":null,"sound-volume":null,"surl6":"socket.lichess.org:9027"},"serviceWorker":{"navigator":true,"permissions":true,"Notification":true,"PushManager":true,"fetch":"function","Notification.permission":"denied"}}

I have the same problem. When I activate local analysis after a game, the loading dots are running forever and never start to analyse the position. Thank you. {"diagnosticsVersion":3,"navigator":{"userAgent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36","platform":"Win32","chrome":true,"is64Bit":true,"hardwareConcurrency":4},"wasm":{"WebAssembly":"object","SharedArrayBuffer":"function","Atomics":"object","mvp":true,"structuredCloning":"ok","sharedMem":true,"growableMem":"RangeError: WebAssembly.Memory.grow(): Unable to grow instance memory."},"pnacl":{"mimeType":false},"needsBoardHeightFix":false,"hasTouchEvents":false,"animate":"function","localStorage":{"client-eval-enabled":"1","analyse.ceval.watchdog3.pnacl":null,"analyse.ceval.max-depth":"24","analyse.ceval.multipv":"1","analyse.ceval.threads":null,"analyse.ceval.hash-size":null,"analyse.ceval.infinite":null,"ceval.pool.start":"1572461841482","ceval.fen":"start:0.1758521039696319","just-notified":null,"push-subscribed":null,"grid":"1","resize-nag":"1","speech.enabled":null,"sound-volume":null,"surl6":"socket.lichess.org:9027"},"serviceWorker":{"navigator":true,"permissions":true,"Notification":true,"PushManager":true,"fetch":"function","Notification.permission":"denied"}}

This problem has been reported before. I have the same issue.
There is a workaround: If you click on a move and the analysis does not start, go to the menu with the three bars on the bottom right part of the game notation and change the number of lines you want to see. Then close the menu again. Watch the analysis for this move, then go to the next move you want to get analyzed. You must then repeat the whole procedure, just make any change in settings, e.g. switch back to the previous number of lines. Quite annoying but it works for me.

{"diagnosticsVersion":3,"navigator":{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.2 Safari/605.1.15","platform":"MacIntel","chrome":false,"is64Bit":true},"wasm":{"WebAssembly":"object","SharedArrayBuffer":"undefined","Atomics":"undefined","mvp":true,"structuredCloning":"ok"},"pnacl":{"mimeType":false},"needsBoardHeightFix":true,"hasTouchEvents":false,"animate":"undefined","localStorage":{"client-eval-enabled":"0","analyse.ceval.watchdog3.pnacl":null,"analyse.ceval.max-depth":"23","analyse.ceval.multipv":"2","analyse.ceval.threads":null,"analyse.ceval.hash-size":null,"analyse.ceval.infinite":"true","ceval.pool.start":"1572476587162","ceval.fen":"rn1qk2b/p1p4P/1p1ppn2/6Q1/3P4/2NB4/PPP2P1P/R1B1K2b w Q - 0 14","just-notified":"1572387175807","push-subscribed":null,"grid":"1557477984735","resize-nag":"1","speech.enabled":null,"sound-volume":null,"surl6":"socket.lichess.org:9029"},"serviceWorker":{"navigator":true,"permissions":false,"Notification":true,"PushManager":false,"fetch":"function","Notification.permission":"granted"}}

This problem has been reported before. I have the same issue. There is a workaround: If you click on a move and the analysis does not start, go to the menu with the three bars on the bottom right part of the game notation and change the number of lines you want to see. Then close the menu again. Watch the analysis for this move, then go to the next move you want to get analyzed. You must then repeat the whole procedure, just make any change in settings, e.g. switch back to the previous number of lines. Quite annoying but it works for me. {"diagnosticsVersion":3,"navigator":{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.2 Safari/605.1.15","platform":"MacIntel","chrome":false,"is64Bit":true},"wasm":{"WebAssembly":"object","SharedArrayBuffer":"undefined","Atomics":"undefined","mvp":true,"structuredCloning":"ok"},"pnacl":{"mimeType":false},"needsBoardHeightFix":true,"hasTouchEvents":false,"animate":"undefined","localStorage":{"client-eval-enabled":"0","analyse.ceval.watchdog3.pnacl":null,"analyse.ceval.max-depth":"23","analyse.ceval.multipv":"2","analyse.ceval.threads":null,"analyse.ceval.hash-size":null,"analyse.ceval.infinite":"true","ceval.pool.start":"1572476587162","ceval.fen":"rn1qk2b/p1p4P/1p1ppn2/6Q1/3P4/2NB4/PPP2P1P/R1B1K2b w Q - 0 14","just-notified":"1572387175807","push-subscribed":null,"grid":"1557477984735","resize-nag":"1","speech.enabled":null,"sound-volume":null,"surl6":"socket.lichess.org:9029"},"serviceWorker":{"navigator":true,"permissions":false,"Notification":true,"PushManager":false,"fetch":"function","Notification.permission":"granted"}}

It's happening to me right now:

{"diagnosticsVersion":3,"navigator":{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.2 Safari/605.1.15","platform":"MacIntel","chrome":false,"is64Bit":true},"wasm":{"WebAssembly":"object","SharedArrayBuffer":"undefined","Atomics":"undefined","mvp":true,"structuredCloning":"ok"},"pnacl":{"mimeType":false},"needsBoardHeightFix":true,"hasTouchEvents":false,"animate":"undefined","localStorage":{"client-eval-enabled":"0","analyse.ceval.watchdog3.pnacl":null,"analyse.ceval.max-depth":"21","analyse.ceval.multipv":"3","analyse.ceval.threads":null,"analyse.ceval.hash-size":null,"analyse.ceval.infinite":null,"ceval.pool.start":"1572528854260","ceval.fen":"r2q1rk1/1b1pbpp1/p1p2n1p/np2N3/4P3/2PPB3/PPB2PPP/RN1QR1K1 b - - 0 12","just-notified":null,"push-subscribed":null,"grid":"1","resize-nag":"1","speech.enabled":"0","sound-volume":null,"surl6":"socket.lichess.org:9027"},"serviceWorker":{"navigator":true,"permissions":false,"Notification":true,"PushManager":false,"fetch":"function","Notification.permission":"default"}}

It's happening to me right now: {"diagnosticsVersion":3,"navigator":{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.2 Safari/605.1.15","platform":"MacIntel","chrome":false,"is64Bit":true},"wasm":{"WebAssembly":"object","SharedArrayBuffer":"undefined","Atomics":"undefined","mvp":true,"structuredCloning":"ok"},"pnacl":{"mimeType":false},"needsBoardHeightFix":true,"hasTouchEvents":false,"animate":"undefined","localStorage":{"client-eval-enabled":"0","analyse.ceval.watchdog3.pnacl":null,"analyse.ceval.max-depth":"21","analyse.ceval.multipv":"3","analyse.ceval.threads":null,"analyse.ceval.hash-size":null,"analyse.ceval.infinite":null,"ceval.pool.start":"1572528854260","ceval.fen":"r2q1rk1/1b1pbpp1/p1p2n1p/np2N3/4P3/2PPB3/PPB2PPP/RN1QR1K1 b - - 0 12","just-notified":null,"push-subscribed":null,"grid":"1","resize-nag":"1","speech.enabled":"0","sound-volume":null,"surl6":"socket.lichess.org:9027"},"serviceWorker":{"navigator":true,"permissions":false,"Notification":true,"PushManager":false,"fetch":"function","Notification.permission":"default"}}

I very often am unable to run local analysis, getting this error in console:

[Error] Unrecognized Content-Security-Policy directive 'worker-src'.

[Error] Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. (black, line 0)

I very often am unable to run local analysis, getting this error in console: [Error] Unrecognized Content-Security-Policy directive 'worker-src'. [Error] Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. (black, line 0)

Good catch @aegialis : Safari does not support worker-src CSP so lichess is basically not working on Mac OS, iOS and Edge.

Good catch @aegialis : Safari does not support worker-src CSP so lichess is basically not working on Mac OS, iOS and Edge.

@jens-chessx lichens works quite well on macOS + Safari, that's my main usage.
@jens-chessx thanks a lot for the workaround (changing the settings is enough then it works for all the moves)

@jens-chessx lichens works quite well on macOS + Safari, that's my main usage. @jens-chessx thanks a lot for the workaround (changing the settings is enough then it works for all the moves)

CSP should not be the issue. If worker-src is not supported, Safari should fall back to script-src, which would allow running Stockfish.

CSP should not be the issue. If worker-src is not supported, Safari should fall back to script-src, which would allow running Stockfish.

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