I'm running POW on OSX to serve RoR apps for development. Somedays ago, one of my apps broke returning 502 error. Page seems to be loading till it's bumping into timeout showing this message:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /index.html.
Reason: Error reading from remote server
I've checked logs and there are nothing - no Ruby code is execuded, so Rails are not even touched. I typed rails s in terminal and app is working without any issues.
Also I reverted by GIT my app to the stage before issue and even to very beginning and result is the same.
Other dev apps in *.dev domain are working fine.
Not sure where is the issue and where should I look for it. I would greatly appreciate any help.

It's resolved.
I had to see logs in ~/Library/Logs/Pow/app/ and found Ruby bug. http://pow.cx/manual.html#section_2.6
I've downgraded Ruby 2.2.2 -> 2.2.1 and it works. So I bet that was it, question for me is why it was working fine when running rails s.