Software Archive
Read-only legacy content
17061 Discussions

cordova error inex.html not found sometimes

Mour_D_
Beginner
849 Views

i have make app that fetches data from my server and show it , sometimes it works fine and some time i got error index.html not found and app closes i think it might be due to some network time out .

 

how can i fix it or how to increase timeout time please help me to fix it

0 Kudos
2 Replies
Chris_P_Intel
Employee
849 Views

This is my guess as to what's happening:

You are making a request to a URL that the server does not recognize or cannot handle.  And, when it cannot find it, it is then looking for a fallback index.html at that directory. But, since it is most likely a data directory, there is no index.html there and then you get the failure message you see.    Did you write your own server code?  

 

0 Kudos
Mour_D_
Beginner
849 Views

yeah sometimes due to server load it takes time to get request so this issue occurs can we increase timeout time

0 Kudos
Reply