Skip to content

Persistent "invalid opcode 7" and "RSV1 must be clear" errors #1238

@martin-langhoff

Description

@martin-langhoff

A low traffic site I code and maintain is seeing persistent "invalid opcode 7" and "RSV1 must be clear".

Following #919 and #1140, my initial diagnosis was that some client is buggy and not handling the fact that we do not support, or have disabled, the per-message-deflate extension.

Here is the interesting thing. I have added an adequate error handler, and I have fiddled with the perMessageDeflate option. Even with perMessageDeflate: true, the problem persists.

Also of note:

  • Using CloudFlare
  • Node v6.11.1
  • ws@3.3.0

How could I debug/diagnose this further? Is there a reasonable way of getting at the UA string, to see whether we can blame it on buggy UA?

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