×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    45

    XMLHttpRequest.status return -1

    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
    Join Date
    Mar 2003
    Posts
    115

    Re: XMLHttpRequest.status return -1

    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
    Join Date
    Feb 2011
    Posts
    45

    Re: XMLHttpRequest.status return -1

    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
    Join Date
    Mar 2003
    Posts
    115

    Re: XMLHttpRequest.status return -1

    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
    Replies: 2
    Last Post: 2010-11-15, 11:21
  2. XMLHttpRequest status OK but XML doc empty
    By nbanke in forum Symbian
    Replies: 4
    Last Post: 2010-07-17, 08:53
  3. Cross site request return status = 0
    By pep_dj in forum Symbian
    Replies: 2
    Last Post: 2010-05-04, 09:44
  4. Replies: 1
    Last Post: 2010-01-20, 15:00
  5. XMLHttpRequest status always returns NULL
    By vinothg in forum Symbian
    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
  •