diff --git a/invokeai/frontend/web/src/services/events/middleware.ts b/invokeai/frontend/web/src/services/events/middleware.ts index dab2e756f3..65652ae7ee 100644 --- a/invokeai/frontend/web/src/services/events/middleware.ts +++ b/invokeai/frontend/web/src/services/events/middleware.ts @@ -46,6 +46,8 @@ export const socketMiddleware = () => { // TODO: handle providing jwt to socket.io socketOptions.auth = { token: OpenAPI.TOKEN }; } + + socketOptions.transports = ['websocket', 'polling']; } const socket: Socket = io(