# Desktop Sync client - Connection Closed

**URL:** <https://help.nextcloud.com/t/desktop-sync-client-connection-closed/23607>\
**Category:** 💻 Desktop\
**Created:** [November 15, 2017, 2:04pm UTC](https://help.nextcloud.com/t/desktop-sync-client-connection-closed/23607 "2017-11-15T14:04:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janno](https://help.nextcloud.com/letter_avatar/janno/32/5_5575768a8748004e209b776fc1b2916d.png) [@Janno](https://help.nextcloud.com/u/Janno)\
**Post date:** [November 15, 2017, 2:04pm UTC](https://help.nextcloud.com/t/desktop-sync-client-connection-closed/23607/1 "2017-11-15T14:04:28Z")

</div>

When using the Nextcloud Windows desktop client to sync data,. I enter the website, and it’s able to connect - it takes me to the second page of the setup, which asks for username and password. I put in the same username that I’ve successfully used to log into the site, along with the same password. I click Next. After a few seconds, I get a red error message: “Connection closed”.

[https://mysite.co.za/remote.php/webdav](https://mysite.co.za/remote.php/webdav) i get a login window, but authentication fails with correct login info. It says: “If you are prompted for your username and password but, after providing the correct credentials, authentication fails, please ensure that your authentication backend is configured properly.” - What does this mean please as I’ve been struggling for days to get this working. Everything went fine, but I installed a new instance of nextcloud on a different server and now the sync won’t work - any idea of if it’s maybe a setting in cPanel I’m missing?

Thanks  
Janno

---

<div class="post-metadata">

**Author:** ![Janno](https://help.nextcloud.com/letter_avatar/janno/32/5_5575768a8748004e209b776fc1b2916d.png) [@Janno](https://help.nextcloud.com/u/Janno)\
**Post date:** [December 5, 2017, 9:09pm UTC](https://help.nextcloud.com/t/desktop-sync-client-connection-closed/23607/2 "2017-12-05T21:09:52Z")

</div>

Hi

I found my issueand thought it may help someone else - Just enabled PHP-FPM on the domain in CPanel and now it works! Hope you come right!

Regards  
Janno

---

<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 14, 2024, 4:35pm UTC](https://help.nextcloud.com/t/desktop-sync-client-connection-closed/23607/3 "2024-12-14T16:35:49Z")

</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 14, 2024, 4:35pm UTC](https://help.nextcloud.com/t/desktop-sync-client-connection-closed/23607/4 "2024-12-14T16:35:50Z")

</div>


