Skip to content
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

Usage behind proxy #63

Open
JLBIZ opened this issue Aug 20, 2024 · 2 comments
Open

Usage behind proxy #63

JLBIZ opened this issue Aug 20, 2024 · 2 comments

Comments

@JLBIZ
Copy link

JLBIZ commented Aug 20, 2024

Hello,
i am trying to use this integration behind a corporate proxy.

I tried setting the proxy in the service-api container by using:

  • http_proxy and https_proxy variable in the docker container
  • -Dhttp.proxyHost=http://myproxy.internal.com -Dhttp.proxyPort=1234 -Dhttps.proxyHost=http://myproxy.internal.com -Dhttps.proxyPort=1234 JAVA_OPTS

From inside of the docker container (service-api), i can reach the azure-devops instance (https://dev.azure.com/).
I can interact with the api (by using my api-key) via curl from the container command line.

Still when using the Plugin, I get the error Resolved [com.epam.ta.reportportal.exception.ReportPortalException: Impossible interact with integration. Unable to connect to Azure DevOps. Code: 0, Message: java.net.SocketException: Network is unreachable] eventhough dev.azure.com should be reachable from within the container.

In the tcp-dump of the docker host, i can see, that the integration is trying to establish a connection to dev.azure.com wihtout using the provided proxy settings.

Are there any recommandations/docs on how to setup this integration behind a proxy?

@Pink-Bumblebee
Copy link

@JLBIZ could you please provide additional information: what is reportportal version and api-service version?

@JLBIZ
Copy link
Author

JLBIZ commented Aug 20, 2024

@Pink-Bumblebee
I am running the docker-compose of the latest release (v24.1), which comes with the reportportal/service-api:5.11.0 version.

Please let me know if you need additional information to investigate the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants