使用TLS 实例 连接服务器被拒绝。不知道是哪里的问题

如题,控制台输出如下:

[2017-09-13 15:03:51][INFO] pc_lib_init - register dummy plugin
[2017-09-13 15:03:51][INFO] pc_lib_init - register tcp plugin
[2017-09-13 15:03:51][INFO] pc_lib_init - register tls plugin
[2017-09-13 15:03:51][INFO] tr_uv_tcp_init - load local storage ok
[2017-09-13 15:03:51][DEBUG] pc_client_init - init ok
[2017-09-13 15:03:51][INFO] [2017-09-13 15:03:51]tr_uv_tcp_thread_fn - start uv loop thread[INFO]
pc_client_add_ev_handler - add event handler, handler id: 0
[2017-09-13 15:03:51][DEBUG] tcpcon_async_cb - start conn timeout timer
[2017-09-13 15:03:51][INFO] tcp
conn_done_cb - tcp connected, send handshake
[2017-09-13 15:03:51][INFO] tlsconn_done_cb - send client hello
[2017-09-13 15:03:51][DEBUG] tls
info_callback - handshake start
[2017-09-13 15:03:51][DEBUG] tlsinfo_callback - tls error in SSLv3 read server hello A
[2017-09-13 15:03:51][DEBUG] tls
write_to_bio - use writing queue
[2017-09-13 15:03:51][DEBUG] tlsinfo_callback - tls error in SSLv3 read server hello A
[2017-09-13 15:03:51][DEBUG] tls
write_to_bio - use writing queue
[2017-09-13 15:03:51][DEBUG] tlsinfo_callback - tls error in SSLv3 read server certificate A
[2017-09-13 15:03:51][DEBUG] tls
info_callback - tls error in SSLv3 read server certificate A
[2017-09-13 15:03:51][DEBUG] tlswrite_to_bio - use writing queue
[2017-09-13 15:03:51][DEBUG] tls
info_callback - tls error in SSLv3 read server session ticket A
[2017-09-13 15:03:51][DEBUG] tlsinfo_callback - tls error in SSLv3 read server session ticket A
[2017-09-13 15:03:51][DEBUG] tls
write_to_bio - use tcp is writing queue
[2017-09-13 15:03:51][DEBUG] tlsinfo_callback - tls error in SSLv3 read server session ticket A
[2017-09-13 15:03:51][DEBUG] tls
write_to_bio - use writing queue
[2017-09-13 15:03:51][DEBUG] tlsinfo_callback - tls error in SSLv3 read server session ticket A
[2017-09-13 15:03:51][DEBUG] tls
write_to_bio - use writing queue
[2017-09-13 15:03:51][DEBUG] tlsinfo_callback - handshake done
[2017-09-13 15:03:51][DEBUG] tls
write_to_bio - use writing queue
[2017-09-13 15:03:51][DEBUG] tlswrite_to_bio - use writing queue
[2017-09-13 15:03:51][ERROR] tcp
on_tcp_read_cb - read from tcp error: end of file,will reconn
[2017-09-13 15:03:51][INFO] pctrans_fire_event - fire event: PC_EV_UNEXPECTED_DISCONNECT, arg1: Read Error Or Close, arg2:
test: get event PC_EV_UNEXPECTED_DISCONNECT, arg1: Read Error Or Close, arg2:
[2017-09-13 15:03:51][DEBUG] tls
reset - reset ssl
[2017-09-13 15:03:51][DEBUG] tlsinfo_callback - alert: write warning close notify
[2017-09-13 15:03:51][DEBUG] tcp
reconn - max reconn delay incr: 5
[2017-09-13 15:03:51][DEBUG] tcpreconn - reconnect, delay: 2
[2017-09-13 15:03:51][DEBUG] tls
write_to_bio - use tcp is writing queue
[2017-09-13 15:03:51][DEBUG] tlswrite_to_bio - use writing queue
[2017-09-13 15:03:52][DEBUG] pc_request_with_timeout - use pre alloc request
[2017-09-13 15:03:52][INFO] pc_request_with_timeout - add request to queue, req id: 1
[2017-09-13 15:03:52][DEBUG] tr_uv_tcp_send - use pre alloc write item, seq_num: 0, req_id: 1
[2017-09-13 15:03:52][DEBUG] tr_uv_tcp_send - put to conn pending queue, seq_num: 0, req_id: 1
[2017-09-13 15:03:52][DEBUG] tr_uv_tcp_send - seq num: 0, req_id: 1
[2017-09-13 15:03:52][DEBUG] tls
write_to_bio - use writing queue
[2017-09-13 15:03:53][DEBUG] tcpwrite_check_timeout_cb - start to check timeout
[2017-09-13 15:03:53][DEBUG] tcp
write_check_timeout_cb - finish to check timeout
[2017-09-13 15:03:53][DEBUG] tcpcon_async_cb - start conn timeout timer
[2017-09-13 15:03:53][INFO] tcp
conn_done_cb - tcp connected, send handshake
[2017-09-13 15:03:53][INFO] tls__conn_done_cb - send client hello

标签: libpomelo2
jason 在 9-13 15:34发布 分享到 weibo
1 回复
#1 jason 9-13 18:57 回复

补充:服务端使用ngnix做反向代理

回到顶部