Hi,
I have an app that interfaces with a webserver over HTTP. It worked perfectly until we installed an SSL cert and tried to talk using https.
Now I get error 9 in the MHFRunL callback - which is transaction failed. Is there something different I need to do here?
This only occurs over a GPRS IAP - it works fine over WLAN.
Below is an example where we start a session to do a simple form POST (yes - its straight from all those sample apps out there)
if(!iSessionActive){
User::LeaveIfError(StartConnection());
iSession.OpenL();
iSession.ConnectionInfo().SetPropertyL(iSession.StringPool().StringF(HTTP::EHttpSocketServ,
RHTTPSession::GetTable()),
THTTPHdrVal(iSocketServ.Handle()));
TInt connectionPtr = reinterpret_cast<TInt>(&iConnection);
iSession.ConnectionInfo().SetPropertyL(iSession.StringPool().StringF(HTTP::EHttpSocketConnection,
RHTTPSession::GetTable()),
THTTPHdrVal(connectionPtr));
iSessionActive = ETrue;
}
iTransaction = iSession.OpenTransactionL(iUriParser, *this, iSession.StringPool().StringF(HTTP::EPOST, RHTTPSession::GetTable()));
// Set transaction headers
RHTTPHeaders headers = iTransaction.Request().GetHeaderCollection();
AddHeaderL(headers, HTTP::EUserAgent, KUserAgent);
AddHeaderL(headers, HTTP::EAccept, KAccept);
AddHeaderL(headers, HTTP::EContentType, KPostContentType);
iTransaction.Request().SetBody(*iFormEncoder);
iTransaction.SubmitL();
Thanks
Sam

)


