Skip to main content
Tweeted twitter.com/StackGIS/status/670235639594541057
edited title
Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

Why does the local esri ja apiArcGIS API for JavaScript over https trigger an info request over http?

deleted 13 characters in body; edited tags
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

I got the esri js api 3.14 deployed on a server and an application that is reachable over https.

Now I got a proxy script that delivers the map requests.

When you look at the requests of the page you can see that there is ONE request (an info request to the rest interace) that goes directly to the internalServer.

The Chrome Browser says: enter image description here

Firefox says:

enter image description here

I added the proxy script rule like this:

urlUtils.addProxyRule({
                urlPrefix: "http://srvutdemo102/arcgis/rest/services/utjsc_de/Grundkarte",
                proxyUrl: "ESRI_proxy.jsp"
            });

Is it possible to tell the js-api to use the proxy script for this "initial" info request?

Thanks!

I got the esri js api 3.14 deployed on a server and an application that is reachable over https.

Now I got a proxy script that delivers the map requests.

When you look at the requests of the page you can see that there is ONE request (an info request to the rest interace) that goes directly to the internalServer.

The Chrome Browser says: enter image description here

Firefox says:

enter image description here

I added the proxy script rule like this:

urlUtils.addProxyRule({
                urlPrefix: "http://srvutdemo102/arcgis/rest/services/utjsc_de/Grundkarte",
                proxyUrl: "ESRI_proxy.jsp"
            });

Is it possible to tell the js-api to use the proxy script for this "initial" info request?

Thanks!

I got the esri js api 3.14 deployed on a server and an application that is reachable over https.

Now I got a proxy script that delivers the map requests.

When you look at the requests of the page you can see that there is ONE request (an info request to the rest interace) that goes directly to the internalServer.

The Chrome Browser says: enter image description here

Firefox says:

enter image description here

I added the proxy script rule like this:

urlUtils.addProxyRule({
                urlPrefix: "http://srvutdemo102/arcgis/rest/services/utjsc_de/Grundkarte",
                proxyUrl: "ESRI_proxy.jsp"
            });

Is it possible to tell the js-api to use the proxy script for this "initial" info request?

Source Link

Why does the local esri ja api over https trigger an info request over http

I got the esri js api 3.14 deployed on a server and an application that is reachable over https.

Now I got a proxy script that delivers the map requests.

When you look at the requests of the page you can see that there is ONE request (an info request to the rest interace) that goes directly to the internalServer.

The Chrome Browser says: enter image description here

Firefox says:

enter image description here

I added the proxy script rule like this:

urlUtils.addProxyRule({
                urlPrefix: "http://srvutdemo102/arcgis/rest/services/utjsc_de/Grundkarte",
                proxyUrl: "ESRI_proxy.jsp"
            });

Is it possible to tell the js-api to use the proxy script for this "initial" info request?

Thanks!