Grasshopper

algorithmic modeling for Rhino

When I plug the US Census Vectors into Get REST Service Layers, I get the error "The Request was Aborted: Could Not Create SSL/TLS Secure Channel."  Any idea on how to fix this?  Thanks!1.jpg

Views: 258

Replies to This Discussion

It appears the U.S. Census Bureau has moved from HTTP to HTTPS for their web servers.  I will need to tinker with Heron's get request code to work with HTTPS and create a "secure channel".  For now, the REST components will only work with HTTP websites.

Thank you for your reply,just for now are there anyother website I can use to creat layout?

Thank you & looking forward to new version of Heron's!!!

Hi Brian, did you already solve the https issue? 

THX!

Dear Brian,

Were you able to fix this issue?

Cheers,

Brent

Apologies for the *super* long delay on this!  After some testing, it appears the RESTLayer component does work with some HTTPS ArcGIS REST servers (such as this one: https://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/...), just not the one from the US Census.  I've found if I just add a couple lines of code (from here), the component will work as expected.  I will update this in the next version of Heron I am working on.

In the meantime, oddly enough, if you know the exact layer from the US Census HTTPS service you'd like query, the RESTVector component does still seem to work.  You could browse their services starting here: https://tigerweb.geo.census.gov/arcgis/rest/services.  Once you find the service you want, say Local Roads (https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/Trans...), you could plug the string into RESTLayer component, making sure to add a "/" to the end of the string.

Let me know if this helps.

Brian

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2019   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service