Maybe usingQNetworkRequest::setSslConfiguration()?
Cheers,
_
Maybe usingQNetworkRequest::setSslConfiguration()?
Cheers,
_
k1447321 (3rd September 2015)
hey,
thank you for your suggestion I added an cacert and cipher using the info you gave my cipher is rc4-sha and my cacert is from this site and is called Class 3 PKI Key Intermediate Certificate (PEM Format). but now I'm having . do you people any idea about this?
Where are you getting the value zero from?
Zero from QNetworkReply::error() is no errror.
I'm sending my post to the twitter api and I get an http status code 0 from there. I used to get codes like 401 not authorized but now all I get is http status code 0. I added cipher(rc4-sha) ,certificate(cacert) , and protocol(sslv3) but still having the same problem
thanks anyway
What is the raw text of the entire response? Are there valid HTTP headers or just a dropped connection?
Ensure that the form of your POST body is correct.
Have you tried putting Fiddler between your application and the Twit servers to observe the raw interaction? (Yes, it can MITM your SSL)
this is the reply I get from twitter. this happens at the last (posting tweet) phase. other than that receiving replies from twitter works and I can get my oauth data. my request is correct atleast the headers and the body since it works perfectly with the cUrl. my problem is I still dont know how to send a post with ssl. as far as I know I need to include cacert.pem and make handshake with the host. If you can help me with a working https post or a libcurl implementation that would be great.
Bookmarks