Deprecation link header on Azure endpoint has wrong URL #189405
Replies: 4 comments
-
|
This appears to be an Azure Models API bug or deprecated endpoint configuration. The header points to github.blog instead of models.github.ai. Quick workaround:
For GitHub team: Recommendation:
|
Beta Was this translation helpful? Give feedback.
-
|
the github.blog link is fine, as explained above the incorrect URL is the one with github.models.ai |
Beta Was this translation helpful? Give feedback.
-
|
This is a server-side routing bug on the Azure gateway. The subdomain got flipped during the deprecation rollout. I hit the exact same TLS SNI error when my migration script followed the header last week. You cannot fix the header yourself since it is injected by their edge nodes. I would hardcode The intermittent behavior happens because the header only attaches when their deprecation feature flag is active on that specific regional node. The GitHub Models team is tracking the typo internally. I would recommend ignoring the alternate link entirely until they push a gateway fix. |
Beta Was this translation helpful? Give feedback.
-
|
Nice catch. If the rel="alternate" header sometimes points to github.models.ai but the working endpoint is models.github.ai, that sounds like a server-side header/configuration bug rather than something client code can fix cleanly. Until GitHub or Microsoft corrects it, I’d hardcode https://models.github.ai/inference during migration instead of blindly following the intermittent alternate link. Your curl reproduction is exactly the kind of detail support needs, especially because the bug is intermittent. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The
linkresponse header onmodels.inference.ai.azure.comcontains a swapped subdomain.Actual header:
Problem:
github.models.aidoes not resolve (TLS SNI error). The correct URL ismodels.github.ai.Expected header:
Reproduction:
Note: the header appears intermittently — not every response includes it.
Anyone migrating programmatically by following the
rel="alternate"link will hit a dead endpoint.Beta Was this translation helpful? Give feedback.
All reactions