Skip to content

"No compatible transport found" error breaks retry #1113

@vpzomtrrfrt

Description

@vpzomtrrfrt

Describe the bug

Automatic reconnecting doesn't seem to happen when the connection fails with the "No compatible transport found." error

Logs

[vite] connecting... client:733:9
[vite] connected. client:827:12
XHRGET
https://xmpptest.enzyme.home.vpzom.click/.well-known/host-meta
CORS Missing Allow Origin

GET
http://localhost:5173/favicon.ico
[HTTP/1.1 404 Not Found 0ms]

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://xmpptest.enzyme.home.vpzom.click/.well-known/host-meta. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 502.
Error: No compatible transport found.
    connect index.js:69
    start index.js:220
    createXMPPClientForAccount index.tsx:1260
    loadAccounts index.tsx:970
    Preact 2
    loadAccounts index.tsx:962
    App index.tsx:1171
    Preact 10
    <anonymous> index.tsx:1207
<anonymous code>:1:145535
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Stack in the worker:parseSourceMapInput@resource://devtools/client/shared/vendor/source-map/lib/util.js:163:15
_factory@resource://devtools/client/shared/vendor/source-map/lib/source-map-consumer.js:1066:22
SourceMapConsumer@resource://devtools/client/shared/vendor/source-map/lib/source-map-consumer.js:26:12
_fetch@resource://devtools/client/shared/source-map-loader/utils/fetchSourceMap.js:83:19

Resource URL: http://localhost:5173/%3Canonymous%20code%3E
Source Map URL: installHook.js.map

Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions