reportportal / plugin-bts-azure

AzureDevOps bug tracking system integration for ReportPortal
Apache License 2.0
2 stars 3 forks source link

Usage behind proxy #63

Open JLBIZ opened 3 months ago

JLBIZ commented 3 months ago

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

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

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 commented 3 months ago

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

JLBIZ commented 3 months ago

@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