-
Notifications
You must be signed in to change notification settings - Fork 177
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
Fails to fetch defaultVersion.bookworm.txt #2270
Comments
This is the error from build-debug.log
|
Same story with NodeJS App Service. While the quoted docs say
It looks like a bug but in case it's by design: please, define better in the docs what steps need to be done to "allow outbound access from the webapp to oryx-cdn.microsoft.io on port 443" because it's not clear. Edit: |
I've started having the same issue as of today, no issues for months prior. However, mine is a NodeJS application so I find it strange that its doing version checks against python:
|
Same as @codylittle im facing the same issue for a node js app |
Sorry for the slow reply. A fix was pushed to make https://oryx-cdn.microsoft.io/python/defaultVersion.bookworm.txt available. Could someone reproducing this issue please give it another try? |
Hey @daniv-msft - running the same azure pipeline I now get:
I'm quite confused why this is happening on a nodejs (works on LTS 18, but not LTS 20) webapp. |
Thanks @codylittle! @cormacpayne, I remember that we changed the way we validate the runtime version recently. Do you think it could be related? |
I will say—my issue only showed up after upgrading from 18 to 20. However, the bug disappeared about 12 hours after I originally reported it. I kept redeploying and eventually it "magically worked". I was making minor changes to the pipeline and that sort of thing, but I can't remember much, other than that it suddenly started working. |
I am having the exact same issue right now... Would love if someone could properly isolate this. Can't seem to get it right. The error is:
Note that I am not using VNET or App Environment, and that my networking config looks exactly like @ilonatommy 's |
I'm having the same issue in here with a nodejs 20lts version. any1 knows how to solve this or its just a fix that we will have to wait?
|
@GNSBENV It might not be the most convenient solution as builds take longer, but after experiencing many issues with building from code I found it's easiest to just pop a Dockerfile into the project and serve with nginx, something like
Then I just set up automated builds for the project repo in docker hub, got an access token and the webhook address from the webhooks tab, and set my Azure app with continuous deployment of that image. You might need to configure nginx.conf to serve your app correctly |
Thanks @cormacpayne for investigating this separately. This issue is trickier than initially expected. Long story short, this is very likely related to Node20 using a different base OS (Debian Bookworm) than Node 18 (Debian Bullseye). The best solution we have is to add support for these other languages on Bookworm as well, and we're working on that. Alternatively, if removing the other non-Node20 files is a possibility, that should be sufficient to remove the issue. I know that it's not a great workaround, so we're pushing to get the Bookworm images available ASAP. |
Bug Report
At what date and time did you most recently experience the problem? Nov 29, 1 AM CST
Where did you experience the problem? E.g. Azure Web Apps, Azure Functions, Azure Container Registry, or offline use.
Azure web apps
If your repo is publicly available please share its URL:
What happened?
Refuses to deploy. I get this error: Error: System.AggregateException: Http request to retrieve the default version from 'https://oryx-cdn.microsoft.io/python/defaultVersion.bookworm.txt' 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'
Nothing is at that url https://oryx-cdn.microsoft.io/python/defaultVersion.bookworm.txt
What did you expect or want to happen?
How can we reproduce it?
Do you have log output? Please include between the backticks:
The text was updated successfully, but these errors were encountered: