> For the complete documentation index, see [llms.txt](https://help.boomerang3.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.boomerang3.com/wpan-ctrlr-web-panel-installation-manual/troubleshooting/unsuccessful_login.md).

# Unsuccessful login - CorsAllowed

When Web Panel logs into B3 system, the B3 server checks the web page that wants to log in and allows it only if the web page URL is one of the URLs defined in B3 server web.config file in “CorsAllowed” key in \<appSettings> section.

The default “CorsAllowed” key value is:

*\<add key="CorsAllowed" value="[http://localhost,http://coolguard.se,http://iculicense.com"/>](http://localhost,http://coolguard.se,http://iculicense.com"/>)*

The standard Web Panel logs from <http://localhost>.

If this address is different from addresses defined in “CorsAllowed” key then the Web Panel will not be able to log in and “The user name or password is incorrect” message will be displayed.

![](https://883749437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5qOQ38J2ZTqVNIiYS1Pl%2Fuploads%2Fgit-blob-d85f0f0fe8a49b02a595180115cc0776db0779ef%2Fimage11.png?alt=media)

This situation may occur if the Web Panel is run on IIS server instead of Raspberry Pi.

In the example below the Web Panel site works on port 81.

![](https://883749437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5qOQ38J2ZTqVNIiYS1Pl%2Fuploads%2Fgit-blob-12d4bfcf38d833fb92785fca0c124a6b034d60f1%2Fimage37.png?alt=media)

Assuming you want to log in from the same PC you will enter <http://localhost:81> into a web browser. The same address must be added to the “CorsAllowed” key on B3 system as shown below.

*\<add key="CorsAllowed" value="[http://localhost,http://coolguard.se,http://iculicense.com,http://localhost:81"/>](http://localhost,http://coolguard.se,http://iculicense.com,http://localhost:81"/>)*


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.boomerang3.com/wpan-ctrlr-web-panel-installation-manual/troubleshooting/unsuccessful_login.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
