Project

General

Profile

Actions

Feature #20988

open

Diagnostics should test that websockets is functional

Added by Peter Amstutz 7 months ago. Updated 7 months 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 7 months ago

  • Description updated (diff)
Actions #2

Updated by Tom Clegg 7 months 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