You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Grégory Clause <gc...@gmail.com> on 2010/05/05 13:25:22 UTC

TS hangs when using SSL on both client side and origin server

 Hi,

I am trying to setup TS as reverse proxy with SSL on both side.
I enabled ssl and setup the certificate/key.
My issue is when I try to remap https://trafficserver/ https://originserver,
the connection starts on the client but I can't get any reply.
When I stop the connection (I used curl) TS throws the following exception :


[May  5 13:05:41.931] Server {1133202320} DEBUG: (ssl)
SSLNetVConnection::sslServerHandShakeEvent, handshake completed successfully

[May  5 13:05:41.931] Server {1133202320} DEBUG: (ssl)
[SSL_NetVConnection::ssl_read_from_net] b->write_avail()=4096
[May  5 13:05:41.931] Server {1133202320} DEBUG: (ssl)
[SSL_NetVConnection::ssl_read_from_net] rres=-1
[May  5 13:05:41.931] Server {1133202320} DEBUG: (ssl)
[SSL_NetVConnection::ssl_read_from_net] SSL_ERROR_WOULD_BLOCK
[May  5 13:05:41.931] Server {1133202320} DEBUG: (ssl) read_from_net, read
finished - would block
[May  5 13:05:41.932] Server {1133202320} DEBUG: (ssl)
[SSL_NetVConnection::ssl_read_from_net] b->write_avail()=4096
[May  5 13:05:41.933] Server {1133202320} DEBUG: (ssl)
[SSL_NetVConnection::ssl_read_from_net] rres=166
[May  5 13:05:41.933] Server {1133202320} DEBUG: (ssl)
[SSL_NetVConnection::ssl_read_from_net] rres=-1
[May  5 13:05:41.933] Server {1133202320} DEBUG: (ssl)
[SSL_NetVConnection::ssl_read_from_net] SSL_ERROR_WOULD_BLOCK
[May  5 13:05:41.933] Server {1133202320} DEBUG: (ssl)
[SSL_NetVConnection::ssl_read_from_net] bytes_read=166
[May  5 13:05:41.933] Server {1133202320} DEBUG: (ssl)
[SSL_NetVConnection::ssl_read_from_net] b->write_avail()=3930
[May  5 13:05:41.933] Server {1133202320} DEBUG: (ssl)
[SSL_NetVConnection::ssl_read_from_net] rres=-1
[May  5 13:05:41.933] Server {1133202320} DEBUG: (ssl)
[SSL_NetVConnection::ssl_read_from_net] SSL_ERROR_WOULD_BLOCK
[May  5 13:05:41.933] Server {1133202320} DEBUG: (ssl) read_from_net, read
finished - would block
[May  5 13:05:43.939] Server {1133202320} DEBUG: (ssl)
SSLNetVConnection::sslServerHandShakeEvent, syscall
[May  5 13:05:45.760] Server {1133202320} DEBUG: (ssl)
[SSL_NetVConnection::ssl_read_from_net] b->write_avail()=3930
[May  5 13:05:45.760] Server {1133202320} DEBUG: (ssl)
[SSL_NetVConnection::ssl_read_from_net] rres=0
NOTE: Traffic Server received Sig 11: Segmentation fault
bin/traffic_server - STACK TRACE:
[0x40000420]
[May  5 13:05:45.766] Manager {3085952736} ERROR:
[LocalManager::pollMgmtProcessServer] Server Process terminated due to Sig
11: Segmentation fault
[May  5 13:05:45.767] Manager {3085952736} ERROR:  (last system error 9: Bad
file descriptor)
[May  5 13:05:45.767] Manager {3085952736} ERROR: [Alarms::signalAlarm]
Server Process was reset
[May  5 13:05:45.767] Manager {3085952736} ERROR:  (last system error 9: Bad
file descriptor)
[TrafficServer] using root directory '/usr/local'


I am using version 2.0.0.

Any help would be appreciated,

Thanks

Greg