Skip to content

Websocket connection setup takes a relatively long time - is this normal? #448

@kaustubhpa

Description

@kaustubhpa

I am using websocketd Version 0.2.12

I have setup command line arguments as below -
--port=8443 --ssl --sslcert="abc.com.cer" --sslkey="abc.com.key" --devconsole C:\xxx\websocketd\socketagent.exe

Host file is as below
127.0.0.1 abc.com

When I browse URL as https://abc:8443; it works. However it takes 30-35 seconds to get a reply. Below are logs

I am not sure why it takes 30-35 seconds to respond

Tue, 23 Jul 2024 16:49:17 -0500 | ACCESS | http | url:'https://abc.com:8443/' | DEVCONSOLE
Tue, 23 Jul 2024 16:49:17 -0500 | ACCESS | http | url:'https://abc.com:8443/favicon.ico' | DEVCONSOLE
Tue, 23 Jul 2024 16:49:19 -0500 | ACCESS | session | url:'https://abc.com:8443/' id:'1721771359358183700' remote:'127.0.0.1' command:'C:\xxx\websocketd\ysi.stellar.socketagent.exe' origin:'https://abc.com:8443' | CONNECT
Tue, 23 Jul 2024 16:49:53 -0500 | ACCESS | session | url:'https://abc.com:8443/' id:'1721771359358183700' remote:'127.0.0.1' command:'C:\xxx\websocketd\ysi.stellar.socketagent.exe' origin:'https://abc.com:8443' pid:'8888' | DISCONNECT
Tue, 23 Jul 2024 17:07:21 -0500 | ACCESS | session | url:'https://abc.com:8443/' id:'1721772441270822700' remote:'127.0.0.1' command:'C:\xxx\websocketd\ysi.stellar.socketagent.exe' origin:'https://abc.com:8443' | CONNECT
Tue, 23 Jul 2024 17:07:55 -0500 | ACCESS | session | url:'https://abc.com:8443/' id:'1721772441270822700' remote:'127.0.0.1' command:'C:\xxx\websocketd\ysi.stellar.socketagent.exe' origin:'https://abc.com:8443' pid:'6416' | DISCONNECT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions