sajis997
sajis997

Reputation: 1171

Configuring a valid service endpoint

According to Configuring the Artifactory Service Endpoint, an artifactory instance as service endpoint need to be configured. One of the parameter is the server URL to the artifactory. What if the server URL is a local intranet, will the URL be considered valid ? I am having error with the URL I am providing (Local intranet). The error is:

"Failed to query service connection.....Error Message:'An error occurred while sending the request'"

Upvotes: 0

Views: 669

Answers (1)

Mengdi Liang
Mengdi Liang

Reputation: 18978

What if the server URL is a local intranet, will the URL be considered valid ?

While the server URL you used here is a local internet, which means our azure image(Hosted agent) could not get communicate with it from public internet. That's why the error message told you failed to send request to server.

So, here the best way is you need configure one self agent in that local machine.

BUT, if Hosted agent is one preferred choice in pipeline execution. I'm afraid you have to configure your artifactory instance to make it accessible from the internet, just like the URL in the blog you shared above. Because our Hosted agent actually is Azure VM which hosted in cloud.

Upvotes: 1

Related Questions