nicolasff / webdis

A Redis HTTP interface with JSON output
https://webd.is
BSD 2-Clause "Simplified" License
2.84k stars 304 forks source link

Hixie-76 or RFC6455 - and Android. #104

Open MarcoDisco opened 10 years ago

MarcoDisco commented 10 years ago

Hi, Like the previous issue poster, I am trying to connect to webdis from an android websockets library (java-websockets). Browser/Javascript based testing with Webdis works fine, but I am having little success from any of the available opensource android websocket libraries.

I have tried androidasync, autobahn, jwebsocket, and finished with java-websockets because it implements various websocket connection protocols.

Your documentation for Webdis states that it uses the Hixie-76 protocol, so I spent a lot of time testing based on that detail (but no result). Looking at your websocket.c code, you comment "This code uses the WebSocket specification from RFC 6455". But, even when testing using the appropriate protocol from java-websockets (draft_17) I still cannot connect to webdis.

Can you clarify what protocol is currently implemented by webdis, and if possible, offer any assistance on the issues that I am having connecting from java websocket libraries.

Many Thanks, Mark