Select to view content in your preferred language

Unable to connect to Microsoft Planetary Computer STAC API

2074
1
03-05-2025 01:05 AM
Labels (2)
Fahad_Dalbouh
Emerging Contributor

Hi Rohan and David,

@RohanGanapathy  @DavidWright

I followed your instructions on the blog regarding STAC (https://www.esri.com/arcgis-blog/products/arcgis-pro/imagery/introduction-to-the-stac-ui-in-arcgis-p... ). I am unable to connect to a STAC API using the default Microsoft Planetary Computer STAC API or any other resources. I keep getting the below error:

Failed to retrieve collections from C:\Users\xyzxyz\Documents\WorkArea\ArcPro_Projects\STAC API\MyProject\xyzx.astac. The proxy tunnel request to proxy 'http://beyond.xyzx.com.xy:9090/' failed with status code '407'."

 

can you please point out how can i resolve this issue.

 

Thanks in advance

Tags (4)
0 Kudos
1 Reply
Youssef-Harby
Emerging Contributor

Hey @Fahad_Dalbouh, you're actually the reason I looked deeper into this issue! Thanks again for reaching out on WhatsApp and bringing it to my attention 🙌

To make things easier for everyone working with Microsoft Planetary Computer STAC in ArcGIS Pro, I ended up building a lightweight proxy that handles SAS tokens, signs URLs, and avoids CORS issues .. all automatically.

You don’t need to worry about ACS files or token vending manually — just run the proxy and connect your ArcGIS Pro file to http://localhost:8080/api/stac/v1/.

I made a quick video to show how it works: https://youtu.be/CeIfDvK1F2U
And here’s the GitHub repo: https://github.com/Youssef-Harby/ms-stac-proxy

Would love your feedback if you get the chance to try it!

https://www.linkedin.com/in/youssef-harby/
Tags (1)
0 Kudos