in reply to LWP::UserAgent Net::SSL read timeout issue

Please, consider using readmore tags around long code sections.

I see a ticket rt://81684 that's likely relevant to the problem. Net::SSL lacks the pending method so apparently select is done when data was already read and buffered. As to the solution: use an alarm timer?

  • Comment on Re: LWP::UserAgent Net::SSL read timeout issue

Replies are listed 'Best First'.
Re^2: LWP::UserAgent Net::SSL read timeout issue
by salmon739 (Initiate) on Dec 19, 2013 at 03:51 UTC
    Thank you.
      Thanks salmon, your post here lead me to finally find the cause of the problem - my solution was to downgrade the LWP::UserAgent package to 5.85 and it solved the problem. Have you found a better solution yet?
        This bug has been causing me the exact same problem querying a SOAP api. I don't think downgrading would help in my case but commenting out the DIE line certainly fixed the bug. Does doing this cause any issues?

        This bug has been causing me the exact same problem querying a SOAP api.

        I don't think downgrading would help in my case but commenting out the DIE line certainly fixed the bug. Does doing this cause any issues?

        Are there any other fixes known