OxalisCommunity / oxalis

Oxalis - PEPPOL Access Point open source implementation - Core component
Other
129 stars 91 forks source link

Connection struck during SSL Handshake, Is connection timeout set in Oxalis for outbound traffic? #305

Closed aaron-kumar closed 6 years ago

aaron-kumar commented 6 years ago

Is there any connection timeout set in As2MessageSender while sending document to PEPPOL network? I did not found one in oxalis version that we are using.

Problem happen during SSL handshake

Enabled protocols: [TLSv1, TLSv1.1, TLSv1.2] (SSLConnectionSocketFactory.java:388) DEBUG [SimpleAsyncTaskExecutor-1] 11-09 21:27:23 Enabled cipher suites:[ciper-suites-list] (SSLConnectionSocketFactory.java:389) DEBUG [SimpleAsyncTaskExecutor-1] 11-09 21:27:23 Starting handshake (SSLConnectionSocketFactory.java:393)

Here oxalis keep on waiting for secure session indefinitely.....

In normal case , after request for handshake, secure connection is established quickly:

DEBUG [SimpleAsyncTaskExecutor-1] 11-09 21:22:05 Starting handshake (SSLConnectionSocketFactory.java:393) DEBUG [SimpleAsyncTaskExecutor-1] 11-09 21:22:05 Secure session established (SSLConnectionSocketFactory.java:423)

aaron-kumar commented 6 years ago

In START protocol, we have some defined properties value for timeout. START protocol is not used now, Can we have similar setting for timeout for AS2 protocol?

oxalis.connection.timeout=5000 oxalis.read.timeout=5000

klakegg commented 6 years ago

Duplicate of #291.