Skip to content

WebSocket immediate disconnect on vasil-dev network #230

@rhyslbw

Description

@rhyslbw

What Git revision are you using?

e3b53aa

input-output-hk/cardano-configurations@77ad26a

What operating system are you using, and which version?

  • Linux / Ubuntu
  • Linux / Other
  • OSX
  • Windows

Describe what the problem is?

Connections made to the Ogmios server on vasil-dev result in an immediate WebSocket close:

Server logs
cardano-node-ogmios_1  | {"severity":"Error","timestamp":"2022-06-23T15:17:04.942155567Z","thread":"49","message":{"WebSocket":{"exception":"MuxError MuxBearerClosed \"<socket: 18> closed when reading data, waiting on next header True\"","tag":"WebSocketUnknownException"}},"version":"v5.5.0"}
cardano-node-ogmios_1  | {"severity":"Info","timestamp":"2022-06-23T15:17:04.942280371Z","thread":"49","message":{"WebSocket":{"tag":"WebSocketConnectionEnded","userAgent":"User-Agent unknown"}},"version":"v5.5.0"}
To reproduce
  1. Start an instance of cardano-node-ogmios in the vasil-dev network.
  2. Change
    const context = await createInteractionContext(console.error, () => {}, { connection })
    to: const context = await createInteractionContext(console.error, (code) => { log(code) }, { connection }) (not sure why I didn't log the disconnect in the initial impl) 😶
  3. In clients/TypeScript run yarn repl:start --port __
  4. Observe the disconnect code 1006

What should be the expected behavior?

Repeat steps 1,2, and 4 with a testnet instance to observe correct behaviour of no disconnect, and the ability to issue commands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwon't fix / upstream issueAn issue which is either not covered by Ogmios, or requires changes upstream first.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions