Giter Site home page Giter Site logo

Comments (13)

phax avatar phax commented on July 29, 2024

This maybe resolved by finally implementing phax/as2-server#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

from as2-lib.

fiorenzino avatar fiorenzino commented on July 29, 2024

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

from as2-lib.

phax avatar phax commented on July 29, 2024

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

from as2-lib.

fiorenzino avatar fiorenzino commented on July 29, 2024

Hi Philip,
can we share our mail?
Edited: done :)

Fiorenzo

from as2-lib.

phax avatar phax commented on July 29, 2024

You've got a mail

from as2-lib.

tellouze avatar tellouze commented on July 29, 2024

Hello,
Is this issue is still open ? we are facing the same problem with our partners ? but we are behind a proxy.
Thanks
Toufik

from as2-lib.

phax avatar phax commented on July 29, 2024

Hi. I could never reproduce the error :(
Did you try increasing the read-timeout? Maybe some special HTTP headers for the proxy are needed????

from as2-lib.

tellouze avatar tellouze commented on July 29, 2024

Hi Philip,
How can I increase the read timeout ?
Thanks

from as2-lib.

phax avatar phax commented on July 29, 2024

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

from as2-lib.

phax avatar phax commented on July 29, 2024

I added AS2ClientSettings.setConnectTimeoutMS(int) and AS2ClientSettings.setReadTimeoutMS(int) methods in 3.0.2-SNAPSHOT

from as2-lib.

tellouze avatar tellouze commented on July 29, 2024

Great! thank you.

from as2-lib.

tellouze avatar tellouze commented on July 29, 2024

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.

from as2-lib.

phax avatar phax commented on July 29, 2024

Mea culpa. I set the attribute at the message instead of the sender module. Fixed in latest SNAPSHOT (on server in a few minutes)

from as2-lib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.