# OH-TFS/AzureDevOps-0182

### Description

When you encounter OH-TFS/AzureDevOps-0182 then the following error message will appear:

'OH-TFS/AzureDevOps-0182:Can not reach TFSService. Please check if TFSService is running and `<TFS_SERVICE_URL>` is valid URL for TFSService.'

### Cause

Following are the probable reasons for this:

* OpsHubTFSService is not registered or started.
* `<TFS_SERVICE_URL>` format which is entered during system configuration is incorrect or wrong.
* The HostName and PortNumber where OpsHubTFSService is registered is different than hostname and port number which is mentioned in Service URL during system configuration.\
  E.g. OpsHubTFSService is registered with URL <http://localhost:9191/TFSService> but during system configuration <http://localhost:9090/TFSService> is provided in Service URL.
* The OpsHubTFSService has not been upgraded after upgrading <code class="expression">space.vars.SITENAME</code>.

### Solution

* If you have not registered OpsHubTFSService, then refer [How to register OpsHubTFSService?](https://github.com/OpsHubProduct/OIM-Documentation/blob/main/docs/help-center/troubleshooting/errors/tfs/how-to-register-opshubtfsservice/README.md) and register OpsHubTFSService.
* If OpsHubTFSService is already registered and not running, then start the OpsHubTFSService.
* The format of Service URL should be http\://:\<port\_number>/TFSService during system configuration.
* Validate OpsHubTFSService is registered on same hostname and port number that is provided in Service URL by opening this URL in the browser:\
  http\://:/TFSService.\
  E.g. If you have registered OpsHubTFSService with hostname "localhost" and port number "9191" then hit URL: <http://localhost:9191/TFSService>.
* If you have upgraded <code class="expression">space.vars.SITENAME</code>, then refer [How to upgrade OpsHubTFSService after upgrading <code class="expression">space.vars.SITENAME</code>?](https://github.com/OpsHubProduct/OIM-Documentation/blob/main/docs/help-center/faqs/tfs/how-to-upgrade-opshubtfsservice-after-upgrading-opshub-integration-manager.md) to upgrade OpsHubTFSService.
* If OpsHubTFSService is registered/started/upgraded successfully, the following output will be opened in the browser after hitting the URL:

<div align="center"><img src="/files/zwJXF2EqnPzMDiCkt3Kz" alt=""></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://opstech.gitbook.io/opstech-docs/7.223/help-center-index/troubleshooting-index/errors-index/tfs-error-solutions/oh-tfs-azure-devops-0182.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
