Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add ncWMS endpoint to ESRI web app #1

Open
rsignell-usgs opened this issue Apr 10, 2017 · 4 comments
Open

Can't add ncWMS endpoint to ESRI web app #1

rsignell-usgs opened this issue Apr 10, 2017 · 4 comments
Assignees

Comments

@rsignell-usgs
Copy link
Member

rsignell-usgs commented Apr 10, 2017

I tried going to the Wetlands Synthesis Portal at http://arcg.is/2nZ0A1Q (built with ESRI App Builder), clicked the "Add Data" icon and tried to add this THREDDS ncWMS endpoint:

http://geoport-dev.whoi.edu/thredds/wms/sand/usgs/users/zdefne/run076/00_dir_roms.ncml?SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.3.0

The app gives a 500 error, and using the developer tools shows that it's issuing this request:
https://usgs.maps.arcgis.com/sharing/proxy?http://geoport-dev.whoi.edu/thredds/wms/sand/usgs/users/zdefne/run076/00_dir_roms.ncml?SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.3.0

@zdefne-usgs, can you try to figure out why?

2017-04-10_10-52-36

@zdefne-usgs
Copy link
Member

zdefne-usgs commented Apr 10, 2017

The address of the layer to add is http, but the resulting request generated automatically is for https.

@rsignell-usgs
Copy link
Member Author

Ah, interesting. I wonder why App Builder is doing that. Can you do a google search to see if that's a known bug and report back here?

@zdefne-usgs
Copy link
Member

I did a bit of a web search on it, but couldn't come across anything related. Left a comment for Esri on the tool's page...

@zdefne-usgs
Copy link
Member

Actually, this looks related...
"Yes. Web AppBuilder supports SSL-enabled access to online organizations or Portal for ArcGIS. The HTTPS request is required when the URL to the organization or Portal for ArcGIS is specified."
https://developers.arcgis.com/web-appbuilder/guide/faqs.htm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants