websocket - Websockify base64: 'False' -
when i'm starting websockify python2.7 on server no warnings appear, ok. when first connection comes in there problems base64 think:
1: <ip>: plain non-ssl (ws://) websocket connection 1: <ip>: version hybi-13, base64: 'false' 1: connecting to: <myserver.com>:64749
on client side error in safari tells me connection made , i'm able send , receive messages:
websocket network error: operation couldn’t completed. connection refused ws://localhost:17523
the error connecting ws://localhost:17523 harmless. in order test whether websocket api supports binary data necessary instantiate websocket object, however, websocket objects must instantiated actual destination websock.js uses localhost port test connection. browser complains connection fails websock.js able use object test.
the base64: false
indicates client , server have negotiated use raw binary data , don't need use base64 encoded strings encode data. base64 encoding necessary in older browsers (or web-socket-js emulator) support websockets not binary data.
since sending , receiving data, assume question verifying messages seeing aren't major problems correct?
Comments
Post a Comment