-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
private deployment request error #69
Comments
Hey @BrightVan ! Thank you for reporting the issue, I assume you're using an older version of GitLab (i.e. lesser than v12). Could you please confirm your GitLab version? The reason the latter API wasn't used to form a tree was for optimization purposes. It returns an array of all the filepaths, and in case of repositories with larger number of files (i.e. greater than 10,000) it would require a lot of parsing. Therefore the |
Hey @tavyandy97 ! |
@BrightVan Is there any error message with the 404 error? Also, could you please match the API being called with the one mentioned in the documentation? |
@tavyandy97 |
@BrightVan Check the following links out |
i found the bug:
request like below, response 404 error.
i do not know why your request url contact with |
conclusion:
normal api:
both api work fine with gitlab.com but in my private deployment gitlab(i upgrade from 12.7.5 to 14.1.2) |
The This still seems to be a rails configuration issue on your private deployment. I do agree that instead of Could you confirm in your older Gitlab v12.x.x deployment whether a |
To answer your question, |
i see a old version(12.7.5) project screenshot, the project_id exist. and what rails configuration should i modefier? i can not find relevant document |
My bad, in the issue I mentioned earlier, one of the cases seems to be the I'll start working on the changes, and let you know when they've been released. Thanks again for reporting the issue 👍 |
Hey @BrightVan ! The issue has been resolved and merged. The version (v0.0.4.3) has been updated to the Chrome Webstore. Will be updating it on Mozilla Addons soon. Would appreciate it if you could verify the fix on your private deployment, and let me know if it works. Feel free to provide more feedback! Do spread the word about SpanTree 🌳 |
Hey @tavyandy97 Thank you for your work. i think it's gitlab's bug, the reason is the page is https, but the redirect url is http, chrome block it and gitlab's page does not add:
|
after swithing off Compat Mode, it work well, thanks |
Closing the issue for now. Feel free to open a new issue in case you run into an error or have any other concerns. Do spread the word about SpanTree 🌳 |
this requets url is not work. get status code 404
i found another extenssion
gitlab-code-view
, can work well,and it's request url like this:The text was updated successfully, but these errors were encountered: