[Bug]: FreeBSD Host Not Found once downloads of files have started
- Dominant language
- C++
- Stars
- 3.9k
- Forks
- 1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 127
Description
### ⚠️ Before submitting, please verify the following: ⚠️
- [X] This is a **bug**, not a question or a configuration issue.
- [X] This issue is **not** already reported on Github (I've searched it).
- [X] Nextcloud Server and Desktop Client are **up to date**. See [Server Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) and [Desktop Releases](https://nextcloud.com/install/#install-clients) for supported versions.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/)
### Bug description
Everything works as expected until downloading of selected synced files have started. Suddenly a "host not found" error appears on the client and stop the sync entirely.
Server works great with various Linux and Mac NextCloud Desktop clients.

### Steps to reproduce
Open NextCloud desktop
Sign into remote server
Select all and/or a few few drectories
Comparison of files needed to download works
After a while of downloading files error pops up - rarely for the same file.
### Expected behavior
Syncing of files as on the Mac, Windows, and Linux cliens.
### Which files are affected by this bug
Random
### Operating system
Linux
### Which version of the operating system you are running.
FreeBSD 13.2
### Package
Compiled it myself
### Nextcloud Server version
25.0.10
### Nextcloud Desktop Client version
Version 3.6.4 (FreeBSD)
### Is this bug present after an update or on a fresh install?
Fresh desktop client install
### Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
### Are you using an external user-backend?
- [X] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Nextcloud Server logs
```shell
{"reqId":"nSoN4NqWIPboxnB0IopY","level":0,"time":"2023-09-05T12:25:30+00:00","remoteAddr":"72.182.154.137","user":"jeff","app":"music","method":"PROPFIND","url":"/remote.php/dav/files/jeff/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.1.1-2+deb11u1 (Nextcloud)","version":"25.0.10.1","data":{"app":"music"}}
{"reqId":"CwmIaSwpTY8mygZEIFwa","level":0,"time":"2023-09-05T12:25:33+00:00","remoteAddr":"137.83.19.152","user":"jeff","app":"music","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; FreeBSD amd64; rv:109.0) Gecko/20100101 Firefox/117.0","version":"25.0.10.1","data":{"app":"music"}}
{"reqId":"PU1WkH7oGLsOdxdH5d5s","level":0,"time":"2023-09-05T12:25:40+00:00","remoteAddr":"137.83.19.152","user":"jdgordon","app":"music","method":"PROPFIND","url":"/remote.php/dav/files/jdgordon/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Macintosh) mirall/3.9.3git (build 17174) (Nextcloud, osx-19.6.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.10.1","data":{"app":"music"}}
{"reqId":"B7qpHK0rc0xuok2xNqZn","level":0,"time":"2023-09-05T12:25:41+00:00","remoteAddr":"72.182.154.137","user":"jeff","app":"music","method":"PROPFIND","url":"/remote.php/dav/files/jeff/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.7.3git (Nextcloud, ubuntu-6.2.0-27-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.10.1","data":{"app":"music"}}
{"reqId":"DYfVMDpAI2cSvE5LHTXw","level":0,"time":"2023-09-05T12:25:41+00:00","remoteAddr":"137.83.19.152","user":"jdgordon","app":"music","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Macintosh) mirall/3.9.3git (build 17174) (Nextcloud, osx-19.6.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.10.1","data":{"app":"music"}}
{"reqId":"rNxy3hOWmsGivP7Qq7Ms","level":0,"time":"2023-09-05T12:25:41+00:00","remoteAddr":"137.83.19.152","user":"jdgordon","app":"music","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Macintosh) mirall/3.9.3git (build 17174) (Nextcloud, osx-19.6.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.10.1","data":{"app":"music"}}
{"reqId":"G7VYk7mGla8ubfLESrzZ","level":0,"time":"2023-09-05T12:25:46+00:00","remoteAddr":"72.182.154.137","user":"jeff","app":"music","method":"PROPFIND","url":"/remote.php/dav/files/jeff/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.1.1-2+deb11u1 (Nextcloud)","version":"25.0.10.1","data":{"app":"music"}}
{"reqId":"3nplAcnkeeep0bGbsVGV","level":0,"time":"2023-09-05T12:25:47+00:00","remoteAddr":"137.83.19.152","user":"jeff","app":"music","method":"PROPFIND","url":"/remote.php/dav/files/jeff/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.7.3git (Nextcloud, ubuntu-6.2.0-27-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.10.1","data":{"app":"music"}}
{"reqId":"MH6NSspeT7wWMMcKQqVh","level":0,"time":"2023-09-05T12:25:54+00:00","remoteAddr":"72.182.154.137","user":"jeff","app":"music","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.1.1-2+deb11u1 (Nextcloud)","version":"25.0.10.1","data":{"app":"music"}}
{"reqId":"k95L0cwaOl6wqi4jRF7w","level":0,"time":"2023-09-05T12:26:02+00:00","remoteAddr":"72.182.154.137","user":"jeff","app":"music","method":"PROPFIND","url":"/remote.php/dav/files/jeff/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.1.1-2+deb11u1 (Nextcloud)","version":"25.0.10.1","data":{"app":"music"}}
{"reqId":"XUu6eSQVnCB0upo55374","level":0,"time":"2023-09-05T12:26:03+00:00","remoteAddr":"137.83.19.152","user":"jeff","app":"music","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; FreeBSD amd64; rv:109.0) Gecko/20100101 Firefox/117.0","version":"25.0.10.1","data":{"app":"music"}}
{"reqId":"7s8cFHrXjpWpoqPkEiUR","level":0,"time":"2023-09-05T12:26:11+00:00","remoteAddr":"137.83.19.152","user":"jdgordon","app":"music","method":"PROPFIND","url":"/remote.php/dav/files/jdgordon/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Macintosh) mirall/3.9.3git (build 17174) (Nextcloud, osx-19.6.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.10.1","data":{"app":"music"}}
{"reqId":"WII4C3u0zxKhBVKZXWbd","level":0,"time":"2023-09-05T12:26:11+00:00","remoteAddr":"72.182.154.137","user":"jeff","app":"music","method":"PROPFIND","url":"/remote.php/dav/files/jeff/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.7.3git (Nextcloud, ubuntu-6.2.0-27-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.10.1","data":{"app":"music"}}
{"reqId":"JugjSVsBV4U8Zl220wbP","level":0,"time":"2023-09-05T12:26:11+00:00","remoteAddr":"72.182.154.137","user":"jeff","app":"music","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.7.3git (Nextcloud, ubuntu-6.2.0-27-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.10.1","data":{"app":"music"}}
{"reqId":"vaDI5chKULAHSSPMXAIU","level":0,"time":"2023-09-05T12:26:11+00:00","remoteAddr":"72.182.154.137","user":"jeff","app":"music","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.7.3git (Nextcloud, ubuntu-6.2.0-27-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.10.1","data":{"app":"music"}}
{"reqId":"yvO8S1FXr1N8Z5jNjsQy","level":0,"time":"2023-09-05T12:26:16+00:00","remoteAddr":"72.182.154.137","user":"jeff","app":"music","method":"PROPFIND","url":"/remote.php/dav/files/jeff/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.1.1-2+deb11u1 (Nextcloud)","version":"25.0.10.1","data":{"app":"music"}}
{"reqId":"WBPZvOqVaP1maciHEoJs","level":0,"time":"2023-09-05T12:26:17+00:00","remoteAddr":"137.83.19.152","user":"jeff","app":"music","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.7.3git (Nextcloud, ubuntu-6.2.0-27-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.10.1","data":{"app":"music"}}
{"reqId":"Zlm5A6QKOirR6doZoGVR","level":0,"time":"2023-09-05T12:26:17+00:00","remoteAddr":"137.83.19.152","user":"jeff","app":"music","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.7.3git (Nextcloud, ubuntu-6.2.0-27-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.10.1","data":{"app":"music"}}
{"reqId":"9x2dkfI8gcpk6u8GxMcT","level":0,"time":"2023-09-05T12:26:17+00:00","remoteAddr":"137.83.19.152","user":"jeff","app":"music","method":"PROPFIND","url":"/remote.php/dav/files/jeff/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.7.3git (Nextcloud, ubuntu-6.2.0-27-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.10.1","data":{"app":"music"}}
```
### Additional info
Nextcloud Client Debug Logs
[nextcloud-host-not-found.zip](https://github.com/nextcloud/desktop/files/12523559/nextcloud-host-not-found.zip)
Contributor guide
Assessment
This issue has not been assessed yet.