# WebException The remote name could not be resolved

**URL:** <https://forum.duplicati.com/t/webexception-the-remote-name-could-not-be-resolved/19097>\
**Category:** Uncategorized\
**Created:** [October 7, 2024, 6:44am UTC](https://forum.duplicati.com/t/webexception-the-remote-name-could-not-be-resolved/19097 "2024-10-07T06:44:15Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterE](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/p/c89c15/32.png) [@PeterE](https://forum.duplicati.com/u/PeterE)\
**Post date:** [October 7, 2024, 6:44am UTC](https://forum.duplicati.com/t/webexception-the-remote-name-could-not-be-resolved/19097/1 "2024-10-07T06:44:15Z")

</div>

Yesterday I got the following message box appear on my Windows machine.

“2024-10-06 17:10:26 + 11 -[Warning-  
Duplicati.Library.Modules.Builtin.ReportHelper-  
ReportSubmitError]: Failed to send message:  
System.Net.WebException: The remote name could not be  
resolved: ‘[ingress.duplicati.com](http://ingress.duplicati.com)’ WebException: The remote  
name could not be be resolved: ‘[ingress.duplicati.com](http://ingress.duplicati.com)’”

What is the cause or resolution to this error?

Can you please list these errors in the manual?

---

<div class="post-metadata">

**Author:** ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)\
**Post date:** [October 12, 2024, 7:29pm UTC](https://forum.duplicati.com/t/webexception-the-remote-name-could-not-be-resolved/19097/2 "2024-10-12T19:29:05Z")

</div>

[WebException The operation has timed out](https://forum.duplicati.com/t/webexception-the-operation-has-timed-out/19096) sounds awfully similar. Answer there might apply, however the one here is the attempt to find the Internet address of `ingress.duplicati.com`.

Transport over the Internet is done by address. Names are looked up first to find where to go.

[Domain Name System](https://en.wikipedia.org/wiki/Domain_Name_System)

I can reproduce this issue if I have my computer disconnected from Internet at end of backup. Possibly your situation is different. Outages can occur beyond the local end of the connection.

If you click on the link you posted, and your browser can’t get there, Duplicati might not either.

---

<div class="post-metadata">

**Author:** ![PeterE](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/p/c89c15/32.png) [@PeterE](https://forum.duplicati.com/u/PeterE)\
**Post date:** [October 13, 2024, 5:51am UTC](https://forum.duplicati.com/t/webexception-the-remote-name-could-not-be-resolved/19097/3 "2024-10-13T05:51:32Z")

</div>

Thank you ts678 for your reply.  
I got that warning on 6 Oct 2024. On 10 Oct 2024 I got the same message. However this time it was a different backup script.

Immediately after the warning on 10 Oct 2024 I manually tried to go to the web address ‘[ingress.duplicati.com](http://ingress.duplicati.com)’. My browser did so by resolving to [https://duplicati.com](https://duplicati.com)

There are two thoughts regarding this warning.

1. Neither of the warnings got written to the log for the scripts. This is a concern.

2. Duplicati is probably calling home to notify home of the warning.  
I have now turned off that option in Settings.

---

<div class="post-metadata">

**Author:** ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)\
**Post date:** [October 13, 2024, 11:56am UTC](https://forum.duplicati.com/t/webexception-the-remote-name-could-not-be-resolved/19097/4 "2024-10-13T11:56:35Z")

</div>

> [@PeterE](#):
>
> the log for the scripts

Please clarify which log.

Are you using scripts? They generally should run their own log if they want one, however

[Where does script output go to (difference between BEFORE and AFTER?)](https://forum.duplicati.com/t/where-does-script-output-go-to-difference-between-before-and-after/9571/2)  
may help if you have a script that wants a log, but isn’t doing its own. Note timing matters:

[Viewing the log files of a backup job](https://docs.duplicati.com/en/latest/03-using-the-graphical-user-interface/#viewing-the-log-files-of-a-backup-job) refers to the backup itself. This log can be sent using

[Reporting options](https://docs.duplicati.com/en/latest/06-advanced-options/#reporting-options)  
however I don’t thnk a transfer problem retrofits that log to indicate that it couldn’t be sent.

There is no queue/retry mechanism built in that I know of, which is why a lack of backup is reportable more reliably externally than by Duplicati itself. Its computer may even be down.

> [@PeterE](#):
>
> this time it was a different backup script.

Are you writing CLI scripts using the GUI?  
[Scripting options](https://docs.duplicati.com/en/latest/06-advanced-options/#scripting-options) exist either way, but basic GUI job is not a script. Please clarify your usage.

> [@PeterE](#):
>
> Duplicati is probably calling home to notify home of the warning.

I don’t follow that, but there’s much here that needs clarification. Was there another warning?

> [@PeterE](#):
>
> I have now turned off that option in Settings.

Please clarify which option you have turned off. If you mean `send-http-url`, your usage with `ingress.duplicati.com` should always try to send. This allows detection of missed backups.

Unless there was some other warning you missed, the only loss was a mystery network outage (somewhat more assured because you spoke to the server admin on your [other related issue](https://forum.duplicati.com/t/webexception-the-operation-has-timed-out/19096)).

Without that assurance, there’s a chance the server was down briefly, but even that would have difficulty taking DNS down (because DNS is spread more widely, throughout Internet services).

What OS is this? Some might cache DNS answers, which may help ride through some outages.

Are you backing up to a Storage Type that needs working Internet, or to something that’s local?

---

<div class="post-metadata">

**Author:** ![kenkendk](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kenkendk/32/5305_2.png) [@kenkendk](https://forum.duplicati.com/u/kenkendk)\
**Post date:** [October 13, 2024, 1:29pm UTC](https://forum.duplicati.com/t/webexception-the-remote-name-could-not-be-resolved/19097/5 "2024-10-13T13:29:20Z")

</div>

> [@PeterE](#):
>
> Immediately after the warning on 10 Oct 2024 I manually tried to go to the web address ‘[ingress.duplicati.com](http://ingress.duplicati.com)’. My browser did so by resolving to [https://duplicati.com](https://duplicati.com)

That is by design. The server that the report is going to does not contain any browse able content. To help people who see the hostname in logs, visiting the site redirects you to the parent site.

The fact that you can connect to the site with a browser, suggests that this is not a network issue. Most likely a firewall of sorts is preventing Duplicati from connecting. If the firewall is per-process, you will have no problems with a browser or a ping tool.

> [@PeterE](#):
>
> Neither of the warnings got written to the log for the scripts. This is a concern.

You see the warning, so clearly it is logged? Where did you expect it to be logged?

> [@PeterE](#):
>
> Duplicati is probably calling home to notify home of the warning.  
> I have now turned off that option in Settings.

Duplicati has a usage reporter that sends anonymous usage stats back. You can see the data here:  
[https://usage-reporter.duplicati.com](https://usage-reporter.duplicati.com)

However, this is NOT related to the ingress endpoint you mentioned. That endpoint is for the Duplicati console/portal that has a manual setup step.

---

<div class="post-metadata">

**Author:** ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)\
**Post date:** [October 13, 2024, 2:00pm UTC](https://forum.duplicati.com/t/webexception-the-remote-name-could-not-be-resolved/19097/6 "2024-10-13T14:00:17Z")

</div>

Did this happen on every backup before you removed the option that sends it?  
The description is not clear on whether it’s a sometimes or an always problem.  
Firewall would probably be consistent. Network issues more likely intermittent.

---

<div class="post-metadata">

**Author:** ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)\
**Post date:** [October 13, 2024, 7:41pm UTC](https://forum.duplicati.com/t/webexception-the-remote-name-could-not-be-resolved/19097/7 "2024-10-13T19:41:19Z")

</div>

What OS is this? Firewall behavior varies with different OS. For example Windows might say:

![image](https://forum.duplicati.com/uploads/default/original/2X/e/e762dee309ee237b0dabc7609aaa7481e5d5f5ed.png)

I decline the “Allow access” button (using “Cancel” instead. and outbound still runs just fine.

[Windows Firewall overview](https://learn.microsoft.com/en-us/windows/security/operating-system-security/network-security/windows-firewall/) says “default is allow all outgoing traffic, unless matching a _rule_”

---

<div class="post-metadata">

**Author:** ![PeterE](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/p/c89c15/32.png) [@PeterE](https://forum.duplicati.com/u/PeterE)\
**Post date:** [October 14, 2024, 5:40am UTC](https://forum.duplicati.com/t/webexception-the-remote-name-could-not-be-resolved/19097/8 "2024-10-14T05:40:39Z")

</div>

I did give the OS in the first line of my first post. But here is the information from Duplicati:-

OSType : Windows (from About Duplicati, button ‘System Info’)

OS: Microsoft Windows NT 10.0.22631.0 (from system-info.txt)

Version name: “2.0.8.1\_beta\_2024-05-07” (2.0.8.1) (from system-info.txt)

The message has now come from two different GUI Jobs. Hopefully I am now using the correct terminology.

The error does not appear in the GUI Job log. The summary states:-  
Warnings 0  
Errors 0

I noticed that there is another log. From the GUI. Menu About. Button ‘Show log’. This gives Log data from the server. The error does not appear here.

Is this where the error should appear?

---

<div class="post-metadata">

**Author:** ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)\
**Post date:** [October 14, 2024, 12:32pm UTC](https://forum.duplicati.com/t/webexception-the-remote-name-could-not-be-resolved/19097/9 "2024-10-14T12:32:58Z")

</div>

> [@PeterE](#):
>
> Is this where the error should appear?

You would need a developer to comment. It appears in About → Show log → Live → Warning, however that’s not something you’d usually set up. Similar situation for a user optioned [log-file](https://docs.duplicati.com/en/latest/06-advanced-options/#log-file).

The error appears for you on a big yellow popup at bottom of screen, right? Example from me:

![image](https://forum.duplicati.com/uploads/default/original/2X/2/214ea074febdef97b40533adcd85fb5856344521.png)

There’s a known issue of the Show button using the job log, which is usually right, but not always. There’s not much about this one that isn’t already on the screen. Log file on disk has internal info:

```plaintext
2024-10-14 08:15:02 -04 - [Warning-Duplicati.Library.Modules.Builtin.ReportHelper-ReportSubmitError]: Failed to send message: System.Net.WebException: The remote name could not be resolved: 'ingress.duplicati.com'

System.Net.WebException: The remote name could not be resolved: 'ingress.duplicati.com'
   at Duplicati.Library.Modules.Builtin.SendHttpMessage.SendMessage(String subject, String body)
   at Duplicati.Library.Modules.Builtin.ReportHelper.OnFinish(Object result, Exception exception)

```

Live log is similar:

 ![image](https://forum.duplicati.com/uploads/default/original/2X/7/75148b11584f4bb6205bcbc19009f35d0f42ba13.png)

These all say that the report couldn’t be sent. Are you sure your network is OK at failure time?  
Does this computer ever move? A WiFi or cellular laptop is likely to suffer intermittent outages.

> [@PeterE](#):
>
> The error does not appear in the GUI Job log.

Repeating (anything unclear?):

> [@ts678](#):
>
> I don’t thnk a transfer problem retrofits that log to indicate that it couldn’t be sent.

Repeating:

> [@ts678](#):
>
> Did this happen on every backup before you removed the option that sends it?  
> The description is not clear on whether it’s a sometimes or an always problem.  
> Firewall would probably be consistent. Network issues more likely intermittent.

---

<div class="post-metadata">

**Author:** ![kenkendk](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kenkendk/32/5305_2.png) [@kenkendk](https://forum.duplicati.com/u/kenkendk)\
**Post date:** [October 15, 2024, 8:24am UTC](https://forum.duplicati.com/t/webexception-the-remote-name-could-not-be-resolved/19097/10 "2024-10-15T08:24:04Z")

</div>

> [@PeterE](#):
>
> The error does not appear in the GUI Job log. The summary states:-  
> Warnings 0  
> Errors 0

In the 2.0.8.1 there is limited logging around the backup report. I fixed this in the canary builds, so it should now show up like a “normal” warning in the way illustrated by @ts678

---

<div class="post-metadata">

**Author:** ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)\
**Post date:** [October 15, 2024, 11:10am UTC](https://forum.duplicati.com/t/webexception-the-remote-name-could-not-be-resolved/19097/11 "2024-10-15T11:10:04Z")

</div>

I showed the popup and the `log-file`. I would consider the most “normal” to be the job log.

2.0.9.108 still does the `log-file`, though interestingly the specific error here looks different:

```plaintext
2024-10-11 07:53:17 -04 - [Warning-Duplicati.Library.Modules.Builtin.SendHttpMessage-HttpResponseError]: HTTP Response request failed for: https://ingress.duplicati.com/backupreports/D9TDf_1NWuX2j_miRLi9e20c5x-iIM7UCuq51teAYrLxqIhziG_C6dfU4OIHGNDYBJSJID3Mmi5M1XEPI7fPm3X55oW1fJw4FinjuauqsP6CHk0kyem7ZvOroJW_roQsoBAHcAA8fTAhir-VmQGz23yy39p-vk524QRh9fTPM0A
System.Net.Http.HttpRequestException: No such host is known. (ingress.duplicati.com:443)
 ---> System.Net.Sockets.SocketException (11001): No such host is known.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Duplicati.Library.Modules.Builtin.SendHttpMessage.SendMessage(HttpClient client, SendRequestType target, String subject, String body)
2024-10-11 07:53:17 -04 - [Warning-Duplicati.Library.Modules.Builtin.ReportHelper-ReportSubmitError]: Failed to send message: System.Net.Http.HttpRequestException: No such host is known. (ingress.duplicati.com:443)
--> System.Net.Sockets.SocketException: No such host is known.

System.Net.Http.HttpRequestException: No such host is known. (ingress.duplicati.com:443)
 ---> System.Net.Sockets.SocketException (11001): No such host is known.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Duplicati.Library.Modules.Builtin.SendHttpMessage.SendMessage(String subject, String body)
   at Duplicati.Library.Modules.Builtin.ReportHelper.OnFinish(Object result, Exception exception)

```

Was job log supposed to pick it up in this Canary? Doesn’t seem to:

![image](https://forum.duplicati.com/uploads/default/original/2X/c/c8d2d2b85cc880e671275c8f8d073f707d088eb1.png)

`Complete log` has

```plaintext
    "Messages": null,
    "Warnings": null,
    "Errors": null,

```

If need be, I can test again in case I forgot what I did before, but which log should get this?  
The server log didn’t either. IIRC, both 2.0.8.1 and 2.0.9.108 got the yellow popup. Clarify?

---

<div class="post-metadata">

**Author:** ![PeterE](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/p/c89c15/32.png) [@PeterE](https://forum.duplicati.com/u/PeterE)\
**Post date:** [October 18, 2024, 6:28am UTC](https://forum.duplicati.com/t/webexception-the-remote-name-could-not-be-resolved/19097/12 "2024-10-18T06:28:41Z")

</div>

Thank you both for looking into this issue.  
I look forward to the next release.

---

<div class="post-metadata">

**Author:** ![kenkendk](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kenkendk/32/5305_2.png) [@kenkendk](https://forum.duplicati.com/u/kenkendk)\
**Post date:** [October 21, 2024, 1:33pm UTC](https://forum.duplicati.com/t/webexception-the-remote-name-could-not-be-resolved/19097/13 "2024-10-21T13:33:56Z")

</div>

> [@ts678](#):
>
> `Complete log` has
> 
> ```plaintext
> "Messages": null,
> "Warnings": null,
> "Errors": null,
> 
> ```

I see… It is a chicken-and-egg problem. The error happens when sending the report (meaning after the report was created), so the error cannot be inside the report.

In that case it is only reported in the server log or on the commandline.

---

<div class="post-metadata">

**Author:** ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)\
**Post date:** [October 21, 2024, 2:44pm UTC](https://forum.duplicati.com/t/webexception-the-remote-name-could-not-be-resolved/19097/14 "2024-10-21T14:44:16Z")

</div>

> [@PeterE](#):
>
> I look forward to the next release.

Since this is getting further posts, I’ll note that DNS lookups are not done directly by Duplicati, therefore Duplicati cannot fix the code. It might not be in code anyway, but a network problem.

Ordinary web programs probably let Windows do the DNS lookup. Browsers can do their own.

[DNS over HTTPS](https://en.wikipedia.org/wiki/DNS_over_HTTPS) can let you look at your OS and browser to see which method might be bad. Router (especially if this is a home setup – is it?) often gets involved in traditional DNS lookup. Internet service provider may get involved. You can move that to another [public DNS resolver](https://en.wikipedia.org/wiki/Public_recursive_name_server).

Amidst all possible variation, your network being out can likely cause this and your other issue. Possibly with time you will find out if the problem is repeatable, how often, and with which jobs.
