502 Proxy Error Socket.io
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Unexpected response code: 502 error when using socket.io with AppFog up vote 15 down vote favorite 7 The error When the user opens http://sync.aws.af.cm/, the Google Chrome JavaScript Console shows (within a few seconds): Unexpected response code: 502 error The app should remember the contents of the text area even after the user refreshes the page. The app works locally, but not when I upload it to AppFog, and I suspect the problem is the 502 error. Do you know what might cause this error in this case? What I've tried I tried changing the script src=
Support Search GitHub This repository Watch 169 Star 3,715 Fork 446 sharelatex/sharelatex Code Issues 107 Pull requests 5 Projects 0 Wiki Pulse Graphs New issue Apache as Reverse Proxy: websocket connection invalid #363 Closed moschlar opened this Issue Oct 30, http://stackoverflow.com/questions/12569451/unexpected-response-code-502-error-when-using-socket-io-with-appfog 2015 · 4 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 3 participants moschlar commented Oct 30, 2015 I'm running ShareLaTeX behind an Apache 2.4 Reverse Proxy, but the WebSocket connection just doesn't work, https://github.com/sharelatex/sharelatex/issues/363 the editor always falls back to xhr-polling. Now I know that the ShareLaTeX developers themselves don't use Apache, but maybe they can shed some light on the issue since at least the warning "websocket connection invalid" comes from the ShareLaTeX app. 😉 Apache Config: ProxyPreserveHost On ProxyPass /socket.io/ http://localhost:3026/socket.io/ ProxyPassReverse /socket.io/ http://localhost:3026/socket.io/ ProxyPass /socket.io/1/websocket/ ws://localhost:3026/socket.io/1/websocket/ ProxyPassReverse /socket.io/1/websocket/ ws://localhost:3026/socket.io/1/websocket/ ProxyPass / http://localhost:3000/ ProxyPassReverse / http://localhost:3000/ Alias "/stylesheets" "/var/www/sharelatex/web/public/stylesheets" Alias "/minjs" "/var/www/sharelatex/web/public/minjs" Alias "/img" "/var/www/sharelatex/web/public/img" Browser Console: GET https://
/ Sign up EN English (EN) Русский (RU) Español (ES) Français (FR) Deutsch (DE) http://support.ajenti.org/topics/435-apache-24x-revese-proxy-error-500-and-502/ Nederlands (NL) Íslenska (IS) Eesti (ET) Қазақша (KK) Українська (UK) Dansk (DA) Català (CA) Polski (PL) Sign in / Sign up General Questions 0 Under review Apache 2.4.x revese proxy error 500 and 502 Xarkam 2 years ago • updated 2 years ago • 502 proxy 12 Hello, I configured a wirtual host for ajenti with proxypass reverse.But I have one error 500 and 502 error's.This is my apache configuration