×

Discussion Board

Results 1 to 14 of 14

Thread: HTTP Client

  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    20

    HTTP Client

    Hi everyone!

    I am creating a http client in Symbian s60 for N70 and Nokia 6680. the application works well in Nokia 6600 but in N70 and 6680 it doesnt work. When I try to connect to the server and send headers it takes a few time and time later it gives and error (Error: -33)

    Could somebody help me?
    Thanks a lot in advance
    regards!

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,175

    Re: HTTP Client

    -33 is timeout, thus there is something wrong with your connection to the server.

    yucca

  3. #3
    Registered User
    Join Date
    Jul 2006
    Posts
    20

    Re: HTTP Client

    Thanks for your answer! But is it something wrong with the headers or not?

  4. #4
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: HTTP Client

    Quote Originally Posted by legm
    Thanks for your answer! But is it something wrong with the headers or not?
    Is your GPRS settings is fine on the device?
    check on server there is any hit from your side.
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  5. #5
    Registered User
    Join Date
    Jul 2006
    Posts
    20

    Re: HTTP Client

    Hi!

    I checked the server and everything shows ok, I think. Also the mobile settings is in order! it starts suppose, that could be my code application which it is not in order for N70 neither 6680! What do you think about it? Really strange...!

    Regards!

  6. #6
    Registered User
    Join Date
    Jul 2006
    Posts
    20

    HTTP Client problem!

    Hi!


    I have checked the problem again. Http client works well in Nokia 6600 but in N70 and 6680 doesnt work when I try to connect to the server. Why? I cheacked the server and data doesnt reach to it, also data never reaches to APN!

    What's wrong?

    Regards
    Leo

  7. #7
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: HTTP Client

    what are the default access point in your phone and whats the default access point your application pick up from the phone and try to open any other site like google from the phone.i am sure there may be no problem with the code because i have also used my same code for N70and 6600 and its works fine.
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  8. #8
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: HTTP Client

    Quote Originally Posted by legm
    Hi everyone!

    I am creating a http client in Symbian s60 for N70 and Nokia 6680. the application works well in Nokia 6600 but in N70 and 6680 it doesnt work. When I try to connect to the server and send headers it takes a few time and time later it gives and error (Error: -33)

    Could somebody help me?
    Thanks a lot in advance
    regards!
    Sorry legm but can i know where you get this error. As if i am not Wrong this is not a HTTP Error. this Error must have been generated by your app code.

  9. #9
    Registered User
    Join Date
    Jul 2006
    Posts
    20

    Re: HTTP Client

    Quote Originally Posted by skumar_rao
    Sorry legm but can i know where you get this error. As if i am not Wrong this is not a HTTP Error. this Error must have been generated by your app code.
    Hi!

    Where could I find the errors? I havent found the errors yet!

    regards

    Legm

  10. #10
    Registered User
    Join Date
    Jul 2006
    Posts
    20

    Re: HTTP Client

    Quote Originally Posted by skumar_rao
    Sorry legm but can i know where you get this error. As if i am not Wrong this is not a HTTP Error. this Error must have been generated by your app code.
    Could you help me to find them?

    Legm

  11. #11
    Regular Contributor
    Join Date
    May 2007
    Posts
    463

    Re: HTTP Client

    Nobody can help you if you don't show the code. More details would help too, what's the sequence of states the HTTP framework goes through?
    Get Resolvr - The Zeroconf framework for Symbian OS free today. Make your IP networking applications fun and easy to use. http://www.novelinteractions.com/resolvr/
    Proud to be the only autorickshaw owner in Cambridge - http://blog.novelinteractions.com/images/tuktuk.jpg

  12. #12
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: HTTP Client

    yes cdavies-nokia is right how can we guess what is going wrong.
    Any way there is Example in SDK in the path Examples\appprots\exampleclient. refer to that if you want.

  13. #13
    Registered User
    Join Date
    Jul 2006
    Posts
    20

    Re: HTTP Client

    Quote Originally Posted by cdavies-nokia
    Nobody can help you if you don't show the code. More details would help too, what's the sequence of states the HTTP framework goes through?
    Hi everyone!

    I checked again the code and every thing is ok. Now it works in N70. I didnt need to change my code! I must just change mobile phones settings...

    in advange

    legm

    Thanks...
    Last edited by legm; 2007-07-17 at 07:31.

  14. #14
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: HTTP Client

    I did not understand what you mean by "change mobile phones settings...".
    Is it APN setting

Similar Threads

  1. HTTP Client - Synchronous HTTP POST Calls?
    By symbian_ravi in forum Symbian Networking & Messaging (Closed)
    Replies: 5
    Last Post: 2006-04-16, 11:51
  2. Issue in using HTTP client framework on series 60 SDK
    By nkhanna1979 in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2005-11-25, 06:33
  3. Replies: 2
    Last Post: 2003-11-09, 14:00
  4. Testing HTTP client for Nokia 3650; Looking to share code
    By nawkboy in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2003-09-10, 15:30
  5. Replies: 1
    Last Post: 2002-07-22, 07:57

Posting Permissions

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