laptop and a wrench

Erro

When using Web AppBuilder for ArcGIS Developers edition 1.2 with Portal for ArcGIS and ArcGIS for Server 10.3.1, both secured with integrated windows authentication (IWA) on separate machines and are not federated, a query from the query widget with a response number of features over a certain size will fail returning the error “401 unauthorized” as it switches the GET request to a POST request and it is passed through the proxy. The failure is due to the fact that this request is passed through a proxy that is unable to authenticate against the ArcGIS Server secured at the web-tier with IWA.

Última Publicação: June 17, 2016 ArcGIS Web AppBuilder developer edition
Número de ID do Erro BUG-000090121
EnviadoAugust 20, 2015
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS Web AppBuilder developer edition
Versão encontrada1.1
Versão FixaDev 1.3
StatusFixed

Solução Provisória

1) Pass username, password, and domain in the proxy.config of a Microsoft .Net proxy to allow authentication for users to avoid the error “401 unauthorized”. 2) Modify proxy.ashx to automatically pull and pass windows authentication. 3) Modify ‘/jimu.js/main.js’ of the application code to add the prefix of the requesting ArcGIS for Server REST URL to Cross Origin Resource Sharing (CORS) enabled servers so that the request is never sent in the first place: // path for service from web-tier (IWA/PKI/LDAP) arcgis server // supt05320.esri.com is the associated window.esri.config.defaults.io.corsEnabledServers.push({ host: "supt05320.esri.com", withCredentials: true });

Etapas para Reproduzir

ID do Erro: BUG-000090121

Software:

  • ArcGIS Web AppBuilder developer edition

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download