Re: How to Diagnose http_get() Error (Returning -2)
- Posted by euphoric (admin) Dec 04, 2017
- 1482 views
jimcbrown said...
euphoric said...
My http_get() call is returning -2 to a particular URL, but not to others. This particular URL is valid (can be reached in a browser), so I'm not sure what the -2 means. Anyone have a clue there?
That's ERR_INVALID_PROTOCOL. Are you trying https (which is still unsupported) or maybe using an ftp url? Or maybe you just forgot to include the http: part!
Ah! Thanks, Jim. I wondered if it might be the https. Yes, trying to use https.
Hey! Where did you find that error description?
And when is https going to be supported? Sooner rather than later? X)