issue with deploying js api app on a web server

730
2
01-21-2014 12:50 PM
ZachLiu1
Occasional Contributor II
I tried to deploy an js api app on a client test server, but the app won't load with a message "require is not defined", so I assume the server cannot pull the api from CDN so I installed the api on their server. The message is gone, but the app still won't load.

The interface is loaded but the map is empty.

The new error message is "dojo.io.script error" with a message "Timeout exceeded"

I checked the network log and found it is the call to "http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer?f=json&callback=dojo.i..." that is not responding and just timed out.

Does anyone has a clue what the issue may be?
0 Kudos
2 Replies
Noah-Sager
Esri Regular Contributor
Hmm, if you try a different map service, does that work any better?

Try a different Esri service, and then a different internal one that you (or the client) host (if possible).

Just checked the service you indicated, and it appears to be functional.
0 Kudos
ZachLiu1
Occasional Contributor II
0 Kudos