Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Regular Contributor
Posts: 73
Registered: ‎12-30-2011
My Device: All devices
My Carrier: RIM

Re: Error while establishing a Http connection. Once request finished signal is emitted, no invocation of slot

Hi Friend,


 Please add one more condition in this code.



 if(reply->error() == QNetworkReply::NoError) {

        //  Success case

    }else if(reply->error()>=1 && reply->error()<=99){  

       // Any kind of Networks error.   (like wifi is off etc.)


        // Some other Error

   I think it would help you to check network availability.



Mohd Farhan