# Connection lost issue on Synology

**URL:** <https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874>\
**Category:** Support\
**Created:** [January 2, 2019, 5:29pm UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874 "2019-01-02T17:29:12Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Random](https://forum.duplicati.com/user_avatar/forum.duplicati.com/random/32/2489_2.png) [@Random](https://forum.duplicati.com/u/Random)\
**Post date:** [January 2, 2019, 5:29pm UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/1 "2019-01-02T17:29:12Z")

</div>

Well… nothing has gone well. Now when I start Duplicati (it and Mono report “running”, I continue to get server connection issues in the Duplicati window.

 ![](https://forum.duplicati.com/uploads/default/original/2X/6/6fcda8939aaef5931be1e3245dc75c4007ce9983.png)

I appreciate any suggestions here. I need a reliable tool to access Google Drive and B2.

---

<div class="post-metadata">

**Author:** ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)\
**Post date:** [January 3, 2019, 5:24pm UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/2 "2019-01-03T17:24:19Z")

</div>

Are you connecting from with the DSM manager or a ‘remote’ machine?

---

<div class="post-metadata">

**Author:** ![Random](https://forum.duplicati.com/user_avatar/forum.duplicati.com/random/32/2489_2.png) [@Random](https://forum.duplicati.com/u/Random)\
**Post date:** [January 3, 2019, 6:18pm UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/3 "2019-01-03T18:18:10Z")

</div>

I was connecting to DSM web interface on the LAN using…  
[https://NASname](https://NASname):port

Thanks for your response.

I discovered was that if I log into the DSM web interface from  
[http://192.168.xxx.xxx](http://192.168.xxx.xxx):port

Then duplicati opens.

Initially, when it opens it throws a blank popup window which I cannot acknowledge. Next I close/reopen duplicati and I get the basic interface. Sometimes I have to close/reopen to see all the dropdown options… for example the dropdown from which to select Dropbox, etc.

I tried logging in to DSM via DDNS and it too fails. So for now, only the LAN IP seems to work.

I have managed to run a backup (manually) to Dropbox and to restore from there. My hope is to get duplicati working next with B2 and Google Drive via the Synology NAS package.

---

<div class="post-metadata">

**Author:** ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)\
**Post date:** [January 3, 2019, 6:29pm UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/4 "2019-01-03T18:29:50Z")

</div>

> [@Random](#):
>
> I was connecting to DSM web interface on the LAN using…  
> https://:port

Is that a typo or is it really what shows up in the address bar (no domain or IP address)?

Also, what happens if you change the “https” to just “http”?

---

<div class="post-metadata">

**Author:** ![Random](https://forum.duplicati.com/user_avatar/forum.duplicati.com/random/32/2489_2.png) [@Random](https://forum.duplicati.com/u/Random)\
**Post date:** [January 3, 2019, 6:49pm UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/5 "2019-01-03T18:49:55Z")

</div>

That was a formatting error (darned brackets). It should have read…  
[https://NASname](https://NASname):port  
Here’s the error popup I get frequently…  
[https://i.imgur.com/0jYg64v.png](https://i.imgur.com/0jYg64v.png)

---

<div class="post-metadata">

**Author:** ![drwtsn32](https://forum.duplicati.com/user_avatar/forum.duplicati.com/drwtsn32/32/2591_2.png) [@drwtsn32](https://forum.duplicati.com/u/drwtsn32)\
**Post date:** [January 4, 2019, 12:20am UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/6 "2019-01-04T00:20:09Z")

</div>

Check out this post:

> [@2.0.4.5 server appears to be broken on Synology](https://forum.duplicati.com/t/2-0-4-5-server-appears-to-be-broken-on-synology/5576/15):
>
> So to summarize, for anyone else suffering the same problem, this appears to be an incompatibility between the Synology integration and the upgraded security introduced in 2.0.4.5. Until it gets fixed officially, this workaround worked for me, and should get you back up and running: Stop the Duplicati package from the Synology Package Center. Check for any server process still running, and kill it, eg: root@Tower:/var/packages/Duplicati/target# ps -ef |grep mono root 18002 1 10 Dec24 ? 01:43…

---

<div class="post-metadata">

**Author:** ![Random](https://forum.duplicati.com/user_avatar/forum.duplicati.com/random/32/2489_2.png) [@Random](https://forum.duplicati.com/u/Random)\
**Post date:** [January 4, 2019, 1:31pm UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/7 "2019-01-04T13:31:33Z")

</div>

Thanks for pointing me to that post What seems to work for me now is to log into the DSM interface using my LAN IP (I presume I could do this via VPN, but haven;t tested). For example…

hxxps:/192.168.1.10:5001

When I open the duplicati gui I initially get a blank error popup window, I close that, and then close the duplicati window. Then I reopen the duplicati gui and all is well. No error popup, and the dropdown selections for creating a new backup are then active.

I do get warnings, which seem to be about certs, but otherwise backup/restore/encryption seem to be working on Dropbox and B2.

---

<div class="post-metadata">

**Author:** ![drwtsn32](https://forum.duplicati.com/user_avatar/forum.duplicati.com/drwtsn32/32/2591_2.png) [@drwtsn32](https://forum.duplicati.com/u/drwtsn32)\
**Post date:** [January 4, 2019, 2:44pm UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/8 "2019-01-04T14:44:39Z")

</div>

> [@Random](#):
>
> I do get warnings, which seem to be about certs, but otherwise backup/restore/encryption seem to be working on Dropbox and B2.

I also saw this on Synology after upgrading from Duplicati 2.0.3.3 to 2.0.4.5. I ran the command at the bottom (Synology section) of this page to resolve it:

> **[SSL TLS support in Mono](https://github.com/duplicati/duplicati/wiki/SSL-TLS-support-in-Mono)**
>
> Store securely encrypted backups in the cloud! Contribute to duplicati/duplicati development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Brano](https://forum.duplicati.com/user_avatar/forum.duplicati.com/brano/32/2809_2.png) [@Brano](https://forum.duplicati.com/u/Brano)\
**Post date:** [January 13, 2019, 4:00am UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/9 "2019-01-13T04:00:07Z")

</div>

I’m having same issue on DSM 6.2.1 and Duplicati 2.0.4.10. The workaround posted above doesn’t work for me.  
The only thing that works is starting the server manually.

---

<div class="post-metadata">

**Author:** ![Brano](https://forum.duplicati.com/user_avatar/forum.duplicati.com/brano/32/2809_2.png) [@Brano](https://forum.duplicati.com/u/Brano)\
**Post date:** [January 13, 2019, 4:18am UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/10 "2019-01-13T04:18:06Z")

</div>

More info: Using chrome to inspect the traffic here is what I see repeating periodically on attempted reconnect every 15 seconds

Request URL: [http://192.168.70.5:8200/webman/login.cgi?\_dc=0.08646593455368112](http://192.168.70.5:8200/webman/login.cgi?_dc=0.08646593455368112)  
Request Method: GET  
Status Code: 404 Internal server error  
Remote Address: 192.168.70.5:8200  
Referrer Policy: no-referrer-when-downgrade

Request URL: [http://192.168.70.5:8200/api/v1/serverstate/?lasteventid=10&longpoll=false&duration=299s](http://192.168.70.5:8200/api/v1/serverstate/?lasteventid=10&longpoll=false&duration=299s)  
Request Method: GET  
Status Code: 403 Administrator login required  
Remote Address: 192.168.70.5:8200  
Referrer Policy: no-referrer-when-downgrade

---

<div class="post-metadata">

**Author:** ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)\
**Post date:** [January 13, 2019, 5:17am UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/11 "2019-01-13T05:17:17Z")

</div>

Hmmm…I don’t recall seeing the “Administrator login required” before.

Do these seem to show up in pairs?

---

<div class="post-metadata">

**Author:** ![Brano](https://forum.duplicati.com/user_avatar/forum.duplicati.com/brano/32/2809_2.png) [@Brano](https://forum.duplicati.com/u/Brano)\
**Post date:** [January 13, 2019, 2:16pm UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/12 "2019-01-13T14:16:25Z")

</div>

Yes, these show in pairs every 15 seconds on automatic reconnect attempt.

---

<div class="post-metadata">

**Author:** ![Brano](https://forum.duplicati.com/user_avatar/forum.duplicati.com/brano/32/2809_2.png) [@Brano](https://forum.duplicati.com/u/Brano)\
**Post date:** [January 13, 2019, 2:17pm UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/13 "2019-01-13T14:17:55Z")

</div>

Are there any other logs I can grab? Where are they located?

---

<div class="post-metadata">

**Author:** ![Brano](https://forum.duplicati.com/user_avatar/forum.duplicati.com/brano/32/2809_2.png) [@Brano](https://forum.duplicati.com/u/Brano)\
**Post date:** [January 13, 2019, 2:30pm UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/14 "2019-01-13T14:30:14Z")

</div>

When I open the URL in new windows (right click open in new window) I get only one of the errors repeating every 15 seconds on reconnect

Request URL: [https://192.168.70.5:5001/webman/3rdparty/Duplicati/api/v1/serverstate/?lasteventid=-1&longpoll=false&duration=299s](https://192.168.70.5:5001/webman/3rdparty/Duplicati/api/v1/serverstate/?lasteventid=-1&longpoll=false&duration=299s)  
Request Method: GET  
Status Code: 403 Administrator login required  
Remote Address: 192.168.70.5:5001  
Referrer Policy: no-referrer-when-downgrade

---

<div class="post-metadata">

**Author:** ![Brano](https://forum.duplicati.com/user_avatar/forum.duplicati.com/brano/32/2809_2.png) [@Brano](https://forum.duplicati.com/u/Brano)\
**Post date:** [January 13, 2019, 2:42pm UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/15 "2019-01-13T14:42:15Z")

</div>

SOLVED!!! Mea culpa, I apologize for wasting time here. I did not have my user in http group. The user is admin level but still needs to be in http group.  
After adding user to http group I got one message about missing XSRF token and then when I re-opened the window all is working. No more lost connection, reconnecting messages.

Step 3) in install instructions [here](https://forum.duplicati.com/t/how-to-install-duplicati-on-synology-dsm/5145?u=jonmikelv) is really important!

---

<div class="post-metadata">

**Author:** ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)\
**Post date:** [January 13, 2019, 4:10pm UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/16 "2019-01-13T16:10:47Z")

</div>

Glad to hear you figured it out!

And don’t worry about “wasting time” - your post will likely help many people save time going forward. 🙂

---

<div class="post-metadata">

**Author:** ![scheeko](https://forum.duplicati.com/user_avatar/forum.duplicati.com/scheeko/32/3240_2.png) [@scheeko](https://forum.duplicati.com/u/scheeko)\
**Post date:** [July 26, 2019, 6:43pm UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/17 "2019-07-26T18:43:38Z")

</div>

Hello!  
I’ve done this – I’ve added all the users to the `http` group just out of curiosity and it still gives me the “Connection lost” error message.  
Any ideas?

---

<div class="post-metadata">

**Author:** ![konzeptbote](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/k/ba9def/32.png) [@konzeptbote](https://forum.duplicati.com/u/konzeptbote)\
**Post date:** [August 5, 2019, 8:00am UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/18 "2019-08-05T08:00:02Z")

</div>

Dear community;

I have a DS416 running DSM 6.2.2-24922 Update 2.  
Mono 4.6.2-0096 (provided through Synology appstore) is running.  
I am with the current Duplicati version 2.0.4.23 (and also tried 2.0.4.17, 2.0.4.20).

1. Initially I looked through why backup stopped -  
config files resided on `/root/.config/Duplicati` and the volume has been completely filled by duplicati Does this corrupt the sqlite databases?.

I found some hint to change the default configuration as cmd line parameter but I am unsure how to change this configuration through the GUI. Neither did I identify the relevant configuration file.

1. Then I moved these files to /volume1 and tried to set a symlink  
`cd /root/.config`  
`ln -s /volume1/@duplicati-config Duplicati`  
Here I am not sure whether Mono / synology work correctly with symbolic links.  
At least I was able to secure my databases this time.

2. Now I am stuck; even without my (possibly corrupted) databases, The server provides the menu, but blinds it out with the error message “ **The connection to the server is lost** ”. I repeatedly run into this, even with a normal directory being created by the installer and the default files.

3. process view:  
After starting the server using the GUI, it will idle some time and the GUI reports afterwards ‘stopped’. In the process tree I find `/volume1/@appstore/Mono/usr/local/bin/mono-sgen /volume1/@appstore/Duplicati/Duplicati.Server.exe`  
This remains also after running `/sbin/initctl stop pkgctl-Duplicati` manually.

4. I was not able to identify the path of the Duplicati log file. dmesg does not show relevant information.  
I did not find readable information in `/volume1/@appstore/Duplicati` nor `/var/log`

5. If validated the http user group (following [How to install Duplicati on Synology / DSM](https://forum.duplicati.com/t/how-to-install-duplicati-on-synology-dsm/5145))

I should state that duplicati package has run good for 9 months before running into this.

Any ideas?

Jens

---

<div class="post-metadata">

**Author:** ![konzeptbote](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/k/ba9def/32.png) [@konzeptbote](https://forum.duplicati.com/u/konzeptbote)\
**Post date:** [September 18, 2019, 8:41pm UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/19 "2019-09-18T20:41:50Z")

</div>

I learned it is actually about the client security settings, see:

> [@Duplicati upgrade - "The host header sent by the client is not allowed"](https://forum.duplicati.com/t/duplicati-upgrade-the-host-header-sent-by-the-client-is-not-allowed/5302/13):
>
> Where would I find those settings in text on a linux (Ubuntu) install? I have CLI-only access to one machine, I want to just edit it in.

ssh on your synology  
mono /volume1/@appstore/Duplicati/Duplicati.Server.exe --webservice-interface=any --webservice-port=5600 --webservice-interface=\* --webservice-allowed-host=\*

Works here.

---

<div class="post-metadata">

**Author:** ![konzeptbote](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/k/ba9def/32.png) [@konzeptbote](https://forum.duplicati.com/u/konzeptbote)\
**Post date:** [September 18, 2019, 8:50pm UTC](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874/20 "2019-09-18T20:50:12Z")

</div>

Importing the CA certificates  
ssh on your machine  
sudo su -  
/var/packages/Mono/target/usr/local/bin/cert-sync /etc/ssl/certs/ca-certificates.crt

[Next page](https://forum.duplicati.com/t/connection-lost-issue-on-synology/5874.md?page=2)
