Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User artinteg's Avatar
    Join Date
    Feb 2011
    Posts
    45
    Hi guys,

    I want to ask something. Why is XMLHttpRequest often return '-1'. I can test the URL directly and it's working fine.

  2. #2
    Nokia Developer Moderator petrosoi's Avatar
    Join Date
    Mar 2003
    Posts
    115
    Hello,

    Could you kindly provide the URL you're trying to access and the device model, firmware version (dial in *#0000# in home screen) and Ovi Browser version info (from Ovi Browser menu)?

    Thanks,
    Petro
    'petro
    @petrosoininen

  3. #3
    Registered User artinteg's Avatar
    Join Date
    Feb 2011
    Posts
    45
    I'm sorry, I can't provide API URL. But, I can give you detail information regarding this problem.

    After extensive test, I finally landed on conclusion that it was caused by timeout. API server is located on Indonesia and upstream bandwidth to international was limited. With 10 items per feed, it take too long for ovi server to download. But, after fine tuning and changed to 5 items per feed, the application is back to normal. So, maybe you guys can help us to give proper error message. Somewhere in http header, maybe. So that we know what actually caused the problem.

  4. #4
    Nokia Developer Moderator petrosoi's Avatar
    Join Date
    Mar 2003
    Posts
    115
    Interesting.

    I will pass this to R&D as feedback.

    petro
    'petro
    @petrosoininen

Similar Threads

  1. XMLHttpRequest.status is always 0
    By stewarth01 in forum Symbian Web Runtime
    Replies: 2
    Last Post: 2010-11-15, 11:21
  2. XMLHttpRequest status OK but XML doc empty
    By nbanke in forum Symbian Web Runtime
    Replies: 4
    Last Post: 2010-07-17, 08:53
  3. Cross site request return status = 0
    By pep_dj in forum Symbian Web Runtime
    Replies: 2
    Last Post: 2010-05-04, 09:44
  4. Please! XMLHttpRequest status = 0 return on my 5800
    By lulluana in forum Symbian Web Runtime
    Replies: 1
    Last Post: 2010-01-20, 15:00
  5. XMLHttpRequest status always returns NULL
    By vinothg in forum Symbian Web Runtime
    Replies: 6
    Last Post: 2009-09-22, 09:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved