Skip to content

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

@chnaveen138

Description

@chnaveen138

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions