Well, one of the issues is that you’re trying to parse a 1.1 response, but the Classic framework sockets are only 1.0, but if you would create a feedback case and include (even privately) the url you are accessing, I’d be interested to take a look.
I’m having similar issues with accessing a secure website. See my thread here.
HTTPSecureSocket doesn’t work, and the new framework doesn’t support windows (yet). I’ve attempted many connections using it but it seems to me to be suffering from being stuck to the HTTP 1.0 protocol and not 1.1.
I’ve had minor success with CURL in so far as I’ve at least been able to get through the authentication process, but I’m now having issues with it redirecting. It possibly may have something to do with a SessionID where CURL returns with a 404 error if I attempt to connect directly to my ultimate URL destination after initially connecting successfully.
Current issues identified for myself are:
Authentication Type
User-Agent setting
Cookie processing and management
Redirections
Still have more testing to do.
You can also try CURLSMBS from MonkeyBread. Christian is very helpful.
Thanks Grant.
Seems like I’m stuck to using HTTPSocket for the moment as users have a critical need of the new features implemented in the latest update.
I’ll try for some other solutions during the summer, unless Greg comes up with a solution
[quote=270597:@JrmieLeroy]Thanks Grant.
Seems like I’m stuck to using HTTPSocket for the moment as users have a critical need of the new features implemented in the latest update.
I’ll try for some other solutions during the summer, unless Greg comes up with a solution :)[/quote]
Ok. I really need to see the way you’re setting up the socket. I’ve just tried this on OS X 10.11.5 an on Windows 7 and neither of them are giving the exception you are reporting. For instance, I am using:
[code]// Set up the socket
dim h as new HTTPSecureSocket
h.Secure = True
h.ConnectionType = h.TLSv12
// Set the URL
dim url as string = “https://your url here”
// Send Synchronous Request
dim s as string = h.SendRequest(“GET”,url,30)[/code]
I’ve also tried setting the ConnectionType down to SSLv3 and it still works just fine.
I’ve been experimenting with HTTPSecureSocket for hours now and I can’t get it to work. My server users Basic authentication, and HTTPSecureSocket seems to continually fire the AuthorizationRequired event and doesn’t authenticate.
I’m at a loss. I don’t know where to go from here.
I’ve ditched using the AuthorizationRequired event and now resend the get request with the Authorization request header when I receive an HTTPstatus code of 401 in my response header. I can now successfully access the page that I’m after.
I’ve ditched using the AuthorizationRequired event and now resend the get request with the Authorization request header when I receive an HTTPstatus code of 401 in my response header. I can now successfully access the page that I’m after.
Cheers
Grant[/quote]
That’s bizarre. We use this internally and it works just fine.