Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 drinking their drinks and smoking their pipes about the Monastery: (15)
As of 2014-12-18 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (61 votes), past polls