AL-Go version
9.0
Describe the issue
Without adjusting any settings - other than githubRunner - our authentication with github through our own GH-app fails, simply by switching from windows-latest to self-hosted. Specifically during the "Download Project Dependencies" step, which we have setup to download one of our AppSource apps from its own repo (from the same GH org) using the probing paths setting.
The error seems to be an authorization error at first (http 401), but when running the connection from my own PC (on the same network as the self-hosted runners) the github API returns unprocessable (http 422).
This has always worked just fine in the past but since we have moved from GH-hosted to self-hosted this has been giving us trouble. Up until about last week I thought this might be a network-related issue, but we have since gotten a new (way faster) connection and we experience no other networking issues.
Our ghTokenWorkflow secret is stored in Azure, but this connection seems to be fine, and the secret value is retrieved and masked.
Attaching two log downloads, one for a failed self-hosted PR build, and one for a cancelled GH-hosted PR build where the download dependencies succeeded.
Expected behavior
Authentication should keep working... right?
Steps to reproduce
- PTE repo with probing paths setup to another AL-Go repo for an AppSource app
- Setup authentication to GH through a GH-app, with the ghTokenWorkflow secret stored in Azure
- Have a successful CI/CD run in the AppSource app repo
- Create a PR for the PTE, and run the PR build
Additional context (logs, screenshots, etc.)
Self-hosted PR build (failed).zip
GH-hosted PR build (cancelled).zip
Also see #2271
AL-Go version
9.0
Describe the issue
Without adjusting any settings - other than
githubRunner- our authentication with github through our own GH-app fails, simply by switching fromwindows-latesttoself-hosted. Specifically during the "Download Project Dependencies" step, which we have setup to download one of our AppSource apps from its own repo (from the same GH org) using the probing paths setting.The error seems to be an authorization error at first (http 401), but when running the connection from my own PC (on the same network as the self-hosted runners) the github API returns unprocessable (http 422).
This has always worked just fine in the past but since we have moved from GH-hosted to self-hosted this has been giving us trouble. Up until about last week I thought this might be a network-related issue, but we have since gotten a new (way faster) connection and we experience no other networking issues.
Our ghTokenWorkflow secret is stored in Azure, but this connection seems to be fine, and the secret value is retrieved and masked.
Attaching two log downloads, one for a failed self-hosted PR build, and one for a cancelled GH-hosted PR build where the download dependencies succeeded.
Expected behavior
Authentication should keep working... right?
Steps to reproduce
Additional context (logs, screenshots, etc.)
Self-hosted PR build (failed).zip
GH-hosted PR build (cancelled).zip
Also see #2271