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 1 forks source link

Starting "dc-testsuite" in Docker fails #13

Closed ghifajg closed 3 months ago

ghifajg commented 3 months ago

``Hi,

"dc-mocks" starts fine on my W11 environment. I tried to start "dc-testsuite" (newest files from github) but it won't start:

2024-06-11 14:41:43 ps-testsuite  | [INFO] Scanning for projects...
2024-06-11 14:41:43 ps-testsuite  | [INFO] 
2024-06-11 14:41:43 ps-testsuite  | [INFO] ----------------------< de.gematik:ps-testsuite >-----------------------
2024-06-11 14:41:43 ps-testsuite  | [INFO] Building ps-testsuite 1.0.1-SNAPSHOT
2024-06-11 14:41:43 ps-testsuite  | [INFO]   from pom.xml
2024-06-11 14:41:43 ps-testsuite  | [INFO] --------------------------------[ jar ]---------------------------------
2024-06-11 14:41:43 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
2024-06-11 14:41:48 ps-testsuite  | [INFO] ------------------------------------------------------------------------
2024-06-11 14:41:48 ps-testsuite  | [INFO] BUILD FAILURE
2024-06-11 14:41:48 ps-testsuite  | [INFO] ------------------------------------------------------------------------
2024-06-11 14:41:48 ps-testsuite  | [INFO] Total time:  5.827 s
2024-06-11 14:41:48 ps-testsuite  | [INFO] Finished at: 2024-06-11T12:41:48Z
2024-06-11 14:41:48 ps-testsuite  | [INFO] ------------------------------------------------------------------------
2024-06-11 14:41:48 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): repo.maven.apache.org: Try again: Unknown host repo.maven.apache.org: Try again -> [Help 1]
2024-06-11 14:41:48 ps-testsuite  | [ERROR] 
2024-06-11 14:41:48 ps-testsuite  | [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
2024-06-11 14:41:48 ps-testsuite  | [ERROR] Re-run Maven using the -X switch to enable full debug logging.
2024-06-11 14:41:48 ps-testsuite  | [ERROR] 
2024-06-11 14:41:48 ps-testsuite  | [ERROR] For more information about the errors and possible solutions, please read the following articles:
2024-06-11 14:41:48 ps-testsuite  | [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
2036-01-01 00:00:00 
ps-testsuite exited with code 1

Do you have any Ideas?

Kind regards, Jürgen

sonerd commented 3 months ago

Hi @ghifajg ,

are you in a VPN? It looks, that your machine is not able to access the maven repository: repo.maven.apache.org

Can you try without VPN? Or as an alternative do you have the chance to setup a proxy?

You can configure the proxy for maven inside the settings.xml file.

Best Regards, Soner

ghifajg commented 3 months ago

Hi @sonerd,

yes, I'm here in home office and I'm connected via a VPN. I stopped the VPN and the connection to repo.maven.apache.org works now.

Thanks a lot Jürgen

sonerd commented 3 months ago

Great @ghifajg . Will close this issue.