Open PrasannaSM opened 4 years ago
@PrasannaSM do you use the var "--server-url VAL, -s VAL"?
Check your firewall or proxy, I had the same error and change the value of variable for "http://myip:3000".
Same issue. Rocket chat sits behind a reverse nginx proxy and it will give this Asteroid connection timeout.
I found my issue. The app.js doesn't like the SSL cert it's trying to connect to. In my case the chain was broken according to Qualys SSL labs. Qualys reported the chain is incomplete. I followed the nginx documentation on how it suppose to be setup. Once I had the chained cert in my nginx config the loadtest code was able to connect to the server just fine.
I ran:
node message_listener/app.js 0 -i 0.1 -j 0.05 -n 10 -u 100 -w 5 -s server_url
and got timeout error after few send/receive messages
Any idea to overcome this isssue?