×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    47

    5120 error on N96

    We have a client that makes HTTP requests to a server. These requests always fail on an N96. They work ok on other handsets, including N95 8GB, 6210 Navigator and many other earlier Symbian 3rd edition handsets.

    The error being returned is 5120 (No response from DNS server).

    We can make HTTP requests from the web browser on the handset to the same URLs ok.

    Any useful suggestion appreciated, thanks.

    The settings for this access point are:

    Connection name: ODP-test
    Data bearer: Packet data
    Access point name: internet.telenor.se
    username: none
    Prompt passwork: No
    Password: ****
    Authentication Normal
    Homepage: none
    Use access point: Automatically

    Advanced settings:
    Network Type IPv4
    Phone IP address: Automatic
    DNS address: Automatic
    Proxy None
    Proxy Port 0

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    47

    Re: 5120 error on N96

    Also worth noting that the error happens within 1 second. Seems a very short time to have established a connection to a DNS server.

  3. #3
    Registered User
    Join Date
    Jul 2007
    Posts
    42

    Question Re: 5120 error on N96

    Hi,

    I was just wondering if you solved your problem.

    I am having the same problem right now.

    Thanks.

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    47

    Re: 5120 error on N96

    Yes, this seems to be ok for us now. My understanding of the problem is as follows.

    We were using RConnection::Attach(). See http://www.symbian.com/developer/tec...3aAttach%28%29.

    If RConnection::Attach() succeeded we did not call RConnection::Start(). This led to being attached to a potentially unstarted connection and subsequently failing on using it. For some reason this did not seem to cause a problem on other handsets, but did on N96, and therefore was not seen until testing on N96.

    We changed the code to always attempt to "Start" the connection, which appeared to resolve the problem.

Similar Threads

  1. network error -5120
    By erahamim in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2010-12-17, 08:44
  2. Symbian OS Error = -5120 in Nokia 6600
    By ramender_mall in forum Mobile Java General
    Replies: 2
    Last Post: 2010-09-14, 13:51
  3. N96 release date, and Chinese counterfeits
    By Mars Rover 1 in forum News and Announcements
    Replies: 2
    Last Post: 2008-05-16, 07:41
  4. N96
    By Polonortenho in forum General Development Questions
    Replies: 2
    Last Post: 2008-03-07, 20:01
  5. symbian OS error: 33 and 5120 in http Request
    By corej2me in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-08-17, 13:40

Posting Permissions

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