You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Beast WebSocket Server running over SSL, with the server.crt, server.key, and dh2048.pem files properly loaded. I've also placed my React front-end app in a subdirectory and served it via HTTPS.
On my local machine and even from some remote machines, I was able to get the front-end loading successfully, and that connects to WSS.
However, on other remote machines, the front-end fails to load and keeps trying indefinitely. I attempted increasing the HTTPS socket timeout and other tweaks, but nothing helped.
As a workaround, I had to serve the front-end using Apache on the remote machine, and that establishes the WSS connection to the beast server.
This setup introduces unnecessary complexity—requiring two SSL certificates and increasing maintenance overhead.
What could I be missing? Why doesn’t the front-end consistently load across all remote machines?
Any advice would be greatly appreciated! If needed, I can share the relevant code for review if that will help. I believe this could be a common issue, and you may have some tips for me to fix this. Thank you so much, in advance!
Regards,
Tharma
The text was updated successfully, but these errors were encountered:
vtharmalingam
changed the title
Serving Front-end Webapp through Beast has not successful
Serving Front-end Webapp through Beast has not been successful
Jan 23, 2025
What type of error does ssl::stream::async_handshake return for clients that fail to connect?
Please provide more information, such as which step the connection reaches and what errors occur.
I have a Beast WebSocket Server running over SSL, with the
server.crt
,server.key
, anddh2048.pem
files properly loaded. I've also placed my React front-end app in a subdirectory and served it via HTTPS.On my local machine and even from some remote machines, I was able to get the front-end loading successfully, and that connects to WSS.
However, on other remote machines, the front-end fails to load and keeps trying indefinitely. I attempted increasing the HTTPS socket timeout and other tweaks, but nothing helped.
As a workaround, I had to serve the front-end using Apache on the remote machine, and that establishes the WSS connection to the beast server.
This setup introduces unnecessary complexity—requiring two SSL certificates and increasing maintenance overhead.
What could I be missing? Why doesn’t the front-end consistently load across all remote machines?
Any advice would be greatly appreciated! If needed, I can share the relevant code for review if that will help. I believe this could be a common issue, and you may have some tips for me to fix this. Thank you so much, in advance!
Regards,
Tharma
The text was updated successfully, but these errors were encountered: