Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Perl's Net:Kubernetes question

by hippo (Bishop)
on Nov 13, 2019 at 15:50 UTC ( [id://11108635]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Perl's Net:Kubernetes question
in thread Perl's Net:Kubernetes question

If you just want to confirm that your LWP::UserAgent can make an https connection try this from your shell:

HEAD https://www.google.com/

If the first line returned is 200 OK then you are good to go.

Replies are listed 'Best First'.
Re^4: Perl's Net:Kubernetes question
by Fletch (Bishop) on Nov 13, 2019 at 16:58 UTC

    Careful with this on OS X because of the default filesystem case insensitivity the LWP's HEAD is indistinguishable from the normal *NIX /usr/bin/head; you can use lwp-request -m HEAD https://www.google.com/ there instead to get the right thing.

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

      on OS X because of the default filesystem case insensitivity

      In that regard I agree entirely with Linus's take.

      Thanks Fletch. I simply copy and paste that synopsis code block from LWP::UserAgent doc. page to test connection to google and it runs fine.
Re^4: Perl's Net:Kubernetes question
by Anonymous Monk on Nov 13, 2019 at 17:07 UTC
    Hi hippo, yep, the test connection to google is good. So, looks like the issue is not because of LWP dependencies but something with Net::Kubernetes usage. Its doc. doesn't specifically say I can specify the string with full path and file name to the SSL keys, so I'm not sure if my code's call looks correct??

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-26 08:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found