geometalab / ArcGISConnector-QGIS-Plugin

"ArcGIS REST API Connector" (beta) - a QGIS-Plugin which reads "Feature Service" and "Map Service" - aka WFS- and WMTS-alike services - from ArcGIS Online or ArcGIS Server.
http://giswiki.hsr.ch/QGIS_ArcGIS_REST_API_Connector_Plugin
27 stars 7 forks source link

Connect button is greyed out when the layer url requires credential #15

Open zen-coder-x opened 8 years ago

zen-coder-x commented 8 years ago

I tested a layer URL that does not require credential and it worked fine.

It failed when I tried it with a Layer URL that requires credential. It pops up the username and password to fill in. The Layer Name had to be populated manually whereas the non-credential layer URL will populate the layer name automatically I have tried different attempts but the connect button didn't seem to activate.

url was: https://services.slip.wa.gov.au/arcgis/rest/services/WP_Public_Secure_Services/WP_Public_Secure_Services/MapServer/1

sfkeller commented 8 years ago

Hi @educit . It seems that you found at least a missing catch in the code when there's a problem with authentication services. Note that the plugin (and QGIS in general) supports only HTTP basic authentication and NTLM authentication. Is there a public login to the URL of WA.gov.au you provided?