Connection timeout for multiple clients on different platforms

Nextcloud version (eg, 10.0.2): 11.0.0
Operating system and version (eg, Ubuntu 16.04): Ubuntu Server 16.0.4.1
Apache or nginx version (eg, Apache 2.4.25): 2.4.18
PHP version (eg, 5.6): 7.0.13
Is this the first time you’ve seen this error?: yes

Can you reliably replicate it? (If so, please outline steps): no

The issue you are facing:
I get timeouts when trying to connect to nextcloud using my dynDNS domain or public IP. Firefox works instead for both, domain and public IP. Local IP works for the clients and browser.

  1. desktop client: “Keine Verbindung zu Nextcloud auf example.org Operation abgebrochen”. (Win10, NC2.2.4)
  2. android client: “Der Server braucht zu lange für eine Antwort”. (Android 6.0.1, NC1.4.1)
  3. desktop webdav client (CarotDav): “Timeout bei Rei.Fs.Webdav.WebdavFs.GetResponse(HttpWebRequest request, Boolean notreqstream)”
  4. Quickpic: no connection

Could this be related to the facts that I am using NAT loopback? What else could I do? I did also the curl request on webdav endpoint:

manager@media-server:~$ curl -v -L --trace-time https://dynDNSdomain/remote.php/webdav
22:39:08.328815 *   Trying 192.168.10.99...
22:39:08.329003 * Connected to dynDNSdomain (192.168.10.99) port 443 (#0)
22:39:08.349516 * found 173 certificates in /etc/ssl/certs/ca-certificates.crt
22:39:08.420214 * found 697 certificates in /etc/ssl/certs
22:39:08.420300 * ALPN, offering http/1.1
22:39:08.472248 * SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
22:39:08.472801 *        server certificate verification OK
22:39:08.472821 *        server certificate status verification SKIPPED
22:39:08.472931 *        common name: dynDNSdomain (matched)
22:39:08.472949 *        server certificate expiration date OK
22:39:08.472963 *        server certificate activation date OK
22:39:08.472983 *        certificate public key: RSA
22:39:08.472998 *        certificate version: #3
22:39:08.473023 *        subject: CN=dynDNSdomain
22:39:08.473043 *        start date: Sun, 08 Jan 2017 00:30:00 GMT
22:39:08.473061 *        expire date: Sat, 08 Apr 2017 00:30:00 GMT
22:39:08.473097 *        issuer: C=US,O=Let's Encrypt,CN=Let's Encrypt AuthorityX3
22:39:08.473120 *        compression: NULL
22:39:08.473139 * ALPN, server accepted to use http/1.1
22:39:08.473203 > GET /remote.php/webdav HTTP/1.1
22:39:08.473203 > Host: dynDNSdomain
22:39:08.473203 > User-Agent: curl/7.47.0
22:39:08.473203 > Accept: */*
22:39:08.473203 >
22:39:08.500776 < HTTP/1.1 401 Unauthorized
22:39:08.500810 < Date: Mon, 06 Mar 2017 21:39:08 GMT
22:39:08.500827 < Server: Apache/2.4.18 (Ubuntu)
22:39:08.500839 < Set-Cookie: oclo0wchh5q0=sgju3j9fsjvrr1s7t0kp98nv27; path=/; HttpOnly
22:39:08.500850 < Expires: Thu, 19 Nov 1981 08:52:00 GMT
22:39:08.500863 < Cache-Control: no-store, no-cache, must-revalidate
22:39:08.500874 < Pragma: no-cache
22:39:08.500887 < Set-Cookie: oc_sessionPassphrase=oRQ38yoRKJ3oZWs1IPPfOWvAPJ70FKff53QCco1iKrcI12g4vmJCs7zoO3kN0FUDMtniMxdIXA9ESfhO8WgBeoYB9IUg2%2BmWRhJ5OZPby4K                           FQIy5UVClX0PfNOScF3eD; path=/; secure; HttpOnly
22:39:08.500902 < Content-Security-Policy: default-src 'none';
22:39:08.500915 < Set-Cookie: __Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax
22:39:08.500929 < Set-Cookie: __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict
22:39:08.500944 < WWW-Authenticate: Basic realm="Nextcloud"
22:39:08.500958 < X-Content-Type-Options: nosniff
22:39:08.500970 < X-XSS-Protection: 1; mode=block
22:39:08.500984 < X-Robots-Tag: none
22:39:08.500998 < X-Frame-Options: SAMEORIGIN
22:39:08.501011 < X-Download-Options: noopen
22:39:08.501025 < X-Permitted-Cross-Domain-Policies: none
22:39:08.501037 < Content-Length: 305
22:39:08.501049 < Content-Type: application/xml; charset=utf-8
22:39:08.501064 <
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
  <s:exception>Sabre\DAV\Exception\NotAuthenticated</s:exception>
  <s:message>No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured</s:message>
</d:error>
22:39:08.501103 * Connection #0 to host dynDNSdomain left intact

The output of your Nextcloud log in Admin > Logging:

{"reqId":"8tJOmDQKYU+QalSAxoZT","remoteAddr":"87.163.165.194","app":"mozilla_sync","message":"remote.php#36 run():  URL: Invalid command configuration for info.","level":3,"time":"2017-03-06T22:42:45+01:00","method":"GET","url":"\/remote.php\/mozilla_sync\/1.1\/gl37vgo6kbfdpfoad4l5sfi2uuofy52z\/info\/configuration","user":"--","version":"11.0.0.10"} {"reqId":"qQSxdNfQ7JMqB10PQfhI","remoteAddr":"87.163.165.194","app":"mozilla_sync","message":"storageservice.php#124 getWBO():  DB: Could not find requested WBO fxa_credentials of collection 2 for user 19.","level":2,"time":"2017-03-06T22:42:45+01:00","method":"GET","url":"\/remote.php\/mozilla_sync\/1.1\/gl37vgo6kbfdpfoad4l5sfi2uuofy52z\/storage\/meta\/fxa_credentials","user":"--","version":"11.0.0.10"}
    {"reqId":"Qt29LViFvkLosguwibS\/","remoteAddr":"","app":"news","message":"Unexpected error when updating feed An exception occurred while executing 'INSERT INTO `oc_news_items`(`status`,`url`,`guid`,`guid_hash`,`pub_date`,`rtl`,`title`,`author`,`body`,`search_index`,`fingerprint`,`content_hash`,`feed_id`,`last_modified`) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?)' with params [2, \"http:\\\/\\\/www.veranstaltung-baden-wuerttemberg.de\\\/Veranstaltung.asp?IVE=2864997\", \"4ad4d35cd9f325f1f50516c24e46aff0\", \"4ad4d35cd9f325f1f50516c24e46aff0\", -61527867294, false, \"29. Gernsbacher Puppentheaterwoche in Gernsbach | Schwarzwald\", \"info@vud.com\", \"<p>Sa. 1. April 2017 - Sa. 8. April 2017:<\\\/p>\", \"sa. 1. april 2017 - sa. 8. april 2017:info@vud.com29. gernsbacher puppentheaterwoche in gernsbach | schwarzwaldhttp:\\\/\\\/www.veranstaltung-baden-wuerttemberg.de\\\/veranstaltung.asp?ive=2864997\", \"b043a4aeb47a6296b5ffc2442ca2582d\", \"ad7423d37a8818a89c65aa554708ef35\", 22, \"1488836706881412\"]:\n\nSQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'pub_date' at row 1","level":3,"time":"2017-03-06T22:45:06+01:00","method":"--","url":"--","user":"--","version":"11.0.0.10"}
    {"reqId":"Qt29LViFvkLosguwibS\/","remoteAddr":"","app":"news","message":"Unexpected error when updating feed An exception occurred while executing 'INSERT INTO `oc_news_items`(`status`,`url`,`guid`,`guid_hash`,`pub_date`,`rtl`,`title`,`author`,`body`,`search_index`,`fingerprint`,`content_hash`,`feed_id`,`last_modified`) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?)' with params [2, \"http:\\\/\\\/www.360ict.nl\\\/blog\\\/reverse-proxy-with-nextcloud\\\/\", \"6e74a5b041c6b34fd1d577b9ba3118a6\", \"6e74a5b041c6b34fd1d577b9ba3118a6\", 1481538660, false, \"Reverse proxy with Nextcloud\", \"Dennis Pennings (360ictnl)\", \"<p>So we wanted to migrate our OwnCloud environment to Nextcloud. As we want to use all kinds of new features of Nextcloud, we decided we want to have both environments available and migrate little by little. [...]\u201ccorrupt header\\u201d and on Windows it said \\u201cerror 59\\u201d.<\\\/p>\\n<p>So after some troubleshooting I found out it to be the technique for forwarding the HTTP headers was set to \\u201cLegacy Operation (X-ClientSide);<\\\/p>\\n<p><img src=\\\"http:\\\/\\\/www.360ict.nl\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/HTTPheader-2-650x225.jpg\\\" alt=\\\"httpheader\\\" \\\/><\\\/p>\\n<p>After setting this to \\u201cX-Forwarded-For\\u201d, everything worked fine. It\\u2019s actually being mentioned <a target=\\\"_blank\\\" rel=\\\"noreferrer\\\" href=\\\"https:\\\/\\\/docs.nextcloud.com\\\/server\\\/10\\\/admin_manual\\\/installation\\\/installation_wizard.html\\\">at the Nextcloud documentation<\\\/a>;<\\\/p>\\n<blockquote><p>\\u201cIn the event that a load balancer is in place there will be no issues as long as it sends the correct X-Forwarded-Host header\\u201d<\\\/p><\\\/blockquote>\\n<p>I saw some support threads on the forum about issues with reverse proxies, so I hope I saved someone some time with configuring Nextcloud with reverse proxies.. <img src=\\\"https:\\\/\\\/s.w.org\\\/images\\\/core\\\/emoji\\\/2.2.1\\\/72x72\\\/1f609.png\\\" alt=\\\"\\ud83d\\ude09\\\" \\\/><\\\/p>\", \"so we wanted to migrate our owncloud environment to nextcloud. as we want to use all kinds of new features of nextcloud, we decided we want to have both environments available and migrate little by little. as we have a limited number of public ip addresses, we are using load balancing based on host headers. this is an old technique being used a lot at website hosters and it can be done on a webserver level but also by a reverse proxy. we have some luxury as we we use all the products we are selling and we have a sophos utm and kemp loadbalancers in our offiice environment, and both can handle traffic based on host headers. we decided to do this on the kemp, as it has much lower load than the sophos utm firewall.\\nwe expect this will be a common customer question, so that\\u2019s the reason for this blogpost. if you want to know more about routing traffic based on host headers, there is an  in depth manual for content rules at the kemp website. if that goes to deep for you, i recommend michael\\u2019s blogpost which is more practical.\\nso we start out with this scenario;\\n\\nso this can be configured by creating 2 content rules and 2 nextcloud instances by creating a virtual service (vs) and subvs. this seams a mouthfull, but it\\u2019s actually not that much to configure and it\\u2019s all in the below picture;\\n\\nhowever, there are some details in this picture which i want to mention;\\nyou have to enable content switching in the main vs.\\nturn the ssl acceleration on with the reencypt option and select a certificate which contains both domains (san certificate) or use a wildcard certificate (*.customer.com).\\nyou have to create some content rules. in the kemp this is based on perl compatible regular expressions (pcre)\\nowncloud.customer.com \\u2013> \\\/ ^owncloud.customer.com.*\\\/nextcloud.customer.com \\u2013> \\\/ ^nextcloud.customer.com.*\\\/\\nthe content rules need to be assigned to the subvs. so nextcloud.customer.com has the content rule \\\/ ^nextcloud.customer.com.*\\\/ assigned (thats the 1 onder the column rules in the row id 347\\\/351)\\n\\nset the gateway of your nextcloud instances to the kemp gateway.\\ni added the ip of the vs to the trusted domains of nextcloud, but i don\\u2019t think it\\u2019s necessary here.\\nbe sure to use http 1.1 health checks, didier has an excellent post on this, so i won\\u2019t go in detail.\\nbut after testing we had some weird behaviour, the login page would load but the login would fail, but it would work after a refresh. also, a background refresh in chrome did some weird things, look at this picture;\\nalso, the webdav connection wouldn\\u2019t work. on linux it gave me \\u201ccorrupt header\\u201d and on windows it said \\u201cerror 59\\u201d.\\nso after some troubleshooting i found out it to be the technique for forwarding the http headers was set to \\u201clegacy operation (x-clientside);\\n\\nafter setting this to \\u201cx-forwarded-for\\u201d, everything worked fine. it\\u2019s actually being mentioned at the nextcloud documentation;\\n\\u201cin the event that a load balancer is in place there will be no issues as long as it sends the correct x-forwarded-host header\\u201d\\ni saw some support threads on the forum about issues with reverse proxies, so i hope i saved someone some time with configuring nextcloud with reverse proxies.. dennis pennings (360ictnl)reverse proxy with nextcloudhttp:\\\/\\\/www.360ict.nl\\\/blog\\\/reverse-proxy-with-nextcloud\\\/\", \"09019a2ee6a362fba07b88d50b0a80ba\", \"8b1173616052ea52e38e3a96009c6f53\", 41, \"1488836714238576\"]:\n\nSQLSTATE[HY000]: General error: 1366 Incorrect string value: '\\xF0\\x9F\\x98\\x89\" ...' for column 'body' at row 1","level":3,"time":"2017-03-06T22:45:14+01:00","method":"--","url":"--","user":"--","version":"11.0.0.10"}
    {"reqId":"a8LIFMXTYqO5N8KviNIe","remoteAddr":"87.163.165.194","app":"mozilla_sync","message":"remote.php#36 run():  URL: Invalid command configuration for info.","level":3,"time":"2017-03-06T22:52:45+01:00","method":"GET","url":"\/remote.php\/mozilla_sync\/1.1\/gl37vgo6kbfdpfoad4l5sfi2uuofy52z\/info\/configuration","user":"--","version":"11.0.0.10"}
    {"reqId":"+V\/q+d3NPNYzcijGbkvc","remoteAddr":"87.163.165.194","app":"mozilla_sync","message":"storageservice.php#124 getWBO():  DB: Could not find requested WBO fxa_credentials of collection 2 for user 19.","level":2,"time":"2017-03-06T22:52:45+01:00","method":"GET","url":"\/remote.php\/mozilla_sync\/1.1\/gl37vgo6kbfdpfoad4l5sfi2uuofy52z\/storage\/meta\/fxa_credentials","user":"--","version":"11.0.0.10"}
    {"reqId":"WbgznBMve5a7PdNo2txy","remoteAddr":"192.168.10.124","app":"core","message":"Login failed: 'Future' (Remote IP: '192.168.10.124')","level":2,"time":"2017-03-06T22:58:16+01:00","method":"GET","url":"\/remote.php\/webdav","user":"--","version":"11.0.0.10"}
    {"reqId":"sZzbP2sAd5G5MV7R9Rua","remoteAddr":"","app":"news","message":"Unexpected error when updating feed An exception occurred while executing 'INSERT INTO `oc_news_items`(`status`,`url`,`guid`,`guid_hash`,`pub_date`,`rtl`,`title`,`author`,`body`,`search_index`,`fingerprint`,`content_hash`,`feed_id`,`last_modified`) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?)' with params [2, \"http:\\\/\\\/www.veranstaltung-baden-wuerttemberg.de\\\/Veranstaltung.asp?IVE=2864997\", \"4ad4d35cd9f325f1f50516c24e46aff0\", \"4ad4d35cd9f325f1f50516c24e46aff0\", -61527866395, false, \"29. Gernsbacher Puppentheaterwoche in Gernsbach | Schwarzwald\", \"info@vud.com\", \"<p>Sa. 1. April 2017 - Sa. 8. April 2017:<\\\/p>\", \"sa. 1. april 2017 - sa. 8. april 2017:info@vud.com29. gernsbacher puppentheaterwoche in gernsbach | schwarzwaldhttp:\\\/\\\/www.veranstaltung-baden-wuerttemberg.de\\\/veranstaltung.asp?ive=2864997\", \"b043a4aeb47a6296b5ffc2442ca2582d\", \"ad7423d37a8818a89c65aa554708ef35\", 22, \"1488837605807416\"]:\n\nSQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'pub_date' at row 1","level":3,"time":"2017-03-06T23:00:05+01:00","method":"--","url":"--","user":"--","version":"11.0.0.10"}
    {"reqId":"sZzbP2sAd5G5MV7R9Rua","remoteAddr":"","app":"news","message":"Unexpected error when updating feed An exception occurred while executing 'INSERT INTO `oc_news_items`(`status`,`url`,`guid`,`guid_hash`,`pub_date`,`rtl`,`title`,`author`,`body`,`search_index`,`fingerprint`,`content_hash`,`feed_id`,`last_modified`) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?)' with params [2, \"http:\\\/\\\/www.360ict.nl\\\/blog\\\/reverse-proxy-with-nextcloud\\\/\", \"6e74a5b041c6b34fd1d577b9ba3118a6\", \"6e74a5b041c6b34fd1d577b9ba3118a6\", 1481538660, false, \"Reverse proxy with Nextcloud\", \"Dennis Pennings (360ictnl)\", \"<p>So we wanted to migrate our OwnCloud environment to Nextcloud. As we want to use all kinds of new features of Nextcloud, [...]. On Linux it gave me \\u201ccorrupt header\\u201d and on Windows it said \\u201cerror 59\\u201d.<\\\/p>\\n<p>So after some troubleshooting I found out it to be the technique for forwarding the HTTP headers was set to \\u201cLegacy Operation (X-ClientSide);<\\\/p>\\n<p><img src=\\\"http:\\\/\\\/www.360ict.nl\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/HTTPheader-2-650x225.jpg\\\" alt=\\\"httpheader\\\" \\\/><\\\/p>\\n<p>After setting this to \\u201cX-Forwarded-For\\u201d, everything worked fine. It\\u2019s actually being mentioned <a target=\\\"_blank\\\" rel=\\\"noreferrer\\\" href=\\\"https:\\\/\\\/docs.nextcloud.com\\\/server\\\/10\\\/admin_manual\\\/installation\\\/installation_wizard.html\\\">at the Nextcloud documentation<\\\/a>;<\\\/p>\\n<blockquote><p>\\u201cIn the event that a load balancer is in place there will be no issues as long as it sends the correct X-Forwarded-Host header\\u201d<\\\/p><\\\/blockquote>\\n<p>I saw some support threads on the forum about issues with reverse proxies, so I hope I saved someone some time with configuring Nextcloud with reverse proxies.. <img src=\\\"https:\\\/\\\/s.w.org\\\/images\\\/core\\\/emoji\\\/2.2.1\\\/72x72\\\/1f609.png\\\" alt=\\\"\\ud83d\\ude09\\\" \\\/><\\\/p>\", \"so we wanted to migrate our owncloud environment to nextcloud. as we want to use all kinds of new features of nextcloud, we decided we want to have both environments available and migrate little by little. as we have a limited number of public ip addresses, we are using load balancing based on host headers. this is an old technique being used a lot at website hosters and it can be done on a webserver level but also by a reverse proxy. we have some luxury as we we use all the products we are selling and we have a sophos utm and kemp loadbalancers in our offiice environment, and both can handle traffic based on host headers. we decided to do this on the kemp, as it has much lower load than the sophos utm firewall.\\nwe expect this will be a common customer question, so that\\u2019s the reason for this blogpost. if you want to know more about routing traffic based on host headers, there is an  in depth manual for content rules at the kemp website. if that goes to deep for you, i recommend michael\\u2019s blogpost which is more practical.\\nso we start out with this scenario;\\n\\nso this can be configured by creating 2 content rules and 2 nextcloud instances by creating a virtual service (vs) and subvs. this seams a mouthfull, but it\\u2019s actually not that much to configure and it\\u2019s all in the below picture;\\n\\nhowever, there are some details in this picture which i want to mention;\\nyou have to enable content switching in the main vs.\\nturn the ssl acceleration on with the reencypt option and select a certificate which contains both domains (san certificate) or use a wildcard certificate (*.customer.com).\\nyou have to create some content rules. in the kemp this is based on perl compatible regular expressions (pcre)\\nowncloud.customer.com \\u2013> \\\/ ^owncloud.customer.com.*\\\/nextcloud.customer.com \\u2013> \\\/ ^nextcloud.customer.com.*\\\/\\nthe content rules need to be assigned to the subvs. so nextcloud.customer.com has the content rule \\\/ ^nextcloud.customer.com.*\\\/ assigned (thats the 1 onder the column rules in the row id 347\\\/351)\\n\\nset the gateway of your nextcloud instances to the kemp gateway.\\ni added the ip of the vs to the trusted domains of nextcloud, but i don\\u2019t think it\\u2019s necessary here.\\nbe sure to use http 1.1 health checks, didier has an excellent post on this, so i won\\u2019t go in detail.\\nbut after testing we had some weird behaviour, the login page would load but the login would fail, but it would work after a refresh. also, a background refresh in chrome did some weird things, look at this picture;\\nalso, the webdav connection wouldn\\u2019t work. on linux it gave me \\u201ccorrupt header\\u201d and on windows it said \\u201cerror 59\\u201d.\\nso after some troubleshooting i found out it to be the technique for forwarding the http headers was set to \\u201clegacy operation (x-clientside);\\n\\nafter setting this to \\u201cx-forwarded-for\\u201d, everything worked fine. it\\u2019s actually being mentioned at the nextcloud documentation;\\n\\u201cin the event that a load balancer is in place there will be no issues as long as it sends the correct x-forwarded-host header\\u201d\\ni saw some support threads on the forum about issues with reverse proxies, so i hope i saved someone some time with configuring nextcloud with reverse proxies.. dennis pennings (360ictnl)reverse proxy with nextcloudhttp:\\\/\\\/www.360ict.nl\\\/blog\\\/reverse-proxy-with-nextcloud\\\/\", \"09019a2ee6a362fba07b88d50b0a80ba\", \"8b1173616052ea52e38e3a96009c6f53\", 41, \"1488837611637370\"]:\n\nSQLSTATE[HY000]: General error: 1366 Incorrect string value: '\\xF0\\x9F\\x98\\x89\" ...' for column 'body' at row 1","level":3,"time":"2017-03-06T23:00:11+01:00","method":"--","url":"--","user":"--","version":"11.0.0.10"}
    {"reqId":"iGMAahFXYkffgsiJaq9T","remoteAddr":"87.163.165.194","app":"mozilla_sync","message":"remote.php#36 run():  URL: Invalid command configuration for info.","level":3,"time":"2017-03-06T23:02:46+01:00","method":"GET","url":"\/remote.php\/mozilla_sync\/1.1\/gl37vgo6kbfdpfoad4l5sfi2uuofy52z\/info\/configuration","user":"--","version":"11.0.0.10"}
    {"reqId":"BLsLjc18VYEYE+UXwJJf","remoteAddr":"87.163.165.194","app":"mozilla_sync","message":"storageservice.php#124 getWBO():  DB: Could not find requested WBO fxa_credentials of collection 2 for user 19.","level":2,"time":"2017-03-06T23:02:46+01:00","method":"GET","url":"\/remote.php\/mozilla_sync\/1.1\/gl37vgo6kbfdpfoad4l5sfi2uuofy52z\/storage\/meta\/fxa_credentials","user":"--","version":"11.0.0.10"}
    {"reqId":"5Rp71ou0x\/02t4gbq2LD","remoteAddr":"87.163.165.194","app":"mozilla_sync","message":"remote.php#36 run():  URL: Invalid command configuration for info.","level":3,"time":"2017-03-06T23:03:41+01:00","method":"GET","url":"\/remote.php\/mozilla_sync\/1.1\/gl37vgo6kbfdpfoad4l5sfi2uuofy52z\/info\/configuration","user":"--","version":"11.0.0.10"}
    {"reqId":"F24m5xuZQv90mhg4377F","remoteAddr":"87.163.165.194","app":"mozilla_sync","message":"storageservice.php#124 getWBO():  DB: Could not find requested WBO fxa_credentials of collection 2 for user 19.","level":2,"time":"2017-03-06T23:03:41+01:00","method":"GET","url":"\/remote.php\/mozilla_sync\/1.1\/gl37vgo6kbfdpfoad4l5sfi2uuofy52z\/storage\/meta\/fxa_credentials","user":"--","version":"11.0.0.10"}
    {"reqId":"SGxZUVPsuSJpDjIQoXth","remoteAddr":"87.163.165.194","app":"mozilla_sync","message":"remote.php#36 run():  URL: Invalid command configuration for info.","level":3,"time":"2017-03-06T23:04:22+01:00","method":"GET","url":"\/remote.php\/mozilla_sync\/1.1\/gl37vgo6kbfdpfoad4l5sfi2uuofy52z\/info\/configuration","user":"--","version":"11.0.0.10"}
    {"reqId":"L2ThqnnnMD4cHt+J2G\/P","remoteAddr":"87.163.165.194","app":"mozilla_sync","message":"storageservice.php#124 getWBO():  DB: Could not find requested WBO fxa_credentials of collection 2 for user 19.","level":2,"time":"2017-03-06T23:04:22+01:00","method":"GET","url":"\/remote.php\/mozilla_sync\/1.1\/gl37vgo6kbfdpfoad4l5sfi2uuofy52z\/storage\/meta\/fxa_credentials","user":"--","version":"11.0.0.10"}
    {"reqId":"zW7Ql3GVyvnXPYzVNVQ7","remoteAddr":"87.163.165.194","app":"mozilla_sync","message":"remote.php#36 run():  URL: Invalid command configuration for info.","level":3,"time":"2017-03-06T23:04:45+01:00","method":"GET","url":"\/remote.php\/mozilla_sync\/1.1\/gl37vgo6kbfdpfoad4l5sfi2uuofy52z\/info\/configuration","user":"--","version":"11.0.0.10"}
    {"reqId":"1MgyZDVp6Wku+0oKa2IO","remoteAddr":"87.163.165.194","app":"mozilla_sync","message":"storageservice.php#124 getWBO():  DB: Could not find requested WBO fxa_credentials of collection 2 for user 19.","level":2,"time":"2017-03-06T23:04:45+01:00","method":"GET","url":"\/remote.php\/mozilla_sync\/1.1\/gl37vgo6kbfdpfoad4l5sfi2uuofy52z\/storage\/meta\/fxa_credentials","user":"--","version":"11.0.0.10"}
    {"reqId":"zwbhNOtSkSKC2g0CMtrE","remoteAddr":"87.163.165.194","app":"mozilla_sync","message":"remote.php#36 run():  URL: Invalid command configuration for info.","level":3,"time":"2017-03-06T23:04:51+01:00","method":"GET","url":"\/remote.php\/mozilla_sync\/1.1\/gl37vgo6kbfdpfoad4l5sfi2uuofy52z\/info\/configuration","user":"--","version":"11.0.0.10"}
    {"reqId":"TS770YyaFcS\/qKKrYj+6","remoteAddr":"87.163.165.194","app":"mozilla_sync","message":"storageservice.php#124 getWBO():  DB: Could not find requested WBO fxa_credentials of collection 2 for user 19.","level":2,"time":"2017-03-06T23:04:51+01:00","method":"GET","url":"\/remote.php\/mozilla_sync\/1.1\/gl37vgo6kbfdpfoad4l5sfi2uuofy52z\/storage\/meta\/fxa_credentials","user":"--","version":"11.0.0.10"}
    {"reqId":"02dKczN\/waMd3O97GCw1","remoteAddr":"87.163.165.194","app":"mozilla_sync","message":"remote.php#36 run():  URL: Invalid command configuration for info.","level":3,"time":"2017-03-06T23:10:55+01:00","method":"GET","url":"\/remote.php\/mozilla_sync\/1.1\/gl37vgo6kbfdpfoad4l5sfi2uuofy52z\/info\/configuration","user":"--","version":"11.0.0.10"}
    {"reqId":"fp6VWG37F+ZsQ6PrN51c","remoteAddr":"87.163.165.194","app":"mozilla_sync","message":"storageservice.php#124 getWBO():  DB: Could not find requested WBO fxa_credentials of collection 2 for user 19.","level":2,"time":"2017-03-06T23:10:55+01:00","method":"GET","url":"\/remote.php\/mozilla_sync\/1.1\/gl37vgo6kbfdpfoad4l5sfi2uuofy52z\/storage\/meta\/fxa_credentials","user":"--","version":"11.0.0.10"}

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

"system": {
        "instanceid": "oclo0wchh5q0",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.10.99",
            "***REMOVED SENSITIVE VALUE***",
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "\/var\/nextcloud\/data",
        "overwrite.cli.url": "http:\/\/192.168.10.99\/owncloud",
        "dbtype": "mysql",
        "version": "11.0.0.10",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "forcessl": false,
        "forceSSLforSubdomains": false,
        "log_type": "owncloud",
        "loglevel": 2,
        "log_rotate_size": 104857600,
        "logfile": "\/var\/log\/nextcloud.log",
        "logtimezone": "Europe\/Berlin",
        "has_internet_connection": true,
        "check_for_working_webdav": true,
        "check_for_working_htaccess": true,
        "maintenance": false,
        "theme": "",
        "preview_max_scale_factor": 1,
        "asset-pipeline.enabled": false,
        "trashbin_retention_obligation": "auto",
        "apps_paths": [
            {
                "path": "\/var\/www\/nextcloud\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/nextcloud\/apps2",
                "url": "\/apps2",
                "writable": true
            }
        ],
        "updatechecker": true,
        "mail_smtpdebug": false,
        "mail_smtpmode": "php",
        "mail_smtphost": "posteo.de",
        "mail_smtpport": "587",
        "mail_smtptimeout": 10,
        "mail_smtpsecure": "tls",
        "mail_domain": "myserver.de",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "mail_from_address": "nextcloud",
        "htaccess.RewriteBase": "\/nextcloud",
        "singleuser": false,
        "updater.release.channel": "stable"
    }

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

…just try disabling logging in config.php by setting:
‘loglevel’ => ‘4’,
Our instance timed out if logfile was larger than a few MBs

It works from outside my network. This includes connecting from mobile net, other WLANs or simply by VPN. Also connecting by local IP works. So I guess its not about the logging, but a DNS issue or the NAT loopback. But I don’t know how to prove.

Having the same issue here. Accessing by local private IP. Same error. Connectivity from the Nextcloud server to the internet DNS ping works fine, so it must be some config issue.

Running on freenas via plugin default config.

If anyone has troubleshooting steps to try it’d be greatly appreciated!