-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
Issue when running behind Nginx Reverse Proxy #95
Comments
Hey, thanks 👋 Reposilite also displays this page if the requested file is not found. The error might be a result of modified uri, could you make a request to this metadata file, but with |
Hey, it returns the following: {
"type":"file",
"name":"maven-metadata.xml",
"contentLength":609
} |
Could you display the value of |
It seems that I forgot that I had enabled authentication, so it makes sense that I could not access it through the web interface, although I can list every folder and repository. But when I try to compile a maven project with a dependency from the repository (with authentication set up in the settings.xml), it says that the artifact was not found:
|
The security issue related to the lack of auth process for Are you sure that the |
Could you run your maven build with enabled debug ( Well, if you are not using the proper SNAPSHOT releases, you should keep them in your |
I have attached the output log: |
Could you try 2.5.1? https://repo.panda-lang.org/org/panda-lang/reposilite/2.5.1/reposilite-2.5.1.jar |
I have uploaded the log: https://pastebin.com/kMi7GQzZ |
Reposilite does not use local metadata files anyway, so it doesn't matter. Ok, well... the problem is that because of the I'll probably implement it in 2-4 days, because I'm a little bussy at this moment. As a workaround you can just temporarily remove the |
Thank you very much, take your time! |
Could you try to use https://repo.panda-lang.org/org/panda-lang/reposilite/2.5.2/reposilite-2.5.2.jar? It generates fake metadata file for this kind of requests, maybe that's enough. |
It seems to be working, great! Although when my project fetches the dependencies it gives a warning saying that Checksum validation failed on the maven-metadata.xml. That might not be related to the recent changes because I seem to remember seeing those warnings in the 2.5.0 release. Is this a known issue? |
Checksum validation always fails, because Reposilite doesn't trust the metadata files offered by client - its generated by server, based on the repository content to ensure consistency. It's fine and it does not affect your builds. |
I've released official 2.5.2, it contains some changes comparing to the version above. |
Hello, I was trying the repository manager and for the most part everything seems pretty fine, but when I tried using with the Nginx reverse proxy everything worked but the files could not be retrieved. Seems like the server interpreted the request as a folder instead of giving me the raw file:
My current nginx settings are the following:
Thanks again for the project, and I will try to investigate the issue myself too.
The text was updated successfully, but these errors were encountered: