×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    10

    RHTTPTransaction get KErrNotReady (-18) after many requests

    Hello,

    I used the CHttpManager class (found in an SDK example) to create an application that makes a request to the same server every 5 minutes or so.

    The app works fine for a while (about 3 or 4 hours) and then the connection only returns KErrNotReady.

    The app is using the same IAP chosen at first connection the whole time, so the instances of RSocketServ, RConnection and RHTTPSession are the same all the time. Only the RHTTPTransaction instance is attributed from a RHTTPSession::OpenTransactionL() each time.

    Anyone can figure out whats is happening?

    Thanks in advance

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,671

    Re: RHTTPTransaction get KErrNotReady (-18) after many requests

    A thing you can check is making sure that the RHTTPTransaction objects are getting closed properly.

  3. #3
    Registered User
    Join Date
    Mar 2009
    Posts
    10

    Re: RHTTPTransaction get KErrNotReady (-18) after many requests

    Thanks wizard_hu_.

    I call the RHTTPTransaction::Close() right before the RHTTPSession::OpenTransactionL(). Is it ok? Or I should call it in some separated callback?

    And how can I check if the RHTTPTransaction::Close() returned some error?

  4. #4
    Registered User
    Join Date
    Mar 2009
    Posts
    10

    Re: RHTTPTransaction get KErrNotReady (-18) after many requests

    Apparently it was the case, I wasn't closing all my RHTTPTransaction.

    I left the program running during all night and it is still working.

    Thanks a lot wizard_hu_.

Similar Threads

  1. HTTP Timed Out
    By somnathbanik in forum Symbian
    Replies: 38
    Last Post: 2010-03-04, 05:53
  2. RFs::RemountDrive fails with KErrNotReady (-18) for MMC
    By FerdynandKiepski in forum Symbian
    Replies: 2
    Last Post: 2009-06-25, 09:12
  3. Getting Error (-13 ) KErrDied & (-18) KErrNotReady
    By kamaljaiswal in forum Symbian
    Replies: 1
    Last Post: 2009-02-05, 07:56
  4. Recieving Http Event Status -18 (KErrNotReady)
    By rakeshyadav in forum Symbian
    Replies: 3
    Last Post: 2008-10-07, 07:10
  5. RSocket::Accept return KErrNotReady (-18)
    By adinkesp in forum Symbian Networking & Messaging (Closed)
    Replies: 5
    Last Post: 2007-09-03, 15:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×