Select to view content in your preferred language

Chrome error-->Access-Control-Allow-Origin

1149
2
06-05-2013 10:59 AM
ShawnCarson
Regular Contributor
When I try and access a Web Map in Chrome I get the below error. The error is related to  services that are publicly accessible.

The service was created in 10.0
The service is a publicly accessible service. (Set up using reverse proxy using ESRI White paper.)
The error only happens in Chrome, IE and FireFox, both display the Web Map fine.
The Web Map Application created from this Web Map has no problem displaying the service in Chrome(?).
Its not service specific, all services genererated from this server will not draw in Chrome but all WebMappApps are fine.
If I create a service on another machine (10.1) not publicly accessible (no reverse proxy) Chrome has no problem w/ the service.


*****Error:******
XMLHttpRequest cannot load http://rockhillgis.cityofrockhill.com/ArcGIS/rest/info?f=json. Origin http://vvvvv.maps.arcgis.com is not allowed by Access-Control-Allow-Origin.

I don't see the above error unless I use the Developer Tools in Chrome. My agol map just sits there and doesn't display anything.


The Service:
http://rockhillgis.cityofrockhill.com/ArcGIS/rest/services/wards/MapServer/

I really appreciate any help I really want to be able to access these services in Chrome.

Thank you,

Shawn
Tags (2)
0 Kudos
2 Replies
ShawnCarson
Regular Contributor
This issue "fixed itself". I am thinking it may have had to do with some internal network/ip weirdness we were having.
Web maps and Web map apps are showing all services in my 3 browsers. (IE, FF, Chrome)
0 Kudos
ShawnCarson
Regular Contributor
This issue is happening intermittently for me using Chrome.

ISSUE: Sometimes I can see my service and sometimes I can't. This only happens in chrome.

Since FireFox is fine (service is always visible), I am wondering if I need to modify something in my Chrome settings?

When I use Developer Tools in Chrome I see the error I describe in my original post.

After a while it works. After a while, it doesn't.
0 Kudos