-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
My repo is marked as (inaccessible) even if I created the "correct" token #489
Comments
Hi, and sorry for the very late reply - can you check the API log from the "Misc" tab in preferences to see what kind of error you get from the API when trying to access that repo info? |
Hi, no worries about the delay and thanks for your reply 🙂 First of all, to have a cleaner logs, I marked as "Hide" all the repositories except the one I'm interested in. Once I've done that, I clicked on the "Refresh" menu option and I got this in the logs:
This is what I see in "Repositories" settings (oh, by the way... if there was a way to completely remove all the other entries, that would be great. I had to manually Hide all of them, one bye one 😓) Another information I can give you is that the "inaccessible" repository is part of an organisation and that the repository is private. Does it need specific/additional permissions (other than those I specified as in my first comment here) ? Thanks |
Hi, and thanks for your detailed reply! Thanks for hiding the others for clarity, but Trailer does incremental syncs, so just doing a simple refresh won't try to re-fetch that repo's data, sorry for not pointing it out before. To make sure Trailer re-scans everything, could you see what you get when you select "re-scan now" from the advanced menu? After that, could you try selecting the "reload all data" from the Misc section and keep an eye on any weird messages? To your point about the repo being in an org, that shouldn't be an issue, as long as you are using a token for a user who is a member of that org and has access to the repo. If that is on a different account, you can add a new server entry for the other account and just add that repo, Trailer will merge all of that info. Let me know how this goes, if none of this helps we'll keep digging 👍 |
Ok, now there are definitely more logs available but I'm not sure I can simply copy paste them here (the include a lot of repositories names which are not supposed to be public). Is there anything specific I should look for? ie: if the repo I'm interested in is named MY_REPO, what exactly should look for in the log? p.s: I'll see if I can sanitise the logs and replace my org and my repo with MY_ORG and MY_REPO |
p.s: meanwhile I can paste you this from the logs: |
Yes please, don't post logs with private info here - But if you are OK with me seeing them please feel free to email them over to ptsochantaris at me dot com and I'll happily take a look. |
How this is going? I have the same issue |
@javierlopezdeancos Hi, do you have any logs related to this issue? Is there perhaps some way I can try to replicate this? |
I had the same issue. What I ended doing was regenerating the token, using API v4 and syncing again. worked like a charm! (i don't have logs, no idea where to get them) |
@othonreyes thanks a lot for sharing this, it may help others who run into the issue. I strongly suspect GitHub at some point modified access permissions which required tokens to be re-created to maintain access to various things... but would love to know more about the root cause. If you do run into problems, you can always go to Misc->Stream Log and copy all or parts of your log that you think are related to the issue, it can definitely help debug or replicate stuff. |
I had this issue as well. There were no obvious errors in the log stream after "Reload all data". The repo just said "Inaccessible". I enabled v4, which did not work. Then I regenerated the token and did "Reload All Data", that fixed it 👌 |
Hi, I created the GitHub token using the requested permissions in the first dialog (which are also the same mentioned here #432 (comment) ) and I've added the repository I'm interested in. But there is a problem: the repository appears as "(inaccessible)" in the list and no notifications are coming from that repo. How do I fix this? Thanks
The text was updated successfully, but these errors were encountered: