angelruiz

com.esri.core.io.EsriServiceException: Proxy Authentication Required

Discussion created by angelruiz on Nov 6, 2012
My problem is that when I am trying to load a service hosted in an intranet network which requires proxy authentication, it gives
me this message
11-06 13:04:55.510: E/ArcGIS(12592): url =http://172.22.249.84:8399/arcgis/rest/services/GUII/GUII_CARTO/MapServer
11-06 13:04:55.510: E/ArcGIS(12592): com.esri.core.io.EsriServiceException: Proxy Authentication Required
11-06 13:04:55.510: E/ArcGIS(12592):  at com.esri.core.internal.b.a.b.a(Unknown Source)
11-06 13:04:55.510: E/ArcGIS(12592):  at com.esri.core.internal.b.a.e$1.handleResponse(Unknown Source)
11-06 13:04:55.510: E/ArcGIS(12592):  at com.esri.core.internal.b.a.e$1.handleResponse(Unknown Source)
11-06 13:04:55.510: E/ArcGIS(12592):  at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:657)
11-06 13:04:55.510: E/ArcGIS(12592):  at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:627)
11-06 13:04:55.510: E/ArcGIS(12592):  at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:616)
11-06 13:04:55.510: E/ArcGIS(12592):  at com.esri.core.internal.b.a.e.a(Unknown Source)
11-06 13:04:55.510: E/ArcGIS(12592):  at com.esri.core.internal.b.a.e.a(Unknown Source)
11-06 13:04:55.510: E/ArcGIS(12592):  at com.esri.core.internal.a.a.m.b(Unknown Source)
11-06 13:04:55.510: E/ArcGIS(12592):  at com.esri.android.map.ags.ArcGISDynamicMapServiceLayer.initLayer(Unknown Source)
11-06 13:04:55.510: E/ArcGIS(12592):  at com.esri.android.map.ags.ArcGISDynamicMapServiceLayer$1.run(Unknown Source)
11-06 13:04:55.510: E/ArcGIS(12592):  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
11-06 13:04:55.510: E/ArcGIS(12592):  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
11-06 13:04:55.510: E/ArcGIS(12592):  at java.util.concurrent.FutureTask.run(FutureTask.java:137)
11-06 13:04:55.510: E/ArcGIS(12592):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
11-06 13:04:55.510: E/ArcGIS(12592):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
11-06 13:04:55.510: E/ArcGIS(12592):  at java.lang.Thread.run(Thread.java:856)

I have already set the parameters for the proxy authentication because I am able to show the layers of that service through the
device browser, but not in the application, it seem like the proxy settings only make effect on the browser. I am using samsung S3 with ICS.

Thank in advance to any suggestions.

Outcomes