Skip to content

Socket onError Expected HTTP 101 response but was 403 Forbidden #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
chnaveen138 opened this issue Aug 20, 2018 · 0 comments
Open

Comments

@chnaveen138
Copy link

I am trying to sync Gradle files with 1.1.0 version and Gradle build was a success but it's giving me an error while launching activity(com.parse.AbstractController$1 already exists).

So I have tried to sync Gradle files with 1.0.6 and it's working correctly but it's giving me an error while subscribing parse query.

Error:
08-20 11:52:17.987 19517-19517/com.example.naveen.rideBuddy V/ParseLiveQueryClient: Socket stateChanged
08-20 11:52:18.167 19517-21045/com.example.naveen.rideBuddy E/ParseLiveQueryClient: Socket onError
java.net.ProtocolException: Expected HTTP 101 response but was '403 Forbidden'
at okhttp3.internal.ws.RealWebSocket.checkResponse(RealWebSocket.java:228)
at okhttp3.internal.ws.RealWebSocket$2.onResponse(RealWebSocket.java:195)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:153)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)

My parse configuration was like this:
Parse.initialize(new Parse.Configuration.Builder(getApplicationContext())
.applicationId("HERE")
.clientKey("KEY_HERE")
.server("URL_HERE").build());

Please help me here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant