Skip to content

[BUG] Websocket connection initiated by front end even if not enabled in back end #3939

Description

@andredfb

Describe your context
Websockt connections are created even if unused.

dash                 4.4.0

Tested in Edge and Firefox.

Describe the bug

I am not sure if this is intended behaviour or a bug. The Dash front end attempts to established a WS connection even if websocket_callbacks=False is set in dash.Dash and no callbacks are set to use websockets.

Expected behavior
It would be preferable that no connection is attempted unless the app is configured to actually use websockets.

Metadata

Metadata

Assignees

Labels

P2considered for next cyclebugsomething brokensize: 1

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions