We are using autobahn android library in android app. Some of our customer has complained that the android app is not working. We are suspecting that the problem is due to proxy/firewall in their network. We checked with some of our customer and we have seen that they are using app in wifi network which is under firewall or proxy.
We have seen two types of request:
- Websocket request is not having “Upgrade:websocket” in their http header. These request is failing with 404 http error.
- Websocket request is having “Upgrade:websocket” returned with 101 http response but still we are not getting any request from client. It seems connection is not working.
Please suggest what could be possible reason for the above issue and how could we avoid. I think we need to have fallback to http in first case but how can we decide fallback for second case. Please help.