You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "Suhasr76 (via GitHub)" <gi...@apache.org> on 2023/02/23 03:42:59 UTC
[GitHub] [incubator-devlake] Suhasr76 opened a new issue, #4499: [Bug][Github] Github Connection not working, PAT is not being validated
Suhasr76 opened a new issue, #4499:
URL: https://github.com/apache/incubator-devlake/issues/4499
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
### What happened
I work in a organisation, and when I tried to add a github connection by following the docs, the PAT is not validated
<img width="274" alt="Screenshot 2023-02-20 at 9 01 10 AM" src="https://user-images.githubusercontent.com/56556749/220816125-a4702cb2-6f9a-4191-a0a3-f665c9083f2c.png">
This bug might be because, the org uses few https certificates for https requests, so is there a way to upload these certificates during initiating a connection.
### What do you expect to happen
- Able to use above mentioned https certificates for required connection (this is applicable for Bitbucket also)
- A option in the connections page where we can upload the https certificates which can make the github connection possible
### How to reproduce
- Initiate the github connection
- Generate and Use PAT to authenticate
- But for our organisation, PAT is not being validated
### Anything else
_No response_
### Version
main
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] Suhasr76 commented on issue #4499: [Bug][Github] Github Connection not working, PAT is not being validated
Posted by "Suhasr76 (via GitHub)" <gi...@apache.org>.
Suhasr76 commented on issue #4499:
URL: https://github.com/apache/incubator-devlake/issues/4499#issuecomment-1441718808
Hi @mappjzc, since we are using github enterprise and my github account is from the same enterprise, I used `https://hostname/api/v3/` and it seems to be working now, but before I used different endpoint.
And also, `https://api.github.com` didn't work for a PAT generated from personal github account. What might be the reason for that?
Thanks for your help!!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug][Github] Github Connection not working, PAT is not being validated [incubator-devlake]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4499:
URL: https://github.com/apache/incubator-devlake/issues/4499#issuecomment-1982083773
This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] mappjzc commented on issue #4499: [Bug][Github] Github Connection not working, PAT is not being validated
Posted by "mappjzc (via GitHub)" <gi...@apache.org>.
mappjzc commented on issue #4499:
URL: https://github.com/apache/incubator-devlake/issues/4499#issuecomment-1441808387
> Hi @mappjzc, since we are using github enterprise and my github account is from the same enterprise, I used `https://hostname/api/v3/` and it seems to be working now, but before I used different endpoint.
>
> And also, `https://api.github.com` didn't work for a PAT generated from personal github account. What might be the reason for that?
>
> Thanks for your help!!
I don't know what is your meaning about `didn't work for a PAT generated from personal GitHub account`. Can you show more details?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] commented on issue #4499: [Bug][Github] Github Connection not working, PAT is not being validated
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4499:
URL: https://github.com/apache/incubator-devlake/issues/4499#issuecomment-1507758062
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] klesh commented on issue #4499: [Bug][Github] Github Connection not working, PAT is not being validated
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #4499:
URL: https://github.com/apache/incubator-devlake/issues/4499#issuecomment-1445851136
Hi, @Suhasr76 , Would you mind sharing your `curl` command? Thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] mappjzc commented on issue #4499: [Bug][Github] Github Connection not working, PAT is not being validated
Posted by "mappjzc (via GitHub)" <gi...@apache.org>.
mappjzc commented on issue #4499:
URL: https://github.com/apache/incubator-devlake/issues/4499#issuecomment-1441472213
Thanks for your valuable feedback and suggestion.
Make sure the endpoint of the GitHub connection was `https://api.github.com/`
Make sure you can use `curl` or `postman` to access the URL `https://api.github.com/user` success with your token.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] closed issue #4499: [Bug][Github] Github Connection not working, PAT is not being validated
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #4499: [Bug][Github] Github Connection not working, PAT is not being validated
URL: https://github.com/apache/incubator-devlake/issues/4499
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug][Github] Github Connection not working, PAT is not being validated [incubator-devlake]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4499:
URL: https://github.com/apache/incubator-devlake/issues/4499#issuecomment-1873538829
This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] Suhasr76 commented on issue #4499: [Bug][Github] Github Connection not working, PAT is not being validated
Posted by "Suhasr76 (via GitHub)" <gi...@apache.org>.
Suhasr76 commented on issue #4499:
URL: https://github.com/apache/incubator-devlake/issues/4499#issuecomment-1444999286
In the sense, initially I tried to add 2 github connections
- One with my personal github account, with endpoint `https://api.github.com/` and PAT generated from this account, and this one didnt work in the `config-ui`, but I was able to use `curl` to access this token
- Second one was with my enterprise given github account and their endpoint `https://hostname/api/v3/` and PAT generated from that account. This worked with both the `config-ui` and `curl`.
The first connection showed this error
<img width="274" alt="Screenshot 2023-02-20 at 9 01 10 AM" src="https://user-images.githubusercontent.com/56556749/221340074-dbcffd1f-0f23-4e80-8eb8-ff84ce2d4b3b.png">
And this was the log in `devlake.log`
![Screenshot](https://user-images.githubusercontent.com/56556749/221340087-bc5bc6c5-fb5d-45ec-8dea-e7406d5ab384.png)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] commented on issue #4499: [Bug][Github] Github Connection not working, PAT is not being validated
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4499:
URL: https://github.com/apache/incubator-devlake/issues/4499#issuecomment-1499783192
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug][Github] Github Connection not working, PAT is not being validated [incubator-devlake]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4499:
URL: https://github.com/apache/incubator-devlake/issues/4499#issuecomment-1998681886
This issue has been closed because it has been inactive for a long time. You can reopen it if you encounter the similar problem in the future.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug][Github] Github Connection not working, PAT is not being validated [incubator-devlake]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #4499: [Bug][Github] Github Connection not working, PAT is not being validated
URL: https://github.com/apache/incubator-devlake/issues/4499
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org