# Timeout error accessing Nextcloud

**URL:** <https://help.nextcloud.com/t/timeout-error-accessing-nextcloud/123053>\
**Category:** ℹ️ Support\
**Created:** [September 3, 2021, 1:56pm UTC](https://help.nextcloud.com/t/timeout-error-accessing-nextcloud/123053 "2021-09-03T13:56:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidg](https://help.nextcloud.com/letter_avatar/davidg/32/6_22734026db12803ebb3e059622ac3534.png) [@davidg](https://help.nextcloud.com/u/davidg)\
**Post date:** [September 3, 2021, 1:56pm UTC](https://help.nextcloud.com/t/timeout-error-accessing-nextcloud/123053/1 "2021-09-03T13:56:03Z")

</div>

Nextcloud version “latest” Docker  
Operating system and version via Docker running on Synology DSM 6.the latest  
Apache or nginx version Apache 2,4  
PHP version 7.2

The issue you are facing:

After entering (correct) username and password I _eventually_ receive a “405” error. Calendar and contact apps running on desktop cannot connect to Nextcloud calendar or contact apps running on server - timeout error.

iOS Nextcloud on iPad can access files.

So NC is running, I can access via WebDAV but not HTTP/S.

Is this the first time you’ve seen this error? Yes!

Steps to replicate it:

1. go to [https://nextcloud.mydomain.tld](https://nextcloud.mydomain.tld)
2. Enter username and password
3. receive 405 error message

The output of your Nextcloud log in **Admin \> Logging** :

```auto
Unable to access (see above)

```

The output of your config.php file in `/path/to/nextcloud` (make sure you remove any identifiable information!):

```auto
<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'instanceid' => 'xxxxx',
  'passwordsalt' => 'xxxxx',
  'secret' => 'xxxxx',
  'trusted_domains' => 
  array (
    0 => '192.168.1.2:8080',
    1 => 'nextcloud.mydomain.tld',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '22.1.1.2',
  'overwrite.cli.url' => 'http://192.168.1.2:8080',
  'dbname' => 'mydatabase',
  'dbhost' => '192.168.1.2:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'myuser',
  'dbpassword' => 'xxxxx',
  'installed' => true,
  'overwriteprotocol' => 'https',
  'maintenance' => false,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'nextcloud',
  'mail_domain' => 'nextcloud.mydomain.tld',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'nextcloud.mydomain.tld',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'nextcloud',
  'mail_smtppassword' => 'xxxxx',
  'theme' => '',
  'loglevel' => 2,
  'app_install_overwrite' => 
  array (
    0 => 'groupfolders',
  ),
);

```

The output of your Apache/nginx/system log in `/var/log/ ____ `:

```auto
I'll have to look for that, if its needed...

```

---

<div class="post-metadata">

**Author:** ![davidg](https://help.nextcloud.com/letter_avatar/davidg/32/6_22734026db12803ebb3e059622ac3534.png) [@davidg](https://help.nextcloud.com/u/davidg)\
**Post date:** [September 3, 2021, 2:42pm UTC](https://help.nextcloud.com/t/timeout-error-accessing-nextcloud/123053/2 "2021-09-03T14:42:54Z")

</div>

This a line from the Nginx error log

```auto
2021/09/03 15:37:58 [error] 18272#18272: *72268 upstream timed out (110:
Connection timed out) while reading response header from upstream,
client: 12.34.56.78, server: nextcloud.myserver.tld, request: "PROPFIND
/remote.php/dav/principals/users/myusername/ HTTP/2.0", upstream:
"http://127.0.0.1:8080/remote.php/dav/principals/users/myusername/", host:
"nextcloud.myserver.tld"

```

What does this tell me?

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 13, 2024, 10:40am UTC](https://help.nextcloud.com/t/timeout-error-accessing-nextcloud/123053/3 "2024-12-13T10:40:42Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 13, 2024, 10:40am UTC](https://help.nextcloud.com/t/timeout-error-accessing-nextcloud/123053/4 "2024-12-13T10:40:43Z")

</div>


