tpavlek / Jeopardy

A PHP/Javascript implementation of the Jeopardy! game
41 stars 15 forks source link

Getting autobahn to work #19

Closed marshalyung closed 1 year ago

marshalyung commented 6 years ago

Hi,

I currently have the following configuration on my Apache:

<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html/client
    ProxyPass /ws ws://52.221.238.120:9001/
    ProxyPassReverse /ws ws://52.221.238.120:9001/

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

When I try to access the site over web browser, I get the follow error in my developer console: WebSocket connection to 'ws://52.221.238.120/ws' failed: Error during WebSocket handshake: Unexpected response code: 503

Would appreciate your advise on what I could be missing here. Thanks!

kannes commented 3 years ago

Check your server log as well as crossbar's.