aklein-1s commented on issue #37753: URL: https://github.com/apache/superset/issues/37753#issuecomment-3861033714
> Your main issue is a mismatch in the JWT secret between Superset and your websocket config. The value in superset_config_docker.py and .env-local is 40 characters, but in your superset-websocket/config.json it's only 32 characters. The JWT secret must be at least 32 bytes and must be identical everywhere—otherwise, the websocket will log "JWT not present" and the async-token cookie won't be set or validated correctly. Update your config.json to use the full secret: 453f8d0992c089699fb5d29c6f62098421356431 (the same as in your Superset config) and restart all services. This should resolve the JWT/cookie errors and allow the websocket connection to work as expected. I updated the secret to no share this inside my topic even if it is in development, but I miss to update the secret when I paste my config.json, so it is not the problem, I check again and I still have the error. > Recent changes require you to maintain your own config.json for the websocket service and mount it as a read-only volume—make sure this is set up as described above and in the https://github.com/apache/superset/pull/37624. I check the config.json on directly inside the websocket-container to verify if the file is correctly mounted and I see the correct secret. I also check with `docker compose logs -f superset` but there are really too much log generated permanently so I think it's on a loop so I don't know if it is normal. Example : ``` superset_app | 2026-02-06 15:13:09,631:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/CodeEditor', wd=32050, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,631:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Select', wd=31948, mask=IN_ISDIR|IN_OPEN, cookie=0, name='Select'> superset_app | 2026-02-06 15:13:09,631:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Select', wd=32051, mask=IN_ISDIR|IN_OPEN, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,631:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Select', wd=31948, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name='Select'> superset_app | 2026-02-06 15:13:09,631:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Select', wd=32051, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,631:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Grid', wd=31948, mask=IN_ISDIR|IN_OPEN, cookie=0, name='Grid'> superset_app | 2026-02-06 15:13:09,631:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Grid', wd=32052, mask=IN_ISDIR|IN_OPEN, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,631:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Grid', wd=31948, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name='Grid'> superset_app | 2026-02-06 15:13:09,631:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Grid', wd=32052, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,631:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Form', wd=31948, mask=IN_ISDIR|IN_OPEN, cookie=0, name='Form'> superset_app | 2026-02-06 15:13:09,631:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Form', wd=32053, mask=IN_ISDIR|IN_OPEN, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,631:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Form', wd=31948, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name='Form'> superset_app | 2026-02-06 15:13:09,632:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Form', wd=32053, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,632:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/ColorPicker', wd=31948, mask=IN_ISDIR|IN_OPEN, cookie=0, name='ColorPicker'> superset_app | 2026-02-06 15:13:09,632:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/ColorPicker', wd=32054, mask=IN_ISDIR|IN_OPEN, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,632:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/ColorPicker', wd=31948, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name='ColorPicker'> superset_app | 2026-02-06 15:13:09,632:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/ColorPicker', wd=32054, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,632:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/SafeMarkdown', wd=31948, mask=IN_ISDIR|IN_OPEN, cookie=0, name='SafeMarkdown'> superset_app | 2026-02-06 15:13:09,632:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/SafeMarkdown', wd=32055, mask=IN_ISDIR|IN_OPEN, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,632:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/SafeMarkdown', wd=31948, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name='SafeMarkdown'> superset_app | 2026-02-06 15:13:09,632:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/SafeMarkdown', wd=32055, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,632:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/ButtonGroup', wd=31948, mask=IN_ISDIR|IN_OPEN, cookie=0, name='ButtonGroup'> superset_app | 2026-02-06 15:13:09,632:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/ButtonGroup', wd=32056, mask=IN_ISDIR|IN_OPEN, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,632:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/ButtonGroup', wd=31948, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name='ButtonGroup'> superset_app | 2026-02-06 15:13:09,632:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/ButtonGroup', wd=32056, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,632:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/CachedLabel', wd=31948, mask=IN_ISDIR|IN_OPEN, cookie=0, name='CachedLabel'> superset_app | 2026-02-06 15:13:09,633:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/CachedLabel', wd=32057, mask=IN_ISDIR|IN_OPEN, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,633:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/CachedLabel', wd=31948, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name='CachedLabel'> superset_app | 2026-02-06 15:13:09,633:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/CachedLabel', wd=32057, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,633:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Flex', wd=31948, mask=IN_ISDIR|IN_OPEN, cookie=0, name='Flex'> superset_app | 2026-02-06 15:13:09,633:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Flex', wd=32058, mask=IN_ISDIR|IN_OPEN, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,633:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Flex', wd=31948, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name='Flex'> superset_app | 2026-02-06 15:13:09,633:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Flex', wd=32058, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,633:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/MetadataBar', wd=31948, mask=IN_ISDIR|IN_OPEN, cookie=0, name='MetadataBar'> superset_app | 2026-02-06 15:13:09,633:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/MetadataBar', wd=32059, mask=IN_ISDIR|IN_OPEN, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,633:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/MetadataBar', wd=31948, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name='MetadataBar'> superset_app | 2026-02-06 15:13:09,633:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/MetadataBar', wd=32059, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,633:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superse^Csuperset_app | 2026-02-06 15:13:09,633:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/WarningIconWithTooltip', wd=32060, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,634:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/TimezoneSelector', wd=31948, mask=IN_ISDIR|IN_OPEN, cookie=0, name='TimezoneSelector'> superset_app | 2026-02-06 15:13:09,634:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/TimezoneSelector', wd=32061, mask=IN_ISDIR|IN_OPEN, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,634:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/TimezoneSelector', wd=31948, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name='TimezoneSelector'> superset_app | 2026-02-06 15:13:09,634:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/TimezoneSelector', wd=32061, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,634:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Skeleton', wd=31948, mask=IN_ISDIR|IN_OPEN, cookie=0, name='Skeleton'> superset_app | 2026-02-06 15:13:09,634:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Skeleton', wd=32062, mask=IN_ISDIR|IN_OPEN, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,634:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Skeleton', wd=31948, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name='Skeleton'> superset_app | 2026-02-06 15:13:09,634:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Skeleton', wd=32062, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,634:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/IconButton', wd=31948, mask=IN_ISDIR|IN_OPEN, cookie=0, name='IconButton'> superset_app | 2026-02-06 15:13:09,634:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/IconButton', wd=32063, mask=IN_ISDIR|IN_OPEN, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,634:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/IconButton', wd=31948, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name='IconButton'> superset_app | 2026-02-06 15:13:09,634:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/IconButton', wd=32063, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,634:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/TableView', wd=31948, mask=IN_ISDIR|IN_OPEN, cookie=0, name='TableView'> superset_app | 2026-02-06 15:13:09,634:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/TableView', wd=32064, mask=IN_ISDIR|IN_OPEN, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,635:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/TableView', wd=31948, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name='TableView'> superset_app | 2026-02-06 15:13:09,635:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/TableView', wd=32064, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,635:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Slider', wd=31948, mask=IN_ISDIR|IN_OPEN, cookie=0, name='Slider'> superset_app | 2026-02-06 15:13:09,635:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Slider', wd=32065, mask=IN_ISDIR|IN_OPEN, cookie=0, name=''> superset_app | 2026-02-06 15:13:09,635:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Slider', wd=31948, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name='Slider'> superset_app | 2026-02-06 15:13:09,635:DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'/app/superset-frontend/packages/superset-ui-core/src/components/Slider', wd=32065, mask=IN_CLOSE_NOWRITE|IN_ISDIR, cookie=0, name=''> ``` Any other idea ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
