Comments (9)
@haroldyangui We are receiving this error message from GitHub:
{
"message": "Although you appear to have the correct authorization credentials, the `[redacted]` organization has an IP allow list enabled, and x.x.x.x is not permitted to access this resource.",
"documentation_url":"https://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-user-access-token"
}
So it appears that your organization has IP whitelisting configured on GitHub which means that we are not able to fetch the repositories list from Studio. I wasn't aware this was possible, but it seems like this is a feature of GitHub Enterprise Cloud.
- We don't handle this case gracefully and need to improve the error (and still show the repositories of the accounts / GH app installations that we did manage to fetch).
- We don't currently publish a list of all the IP addresses that we use to fetch data from SCM providers (we need to discuss if we can commit to publishing this list + making sure it's updated / doesn't change a lot)
from studio-support.
@duijf do you want to take this issue?
from studio-support.
@haroldyangui Github does not permit listing repositories for your DVC Studio installation, is it possible that installation is suspended or in some other weird state? You may try fixing this by going to your profile in DVC Studio and clicking configure button next to Github App here. You'll be redirected to a page on Github with DVC Studio Github App settings. You might need to unsuspend it or review or select accessible repos, if all that fails you can simply uninstall DVC Studio from your Github account and then install it again.
We don't handle this error properly now thus this unhelpful message, I'll look into that.
from studio-support.
@haroldyangui I also see that you have installed DVC Studio both into your personal and into an organization account. So need to check both. Not sure link above will guide you to both places (how does it work @duijf?), but it should be:
https://github.com/settings/installations and https://github.com/organizations/ORGANIZATION-NAME/settings/installations (Organization page -> Settings -> Installed Github Apps)
from studio-support.
Like I posted before, we don't have great error handling capabilities on this page yet. I will proceed with a quick fix to unbreak the create view page for you @haroldyangui so you'll be able to create views for repos outside of this specific GitHub org.
from studio-support.
@haroldyangui A fix to unbreak the "Create view" page for you is scheduled for tomorrow. After the fix, you will still be unable to see the repositories from the org with the IP whitelist, but at least you will be able to add new views for your other repos.
from studio-support.
@haroldyangui The "Create View" page should be unbroken for you now, but you will still not be able to view / add repositories for this specific organization until:
- The organization removes the IP whitelisting requirement.
- We publish a list of our IP addresses for the organization to include in their whitelisting policy.
Hopefully this gives you the chance to try out Studio and see whether you like it :)
Some follow up for us:
- Currently we just hide the specific organization if we fail to fetch it's data, but don't actually tell you why we cannot fetch certain GitHub organizations. There is an internal ticket to improve this and I will post a follow-up here once it has been implemented.
- We need to consider whether we're willing to publish a stable range of IP addresses that we use to import stuff from GitHub. I've filed #26 to track this.
For now, I will close this one as the most urgent part has been solved (and we have tickets for further improvement).
@haroldyangui Please feel free to re-open this issue if you feel like something is still left unaddressed 😄
from studio-support.
@duijf thank you for addressing this?
but don't actually tell you why we cannot fetch certain GitHub organizations.
how hard would it be to show that something is wrong with the connection (in the settings page?).
from studio-support.
how hard would it be to show that something is wrong with the connection (in the settings page?).
@shcheklein FYI I created this (internal) ticket to show it on the "Create new view" page: https://github.com/iterative/viewer/issues/2317
Having this on the settings page in addition means making external requests when the settings page is loaded or saving the results of the DB + having some sort of refresh mechanism. Both are possible, but it requires some work.
I would start with adding this to the "create new view" page on load, since we're making those external requests there already. We probably want some reporting on that page anyway, since the external requests we're making can fail for other reasons as well. (E.g. GitHub downtime currently means some repos would not be shown, also without a notice to the user).
from studio-support.
Related Issues (20)
- DVC garbage collection HOT 1
- Share credentials HOT 2
- Embed GitHub/GitLab/Bitbucket context
- Can't open help chat HOT 3
- Metric or plot files missing from DVC project HOT 5
- Plots in studio are not correct and missing data HOT 7
- Can't see any live updates HOT 17
- Filter commits by commit message HOT 4
- How can I access the model files from Studio model registry? HOT 28
- After re-adding a project to Studio I still see old commits HOT 1
- No permission to fetch remote data HOT 12
- New model never shows up in Studio HOT 14
- How is the model registry in Studio supposed to be used? HOT 7
- Show missing data for pushed experiments HOT 15
- Add support for shap interactive plots HOT 3
- Do we need to track DVCLive files for Studio? HOT 3
- How can a dev pushing to the repo provide his Studio token to the Github action for CML? HOT 3
- DVCLive metrics don't show up in Studio's column selection HOT 26
- New model never leaves "queued" state HOT 7
- 5000 column limit HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from studio-support.