parse-community/ParseLiveQuery-Android

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

bughp opened this issue · 2 comments

bughp commented
  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

Hello bughp,

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

Thanks

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;