Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kaustubhpa opened this issue Jul 23, 2024 · 0 comments

Comments

@kaustubhpa
Copy link

kaustubhpa commented Jul 23, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant