AnsweredAssumed Answered

Requests going through incorrect protocol since 3.21

Question asked by bgfield on Jun 19, 2018

My webmaps and map services are hosted on the same domain, but different protocols (the web maps are hosted under "http:\\..." while the map services are under "https:\\...").  In the past this has never been an issue, but if I attempt to create a map using v3.21 or above of the API, whenever I attempt to add a layer through esri.layers.ArcGISDynamicMapServiceLayer, even though the service URL includes the https, the request is actually made to http:\\... and I get a 404 error. Since I don't really have any access to the servers, this means I simply can't use newer versions of the API when designing my maps.


Is there a work-around for this?