Skip to content

Websocket input returns an error without ability to debug further #24

@spinscale

Description

@spinscale

Logstash information:

Please include the following information:

  1. Logstash version (e.g. bin/logstash --version): 7.13.3
  2. Logstash installation source (e.g. built from source, with a package manager: DEB/RPM, expanded from tar or zip archive, docker): tar
  3. How is Logstash being run (e.g. as a service/service manager: systemd, upstart, etc. Via command line, docker/kubernetes): CLI

Description of the problem including expected versus actual behavior:

The websocket input returns an error message against a wss endpoint, that cannot be further debugged.

Steps to reproduce:

input {
  websocket {
    url => "wss://certstream.calidog.io/"    codec => "json_lines"
  }
}

output {
   stdout {
     codec => "rubydebug"
   }
}

Run this, the following appears in the log

[2021-07-21T15:52:41,003][WARN ][logstash.inputs.websocket][main][2101513c91f0271d0056eade918b8a849c8573e6fe681ce5ea226659f79a9eca] websocket input client threw exception, restarting {:exception=>#<OpenSSL::SSL::SSLError: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)>}

The stream can be read with tool like websocat

websocat -1 -E wss://certstream.calidog.io/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions