Project

General

Profile

Actions

Feature #20988

open

Diagnostics should test that websockets is functional

Added by Peter Amstutz about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Deployment
Target version:
Story points:
-

Description

Diagnostics currently checks that there is a basic HTTPS endpoint for websockets but does not actually set up a websockets session.

As a result, if websockets is configured for a valid HTTP service but not actually the websockets server, the diagnostics won't notice.

Actions #1

Updated by Peter Amstutz about 1 year ago

  • Description updated (diff)
Actions #2

Updated by Tom Clegg about 1 year ago

source:lib/diagnostics/cmd.go

        // TODO: detect routing errors here, like finding wb2 at the                                                                                            
        // wb1 address.                                                                                                                                         
...
                        if strings.HasPrefix(u.Scheme, "ws") {
                                // We can do a real websocket test elsewhere,                                                                                   
                                // but for now we'll just check the https                                                                                       
                                // connection.                                                                                                                  
Actions

Also available in: Atom PDF