Hi,
I can not start the platform. My log file:
Code blocks
2017-01-26 13:58:32,453 ERROR [com.haulmont.studio.server.a] Repository access error
java.io.IOException: Server returned HTTP response code: 401 for URL: https://repo.cuba-platform.com/content/groups/work/com/haulmont/cuba/cuba-global
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at com.haulmont.studio.server.c.run(SourceFile:233)
at java.lang.Thread.run(Unknown Source)
2017-01-26 13:58:33,638 INFO [org.atmosphere.util.IOUtils] META-INF/services/org.atmosphere.cpr.AtmosphereFramework not found in class loader
I am not connecting behind a proxy. I have all the exceptions for Java and imported the certificates. All these do not help. I can not start.
Unfortunately, there is no useful information in the log except that the error is caused by failed authentication in the repository.
Please switch Logging level in Stusio Server window to DEBUG, start again and attach the log file. Also, make sure there is no hidden spaces in the user name and password in the Auth dialog.
Unfortunately we cannot say what is wrong from our side.
Attached is a very simple Java program with sources that does exactly what Studio does when it checks the access to the repository. Could you run it on your computer?
D:\sil\repo-access-test\repo-access-test>run.bat
D:\sil\repo-access-test\repo-access-test>java -cp .\out\production\repo-access-test repo_test.Main
Exception in thread "main" java.io.IOException: Server returned HTTP response code: 401 for URL: https://repo.cuba-platform.com/content/groups/work/com/haulmont/cuba/cuba-global
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at repo_test.Main.main(Main.java:25)
D:\sil\repo-access-test\repo-access-test>
HI, I’m experiencing same issue.
I installed Kubuntu 18.04, on a new machine, Oracle Java 8u171 and studio 6.8.5 but when I start CUBA (WEB) and try to import project copied in new machine i get:
cannot access repo.cuba…etc.
On terminal i Get this:
Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at sun.security.validator.PKIXValidator.(PKIXValidator.java:91)
and searching on google I found some similar cases.
I tried credential via WEB cuba/cuba123 but no success.
It seems connected to local java keystore in 8u711 upgrade which changed some algorithm.