Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: LWP::UserAgent Net::SSL read timeout issue

by oiskuu (Friar)
on Dec 13, 2013 at 14:59 UTC ( #1067024=note: print w/ replies, xml ) Need Help??


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
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1067024]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (20)
As of 2015-07-06 17:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (79 votes), past polls