You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"success": false,
"message": "invalid private key (400)\nWraps: (2) invalid key: Key must be a PEM encoded PKCS1 or PKCS8 key\nError types: (1) *hintdetail.withDetail (2) *errors.errorString",
"causes": null,
"data": null
}
Re-editing the connection also shows private key and id as invalid, even though just re-pasting the key works
It seems like something get's messed up when the key is saved. It also adds an additional token field to the request if that makes any difference.
In 0.18.0 we could add this app successfully but we had to manually search for repos. We are hoping this version would solve that.
Trying to add data scopes generates
TypeError: (n ?? []).map is not a function
But since the test is failing previously I think that is expected
What do you expect to happen
We should be able to reliably save the connection for the Github App in version 0.21
tcvall86
changed the title
[Bug][Github] In version 0.21.0 github app payload adds empty token on subsequent tries
[Bug][Github] In version 0.21.0 github app payload adds empty token on subsequent tries and fails to load private key
May 6, 2024
Search before asking
What happened
When adding a connection to Github Cloud using Github App - test and connection works.
However in subsequent tests we get
Re-editing the connection also shows private key and id as invalid, even though just re-pasting the key works
It seems like something get's messed up when the key is saved. It also adds an additional token field to the request if that makes any difference.
In 0.18.0 we could add this app successfully but we had to manually search for repos. We are hoping this version would solve that.
Trying to add data scopes generates
TypeError: (n ?? []).map is not a function
But since the test is failing previously I think that is expected
What do you expect to happen
We should be able to reliably save the connection for the Github App in version 0.21
How to reproduce
Add a github app with required scopes https://devlake.apache.org/docs/v0.18/Configuration/GitHub/#github-apps and then try to add app as connection. After saved, re-test and it fails.
Anything else
All the time as far as we can tell
Version
v0.21.0
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: