# Bug OP-10772 - Nextcloud: Validation error in New storage - Host field

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-10772

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 12.2.0 |
| Observed in versions |  |
| Sprint | 12.2.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by | Wieland Lindenthal |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

_Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_

1.  Login as administrator
2.  Go to Admin -&gt; File storages
3.  Create a new file storage with Host = &quot;http://172.16.193.146&quot;, with a Nextcloud installation available at that IP address with integration\_openproject installed.

### What is the buggy behavior?

*   Pressing the &quot;Save and continue setup&quot; button, the browser will return to the same page without an error message being shown.

### What is the expected behavior?

1.  The Host field should only allow for localhost or loopback (127.0.0.1) (and IPV6 equivalents?) with the HTTP protocol, so it should show an error related to the Host field when entering some other IP or a hostname.
2.  Apparently there is a failure in the back-end part of the Storages module talking to Nextcloud. However, this error message is not reported at all.

### Screenshots and other files

<img class="op-uc-image op-uc-image_inline" style="width:465px;" src="/api/v3/attachments/35187/content">

### Environment information

OpenProject local DEV environment in branch release/12.2 on 2022-07-19 and Nextcloud 24.0.3 with integration\_openproject in branch origin/moveGenerateOauthURI.
