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

Unable to retrieve SDKs from oryx-cdn #2443

Closed
Developer4190 opened this issue Jun 3, 2024 · 7 comments
Closed

Unable to retrieve SDKs from oryx-cdn #2443

Developer4190 opened this issue Jun 3, 2024 · 7 comments

Comments

@Developer4190
Copy link

On build encountering an issue:

'Http request to retrieve the SDKs available to download from: 'https://oryx-cdn.microsoft.io' failed.

This is happening for all function app and seems to be a new issue (within the last 2 weeks).

Please advise, this does not appear to be a firewall issue as I can ping the endpoint indicated ok.

@Developer4190 Developer4190 changed the title Unable to retrieve SDKs from oryx-can Unable to retrieve SDKs from oryx-cdn Jun 3, 2024
@aderici
Copy link

aderici commented Jun 8, 2024

In my case it was a B1 tier app service (not a function app), upgrading to a higher tier fixed the issue.

@mpwillia
Copy link

mpwillia commented Jun 8, 2024

Same issue happened out of the blue. Deployments worked perfectly fine yesterday and today they stopped working. We've made no changes to our infrastructure. Has been working without problems for many months.
It's vnet integrated and our outbound NSG is wide open. We're running elastic premium EP1 app service plan & function app

  • If I SSH to the function app through the portal I can curl https://oryx-cdn.microsoft.io/ without issue.
  • If I SSH to a devbox on the same vnet, it can curl https://oryx-cdn.microsoft.io/ without issue.
  • Our function app is currently deployed with code that makes outbound networking calls just fine. These continue to run despite no new code being able to be built & deployed.
  • Tried changing tiers and plans as @aderici suggested to no success.

@mpwillia
Copy link

Same issue happened out of the blue. Deployments worked perfectly fine yesterday and today they stopped working. We've made no changes to our infrastructure. Has been working without problems for many months. It's vnet integrated and our outbound NSG is wide open. We're running elastic premium EP1 app service plan & function app

  • If I SSH to the function app through the portal I can curl https://oryx-cdn.microsoft.io/ without issue.
  • If I SSH to a devbox on the same vnet, it can curl https://oryx-cdn.microsoft.io/ without issue.
  • Our function app is currently deployed with code that makes outbound networking calls just fine. These continue to run despite no new code being able to be built & deployed.
  • Tried changing tiers and plans as @aderici suggested to no success.

The issue appears resolved with no changes on my end, perhaps an issue on https://oryx-cdn.microsoft.io/ side?

@Developer4190
Copy link
Author

This seems resolved for us. Closing.

@ShadowSonata
Copy link

I still have this issue (sorry I also commented on #2456) when deploying a node.js web app.

Error: Oops... An unexpected error has occurred. Error: System.AggregateException: Http request to retrieve the SDKs available to download from 'https://oryx-cdn.microsoft.io' failed. Please ensure that your network configuration allows traffic to required Oryx dependencies, as documented in 'https://github.com/microsoft/Oryx/blob/main/doc/hosts/appservice.md#network-dependencies' System.AggregateException: One or more errors occurred. (A task was canceled.)

Someone mentioned the B1 tier web app could be the issue but it was working before with the B1 tier web app. I also checked the network security group settings in the vnet it looks fine to me.

@aderici
Copy link

aderici commented Jun 13, 2024

Faced this in a production tier app as well, it was p2 tier, changed to p3 and it worked

@ShadowSonata
Copy link

Thank you. I think in my case it was a NSG setting that I didn't notice has blocked Internet access. However, it seems I couldn't update NSG policy easily with service tags etc.
(See #1585 )

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

4 participants