tatsuhiro-t / spdylay

The experimental SPDY protocol version 2, 3 and 3.1 implementation in C
http://tatsuhiro-t.github.io/spdylay/
MIT License
603 stars 102 forks source link

an Network error occurr in shrpx. #75

Closed nanpoyhl closed 10 years ago

nanpoyhl commented 11 years ago

the squid and shrpx at the same machine. the conf of shrpx: frontend=0.0.0.0,8080 backend=10.13.249.248,32770 //the port ,squid lisitening on. private-key-file=/etc/ssl/private/myssl.key certificate-file=/etc/ssl/certs/myssl.crt

spdy-proxy=no

workers=1

while I access a website in chome. an Nerwork error occured in shrpx . logs in /var/logs/messages.

Jul 23 12:39:40 host1 shrpx[24895]: [LISTEN:0xe8ce20] Accepted connection. fd=8 (shrpx_listen_handler.cc:97) Jul 23 12:39:40 host1 shrpx[24895]: [LISTEN:0xe8ce20] Accepted connection. fd=9 (shrpx_listen_handler.cc:97) Jul 23 12:39:40 host1 shrpx[24895]: [CLIENT_HANDLER:0xe8d360] SSL/TLS handleshake completed (shrpx_client_handler.cc:103) Jul 23 12:39:40 host1 shrpx[24895]: [CLIENT_HANDLER:0xe8d360] The negotiated next protocol: spdy/3 (shrpx_client_handler.cc:210) Jul 23 12:39:40 host1 shrpx[24895]: [CLIENT_HANDLER:0xe8d360] SSL/TLS session reused (shrpx_client_handler.cc:109) Jul 23 12:39:40 host1 shrpx[24895]: [CLIENT_HANDLER:0xe8d360] Network error: Success (shrpx_client_handler.cc:86) Jul 23 12:39:40 host1 shrpx[24895]: [CLIENT_HANDLER:0xe8d360] Deleting (shrpx_client_handler.cc:152) Jul 23 12:39:40 host1 shrpx[24895]: [CLIENT_HANDLER:0xe8d360] Deleted (shrpx_client_handler.cc:170) Jul 23 12:39:40 host1 shrpx[24895]: [CLIENT_HANDLER:0xea3ca0] SSL/TLS handleshake completed (shrpx_client_handler.cc:103) Jul 23 12:39:40 host1 shrpx[24895]: [CLIENT_HANDLER:0xea3ca0] The negotiated next protocol: spdy/3 (shrpx_client_handler.cc:210) Jul 23 12:39:40 host1 shrpx[24895]: [CLIENT_HANDLER:0xea3ca0] SSL/TLS session reused (shrpx_client_handler.cc:109) Jul 23 12:39:40 host1 shrpx[24895]: [CLIENT_HANDLER:0xea3ca0] Network error: Success (shrpx_client_handler.cc:86) Jul 23 12:39:40 host1 shrpx[24895]: [CLIENT_HANDLER:0xea3ca0] Deleting (shrpx_client_handler.cc:152) Jul 23 12:39:40 host1 shrpx[24895]: [CLIENT_HANDLER:0xea3ca0] Deleted (shrpx_client_handler.cc:170) Jul 23 12:39:40 host1 shrpx[24895]: [LISTEN:0xe8ce20] Accepted connection. fd=8 (shrpx_listen_handler.cc:97) Jul 23 12:39:40 host1 shrpx[24895]: [CLIENT_HANDLER:0xe8d360] SSL/TLS handleshake completed (shrpx_client_handler.cc:103) Jul 23 12:39:40 host1 shrpx[24895]: [CLIENT_HANDLER:0xe8d360] The negotiated next protocol: spdy/3 (shrpx_client_handler.cc:210) Jul 23 12:39:40 host1 shrpx[24895]: [CLIENT_HANDLER:0xe8d360] SSL/TLS session reused (shrpx_client_handler.cc:109) Jul 23 12:39:40 host1 shrpx[24895]: [CLIENT_HANDLER:0xe8d360] Network error: Success (shrpx_client_handler.cc:86) Jul 23 12:39:40 host1 shrpx[24895]: [CLIENT_HANDLER:0xe8d360] Deleting (shrpx_client_handler.cc:152) Jul 23 12:39:40 host1 shrpx[24895]: [CLIENT_HANDLER:0xe8d360] Deleted (shrpx_client_handler.cc:170)

tatsuhiro-t commented 11 years ago

Are you using shrpx as spdy proxy? Then make sure that -s option is used. Also check that the certificate is valid. If the certificate is self-signed one, you need to import the certificate to chrome in order to convince it to trust the proxy.

tatsuhiro-t commented 10 years ago

No response for a month. Closing assuming that the issue was fixed