400 Bad request when opening socket over 3g or 4g

162 views
Skip to first unread message

Antonio Pachón

unread,
Feb 23, 2015, 7:47:52 AM2/23/15
to goodow-...@googlegroups.com
When trying to open the socket with WiFi the handshake is correct

 write(169): {GET /eventbus/websocket HTTP/1.1
Connection: Upgrade
 Sec-WebSocket-Key: tjam/gBfo47mPJ8IJp2tfw==
Sec-WebSocket-Version: 13
 Upgrade: websocket

 Response OK {HTTP/1.1 101 Switching Protocols
 Upgrade: websocket
 Connection: Upgrade
Sec-WebSocket-Accept: 84+zTqKRriEXHEFcApLq3lkO5pM=

However when switching to 3g the response is handshake refused
 {HTTP/1.1 400 Bad Request

Any ideas?

Thanks

田传武

unread,
Feb 23, 2015, 10:12:51 AM2/23/15
to Antonio Pachón, goodow-...@googlegroups.com
Does http://realtimeplayground.goodow.com/ work for 3G on your phone's browser?
--
You received this message because you are subscribed to the Google Groups "Goodow Realtime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to goodow-realti...@googlegroups.com.
To post to this group, send email to goodow-...@googlegroups.com.
Visit this group at http://groups.google.com/group/goodow-realtime.
To view this discussion on the web visit https://groups.google.com/d/msgid/goodow-realtime/1dca98c5-3e5a-4ec8-bf5b-8000dee0cc39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Antonio Pachón

unread,
Feb 23, 2015, 12:09:44 PM2/23/15
to goodow-...@googlegroups.com
400 "Can upgrade only to websocket"

I still can´t understad why the same app on iOS using the iOS version of this library works over 3g.

田传武

unread,
Feb 23, 2015, 9:22:49 PM2/23/15
to goodow-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages