AppRTCDemo icon indicating copy to clipboard operation
AppRTCDemo copied to clipboard

AppRTCDemo Android POST 405 Method Not Allowed

Open ubuntutest opened this issue 8 years ago • 2 comments

I'm trying to use apprtc Android.

If I remove the https://appr.tc address and insert the IP address of my server I get the following error:

09-09 16:39:05.327 13569-19172/org.appspot.apprtc E/RoomRTCClient: Room connection error: Non-200 response to POST to URL: http://XX.XXX.XXX.XXX:8083/r/45048692 : HTTP/1.1 405 Method Not Allowed
09-09 16:39:05.327 13569-19172/org.appspot.apprtc E/WSRTCClient: Non-200 response to POST to URL: http://XX.XXX.XXX.XXX:8083/r/45048692 : HTTP/1.1 405 Method Not Allowed

So if I try to replace POST with GET, the error is as follows:

09-09 16: 44: 48,371 13569-24617 / org.appspot.apprtc E / WSRTCClient: Room JSON parsing error: org.json.JSONException: Value <! DOCTYPE of type java.lang.String can not be converted to JSONObject

Unfortunately I can not fix this, the information found on the web or are old or do not solve my problem

ubuntutest avatar Sep 09 '16 15:09 ubuntutest

I have same problem with you. Have you solved this problem?

SanBeHappy avatar Nov 15 '18 06:11 SanBeHappy

I'm sorry, I abandoned the project, there is no support

ubuntutest avatar Nov 15 '18 18:11 ubuntutest