Closed fiorenzino closed 7 years ago
This maybe resolved by finally implementing https://github.com/phax/as2-server/issues/10
We're just receiving files, but we're not sending anything. Do you have a proxy inbetween? Do you think by switching to httpclient this can be resolved?
// Philip
Hi Philip, no proxy in my case. We send DESPATCH_ADVICESs or INVOICEs and we receive ORDERs. Yes, the use of httpclient could help. Starting from your code, I would like to create a simple As2 client (prototype), with only this functionality. i will share if you want.
Fiorenzo
Hi Fiorenzo!
Any sharing is welcome :) You could maybe fork it and create a PR??
Btw. shall we have a short Skype talk on these issues (also the Wildfly one)?
// Philip
Hi Philip, can we share our mail? Edited: done :)
Fiorenzo
You've got a mail
Hello, Is this issue is still open ? we are facing the same problem with our partners ? but we are behind a proxy. Thanks Toufik
Hi. I could never reproduce the error :( Did you try increasing the read-timeout? Maybe some special HTTP headers for the proxy are needed????
Hi Philip, How can I increase the read timeout ? Thanks
Hi! This is currently a little pain in the ass (must be an attribute in the message). I will make this configurable in the AS2ClientSettings
for 3.0.2
I added AS2ClientSettings.setConnectTimeoutMS(int)
and AS2ClientSettings.setReadTimeoutMS(int)
methods in 3.0.2-SNAPSHOT
Great! thank you.
Hi Philip, Using 3.0.2-SNAPSHOT I tried to increase the timeout but it seems that it's not taken into account. It's always using the value by default 60s. Could you give a check please ? Thanks.
Mea culpa. I set the attribute at the message instead of the sender module. Fixed in latest SNAPSHOT (on server in a few minutes)
Hi Philip, using your library sometimes we have this error:
But the file is received correctly. Did you experience this?
thanks in advance Fiorenzo Pizza