ZachLiu

issue with deploying js api app on a web server

Discussion created by ZachLiu on Jan 21, 2014
Latest reply on Jan 21, 2014 by ZachLiu
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.io.script.jsonp_dojoIoScript1._jsonpCallback" that is not responding and just timed out.

Does anyone has a clue what the issue may be?

Outcomes