Closed iamlinguo closed 10 months ago
Hello,
i have the same Problem. Setup and connection to the 2.0 Collaboration Server went seamless. Git push doesn't work for me though.
You are using the same credentials, with which you can login to the web interface?
Yes, exactly. The Login in the Webinterface works fine for Admin as well as for the user i created.
Sebastian Greve @.***> schrieb am Di., 15. Aug. 2023, 12:16:
You are using the same credentials, with which you can login to the web interface?
— Reply to this email directly, view it on GitHub https://github.com/GreenDelta/olca-app/issues/345#issuecomment-1678713589, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALIBPOFFFFUZHV4YYZBKZRDXVND7PANCNFSM6AAAAAA3LIY55I . You are receiving this because you commented.Message ID: @.***>
Did you install Java JDK or JRE on the server? I found an article describing an issue with JGit authentication when using the JRE
this is the java version running on the system:
I tested this with OpenLCA 2.0 and 2.0.1. No luck unfortunately.
I have installed the same java version, this should not be the issue. Are you behind a firewall or proxy? I can't reproduce the problem
Definitely no proxy. I also deactivated https and used the Linux Server machine to run the OpenLCA client to make sure, that the firewall is not the problem. I connected to the localhost succesfully:
I get the same error though:
Here is the according log text:
FYI Leeeks was able to push to a different server with the same client. So it seems to be something related to the server setup. The working server is an Ubuntu 22 with openjdk 17.0.8 installed and is using Apache2 as Reverse Proxy. Maybe that helps for further analysis
The problem occurs with the admin user only it seems, we are working on a fix for this, but it seems you can avoid the issue by creating a another user and create repositories and push with this user. Thank you Leeeks for helping finding the cause of the problem
The problem is related to a change in reserved names, which was not reflected in the installer. The name 'admin' is not allowed anymore. I updated the installer on the openLCA website. If you want to fix it in your running server, create a new admin user e.g. 'administrator' and delete the automatically created 'admin' user.
Git push exception 'Caused by: org. eclipse. jgit. errors. TransportException: http://localhost:8080/admin/test: Authentication not supported
” What could be the problem?