guooscar / JazminServer

Java based application,rpc,message,rtmp,game,sip,rtp,relay,webrtc,webssh,proxy server,message queue,mysql proxy server
http://io.itit.io
308 stars 164 forks source link

hi,sip webrtc dtls握手失败了,不知道什么原因 #62

Open testwen00 opened 5 years ago

testwen00 commented 5 years ago

抓包日志如下: 73 4.092620 172.16.99.217 172.16.99.217 DTLSv1.2 187 Client Hello 80 4.646370 172.16.99.217 172.16.99.217 DTLSv1.2 123 Server Hello 87 4.697617 172.16.99.217 172.16.99.217 DTLSv1.2 1340 Certificate (Fragment) 92 4.698978 172.16.99.217 172.16.99.217 DTLSv1.2 586 Certificate (Reassembled) 98 4.778227 172.16.99.217 172.16.99.217 DTLSv1.2 386 Server Key Exchange 103 4.779938 172.16.99.217 172.16.99.217 DTLSv1.2 73 Certificate Request 108 4.781794 172.16.99.217 172.16.99.217 DTLSv1.2 57 Server Hello Done 109 4.782929 172.16.99.217 172.16.99.217 DTLSv1.2 47 Alert (Level: Fatal, Description: Handshake Failure)

这个调试很困难,找不到出错问题,证书还是代码问题?求助

guooscar commented 4 years ago

这块代码我也好几年没看过了,只能调试抓包打日志进行跟踪了

testwen00 notifications@github.com 于2019年10月25日周五 上午11:55写道:

抓包日志如下: 73 4.092620 172.16.99.217 172.16.99.217 DTLSv1.2 187 Client Hello 80 4.646370 172.16.99.217 172.16.99.217 DTLSv1.2 123 Server Hello 87 4.697617 172.16.99.217 172.16.99.217 DTLSv1.2 1340 Certificate (Fragment) 92 4.698978 172.16.99.217 172.16.99.217 DTLSv1.2 586 Certificate (Reassembled) 98 4.778227 172.16.99.217 172.16.99.217 DTLSv1.2 386 Server Key Exchange 103 4.779938 172.16.99.217 172.16.99.217 DTLSv1.2 73 Certificate Request 108 4.781794 172.16.99.217 172.16.99.217 DTLSv1.2 57 Server Hello Done 109 4.782929 172.16.99.217 172.16.99.217 DTLSv1.2 47 Alert (Level: Fatal, Description: Handshake Failure)

这个调试很困难,找不到出错问题,证书还是代码问题?求助

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/guooscar/JazminServer/issues/62?email_source=notifications&email_token=AADVL3G5GBKBDGF67OMH4HTQQJUZNA5CNFSM4JE6GRUKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HUI5D2A, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADVL3D3DNFUDFECNSKNTVDQQJUZNANCNFSM4JE6GRUA .

--

yama