Forum Discussion

JQUINONES82NB's avatar
JQUINONES82NB
Icon for Nimbostratus rankNimbostratus
Jun 11, 2019

failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR

 

Trying to setup SSL offloading for a web socket application and I'm receiving

 

websocket.js:118 WebSocket connection to 'wss://x.x.x.x:4000/socket.io/?EIO=3&transport=websocket' failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR

 

I have two vips. 80 and 443 with ssl offloading. There an option for websockets and I have applied

 

when HTTP_REQUEST {

if { [string tolower [HTTP::header Upgrade]] contains "websocket" } {

HTTP::disable

log local0. ">>WebSocket from [IP::client_addr]"

}

}

 

  • Hi,

     

    You mentioned an option for websockets. Are you referring to the websockets profile? If not then you may want to try applying that profile to your virtual servers. It has it's own "WebSocket Profile" section in the virtual server settings. If you haven't enabled that then it may be worth a try.

     

    K14754: BIG-IP support for the WebSocket protocol

    https://support.f5.com/csp/article/K14754