api gets stuck on trying to get a repository #1406
-
Hey everyone, I'm having some issues using the api. I'm trying to gather update information from a github page but it seems to get stuck at the point i call the getRepository method. The odd thing is that it works sometimes, but most of the time it doesnt. I'm also having difficulties with the .path filter for the .queryCommits, it either gives me errors or does nothing whatsoever. Its not in the code in this example but the folder I'm trying to filter for is this one: https://github.com/Rick-GO/GOcontroll-Moduline/tree/master/usr/module-firmware. my code: `
` logcat: D/MainActivity: CompareVersion: starting to compare version |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
That might well be your issue: You should authenticate with a token. Anonymous access is a lot more chaotic and is rate limited a lot. |
Beta Was this translation helpful? Give feedback.
That might well be your issue:
GitHub.connectAnonymously();
.You should authenticate with a token. Anonymous access is a lot more chaotic and is rate limited a lot.