gematik / epa-deployment

Project includes docker-compose file to start all relevant services (including VAU encryption/decryption) for an ePA environment.
Apache License 2.0
7 stars 2 forks source link

ps-testsuite 1.0.7-Snapshot fails to start: PKIX path building failed #17

Closed CEiderEVIDENT closed 2 months ago

CEiderEVIDENT commented 3 months ago

Starting ps-testsuite 1.0.7-Snapshot fails: PKIX path building failed. From my point of view this is different to https://github.com/gematik/epa-deployment/issues/13 There is not VPN enabled

time="2024-07-02T08:01:08+02:00" level=warning msg="D:\\GIT\\epa-deployment\\dc-testsuite.yml: `version` is obsolete"
[+] Running 1/0
 ✔ Container ps-testsuite  Created                                                                                                         0.0s
Attaching to ps-testsuite
ps-testsuite  | [INFO] Scanning for projects...
ps-testsuite  | [INFO]
ps-testsuite  | [INFO] ----------------------< de.gematik:ps-testsuite >-----------------------
ps-testsuite  | [INFO] Building ps-testsuite 1.0.7-SNAPSHOT
ps-testsuite  | [INFO]   from pom.xml
ps-testsuite  | [INFO] --------------------------------[ jar ]---------------------------------
ps-testsuite  | Downloading from central: https://repo.maven.apache.org/maven2/org/jacoco/jacoco-maven-plugin/0.8.12/jacoco-maven-plugin-0.8.12.pom
ps-testsuite  | [INFO] ------------------------------------------------------------------------
ps-testsuite  | [INFO] BUILD FAILURE
ps-testsuite  | [INFO] ------------------------------------------------------------------------
ps-testsuite  | [INFO] Total time:  0.452 s
ps-testsuite  | [INFO] Finished at: 2024-07-02T06:01:10Z
ps-testsuite  | [INFO] ------------------------------------------------------------------------
ps-testsuite  | [ERROR] Plugin org.jacoco:jacoco-maven-plugin:0.8.12 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.jacoco:jacoco-maven-plugin:jar:0.8.12: The following artifacts could not be resolved: org.jacoco:jacoco-maven-plugin:pom:0.8.12 (absent): Could not transfer artifact org.jacoco:jacoco-maven-plugin:pom:0.8.12 from/to central (https://repo.maven.apache.org/maven2): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
ps-testsuite  | [ERROR]
ps-testsuite  | [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
ps-testsuite  | [ERROR] Re-run Maven using the -X switch to enable full debug logging.
ps-testsuite  | [ERROR]
ps-testsuite  | [ERROR] For more information about the errors and possible solutions, please read the following articles:
ps-testsuite  | [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
ps-testsuite exited with code 1
sonerd commented 3 months ago

Hi @CEiderEVIDENT ,

Do you use a corporate proxy to connect to the internet? If yes, then you have to configure the proxy settings for maven.

The explanation is here: Maven Proxy Setting

Regards

fnoGematik commented 2 months ago

Hi @CEiderEVIDENT ,

as you described in the Gematik Service Desk ticket, the problem has been solved and the correct configurations have been made in the firewall to allow access to the Maven repository. So I'll close this issue.

Best regards,