Skip to content

[BUG] Unable to create new Connections #238

@zethis

Description

@zethis

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Unable to update or create a NTFY connection with ipv6 only ntfy server, with an existing radarr docker container.
Works fine with a completly fresh one.
Does not work with backup radarr then restore it to a new fresh one
curl ntfy server from inside the container works fine too.

Expected Behavior

Successfully connect to my ipv6 only ntfy instance

Steps To Reproduce

  1. radarr running on ipv4 docker network only
  2. create connection to ntfy
  3. move ntfy server to ipv6 only
  4. move radarr docker network to ipv4 + ipv6
  5. click test button on connection: Unable to send test message: No data available (my.ntfy.dns.server:443)

Environment

- OS:Ubuntu 22.04
- How docker service was installed: https://get.docker.com/
- radarr image lscr.io/linuxserver/radarr:latest

CPU architecture

x86-64

Docker creation

docker-compose file
version: "2"
services:
  radarr:
    image: lscr.io/linuxserver/radarr
    container_name: radarr
    networks:
      - mynetwork_ipv6
      - mynetwork
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Paris
networks:
  mynetwork_ipv6:
    external: true
  mynetwork:
    external: true

Container logs

[Error] NtfyProxy: Unable to send test message 

[v5.15.1.9463] System.Net.Http.HttpRequestException: No data available (my.ntfy.dns.server:443)
 ---> System.Net.Sockets.SocketException (61): No data available
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.attemptConnection(AddressFamily addressFamily, SocketsHttpConnectionContext context, CancellationToken cancellationToken) in ./Radarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 337
   at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.onConnect(SocketsHttpConnectionContext context, CancellationToken cancellationToken) in ./Radarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 313
   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.AddHttp2ConnectionAsync(HttpRequestMessage request)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttp2ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.AuthenticationHelper.SendWithAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, Boolean preAuthenticate, Boolean isProxyAuth, Boolean doRequestAuth, HttpConnectionPool pool, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.DecompressionHandler.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 NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponseAsync(HttpRequest request, CookieContainer cookies) in ./Radarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 115
   at NzbDrone.Common.Http.HttpClient.ExecuteRequestAsync(HttpRequest request, CookieContainer cookieContainer) in ./Radarr.Common/Http/HttpClient.cs:line 157
   at NzbDrone.Common.Http.HttpClient.ExecuteAsync(HttpRequest request) in ./Radarr.Common/Http/HttpClient.cs:line 70
   at NzbDrone.Common.Http.HttpClient.Execute(HttpRequest request) in ./Radarr.Common/Http/HttpClient.cs:line 128
   at NzbDrone.Core.Notifications.Ntfy.NtfyProxy.SendNotification(String title, String message, HttpRequestBuilder requestBuilder, NtfySettings settings) in ./Radarr.Core/Notifications/Ntfy/NtfyProxy.cs:line 142
   at NzbDrone.Core.Notifications.Ntfy.NtfyProxy.SendNotification(String title, String message, NtfySettings settings) in ./Radarr.Core/Notifications/Ntfy/NtfyProxy.cs:line 47
   at NzbDrone.Core.Notifications.Ntfy.NtfyProxy.Test(NtfySettings settings) in ./Radarr.Core/Notifications/Ntfy/NtfyProxy.cs:line 79

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions