parse-community / ParseLiveQuery-Android

Parse LiveQuery client for Android.
Other
84 stars 32 forks source link

java.net.ProtocolException: Expected HTTP 101 response but was '403 Forbidden' #77

Open bughp opened 6 years ago

bughp commented 6 years ago
  1. git clone https://github.com/parse-community/parse-server-example.git
  2. compile 'com.parse:parse-livequery-android:1.0.4' for Android Studio
mmimeault commented 6 years ago

Hello bughp,

Could you provide more information on your problem. Do you have a 403 when trying to download the library?

Thanks

venkataramanab commented 6 years ago

If you are using parse-server as a proxy with Nginx you must place these lines in nginx config.

proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;