PSU-CSAR / vb-bagis

Source code for BAGIS V3 ESRI Add-In
0 stars 1 forks source link

AGOL TLS 1.2 impact - Unable to save the settings when using default settings #80

Closed jdduh closed 4 years ago

jdduh commented 4 years ago

Using BAGIS 3.4 b2 on ArcMap 10.5.1. The URL to the gauge station is:

https://services.arcgis.com/SXbDpmb7xQkk44JV/arcgis/rest/services/stations_USGS_ACTIVE/FeatureServer/0

image

lbross commented 4 years ago

I checked the url to make sure it is correct; ie: pointed to nrcs.maps.arcgis.com and it is. I was able to successfully load and save the default settings this morning. I wonder if arcgis.com was having problems over the weekend? Please try again and let me know how it goes.

jdduh commented 4 years ago

Is it related to the awdb_id field missing from the stations_USGS_ACTIVE layer?

image

I downloaded the stations_USGS_ACTIVE from NRCS NWCC ArcGIS Hub. When using that layer as the gauge station layer, BAGIS gave me this error message.

image

lbross commented 4 years ago

This makes no sense to me. Assume you are getting these errors this morning. I was just able to successfully load/save the settings. All it is looking for when loading the settings is a feature service that it can connect to. Can you send me your basinanalyst.def?

Also, what version of ArcMap are you using? I am testing on 10.5.

Are you trying to use awdb_id for the name? Our default settings have 'name' for the name field. It looks like awdb_id has never been a field in the usgs web service. Take a look at issue #79 and see if that provides some clarification. If the 'name' field is set to a field that doesn't exist on the web service, that would probably prevent it from validating.

jdduh commented 4 years ago

I'm using 10.5.1 with BAGIS 3.4 b2. My basinanalyst.def file is attached. I'm sure that the webservice was working when the error occurred.

basinanalyst.txt

jdduh commented 4 years ago

If I manually edit the basinanalyst.def file and put the webservice as the gauge station source data, then I got this error message. My ArcMap is not connected to any enterprise AGOL.

image

jdduh commented 4 years ago

This is the BAGIS version that I have. Is there a newer version? image

This is the information shown in the Addin Manger. image

lbross commented 4 years ago

Yes. There is a newer version. I wonder if your ArcMap is holding onto this old version for some reason? Make sure it is completely gone before trying to install the latest version from the FTP server. The latest version is BAGIS_3.4-b3.esriAddIn from Feb 20 of this year. I also uploaded my basinanalyst.def file (that works) to the same folder as the add-in on basins: /BAGIS/BAGIS_addins/For ArcGIS10.5.X and later

Please let me know if upgrading to the newer version helps.

jdduh commented 4 years ago

Still no luck! Can you confirm that the latest BAGIS release's About dialog window still shows Release 3.2 (L039)? This is such a bizarre puzzle! I will do more troubleshooting and report back.

image

jdduh commented 4 years ago

This must be related to ArcGIS Online's switch to TLS 1.2. I'm patching my 10.5.1 and will close the case if that was the cause.

https://community.esri.com/thread/233094-underlying-connection-was-closed-while-loading-content-from-agol

jdduh commented 4 years ago

Mystery solved. The TLS 1.2 patch resolved the problem. Sorry for causing the confusion...

lbross commented 4 years ago

Good sleuthing! Now we just need to remember this solution if a user encounters this problem :-)