iOS App Doesn't Work with Reverse Proxy

I have seen a few posts about this but no real answers. I have reverse proxy setup and everything works fine, except specifically for the iOS Home Assistant app (safari web browser works fine). I get the following error:

WebSocket
Error: Custom response validation failed with error: 500, 500 Internal Server Error
Server got itself in trouble.

Anyone know how to solve this? It’s very frustrating and I’m not sure why the iOS HA app is the only thing that can’t connect.

iOS companion app works perfectly fine with reverse proxy. So I’d look at your proxy configuration or how did you configured your app to work with proxy connection. But no details here, so hard to gues…

Several things could be going wrong. I have two IOS phones that connect with an nginx proxy so can confirm it works.

First check the companion app settings and make sure the external url is set correctly, including proper use of http:// or https:// depending on how your proxy is setup.

If that doesnt work, try providing some additional details on your proxy, and the config you have setup for it. Home Assistant uses websockets to connect to the app which require extra config in most proxy settings. If websockets are mis-configured, you might still get the lovelace dashboard on another machine through the proxy, but not have the app or websocket dependent integrations work.