Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: How to debug failure in HTTP::Daemon::SSL->new()

by jonadab (Parson)
on Apr 28, 2014 at 17:18 UTC ( #1084153=note: print w/replies, xml ) Need Help??

in reply to Re: How to debug failure in HTTP::Daemon::SSL->new()
in thread How to debug failure in HTTP::Daemon::SSL->new()

I guarantee you something changed.


Unfortunately, it was several weeks before I noticed that it had stopped working, so tracking down exactly what had changed at that precise moment is not entirely straightforward.

  • Comment on Re: How to debug failure in HTTP::Daemon::SSL->new()

Replies are listed 'Best First'.
Re^2: How to debug failure in HTTP::Daemon::SSL->new()
by Anonymous Monk on Apr 28, 2014 at 19:05 UTC

    Oh. Any luck with the debugger?

    HTTP::Daemon::SSL inherits its new() method pretty much directly from IO::Socket::SSL, so the problem should be coming from there. That module had a release just a few days ago, perhaps you could try pulling the latest version of that and opening a socket with that, maybe that'll get you an improvement, or at least an error message?

      Any luck with the debugger?

      Not as yet. The control flow through IO::Socket::SSL's constructor appears to be rather baroque, and I'm having rather a hard time following what's going on. (I'm not very comfortable with debuggers at the best of times. They never seem to want to tell you what you really need to know. In this case, I probably mostly want what Carp would tell me if called from right before the innermost return, but I haven't managed to successfully identify said innermost return.)

      I am seriously considering switching to a different module. Perhaps I might also contemplate moving from HTTPS to SSH while I'm at it. I have never had a great deal of fondness for HTTPS, particularly in terms of how it handles certificates.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1084153]
[dazz]: Also, I want to use Image::Magick to annotate and composite (not in a sub). How do I take a Image::Grab object and apply Image::Magick write methods to it??
[dazz]: At present, I am saving the Image::Grab image to disk, then creating a new Image::Magick object that reads the disk file.
[dazz]: .
[choroba]: Discipulus Sounds interesting. Any pictures of the puppets or paintings?

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2017-03-27 07:44 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (317 votes). Check out past polls.