Java-WebSocket 资料记录

github地址

https://github.com/TooTallNate/Java-WebSocket
android WSS的支持--密钥密码官方

This library supports wss. To see how to use wss please take a look at the examples.

Android长连接 WebSocketClient请求WSS Websocke长连接--无密码无密钥

Android端 建立Wss (websocket security)服务端实现方式(wss)

使用阿里云生成的pem密钥登录

SSL用pem和key文件生成jks文件

My question is how can I get a SSL certificate? From what I've read, SSL certificate is based on a domain. I need it for localhost. I need it for something like this address:

关于https:用于WSS的Android库(安全Web套接字)


error处理

Android 报错解决办法:I/O error during system call, Connection reset by peer

websocket 1006错误码
连接被服务器关闭
原因:客户端授权没验证通过或被踢出或者超时
proxy_read_timeout 86400s;
proxy_send_timeout 86400s;

你可能感兴趣的:(Java-WebSocket 资料记录)