Skip to content

Magicsock function not running #13204

Closed

Description

@arduoi

What is the issue?

Ever since updating to 1.72 on my devices I noticed this error
IMG_7230

Steps to reproduce

No response

Are there any recent changes that introduced the issue?

The 1.72 update

OS

Linux, iOS, Other

OS version

Arch Linux - 6.10.6-arch1-1, Ubuntu - 6.8.0-40-generic, iOS 18 Developer Beta 6, iPadOS 17.6.1, tvOS 17.6.0

Tailscale version

1.72.0

Other software

No response

Bug report

BUG-97d6dff337a3030448c463355f1807f200e75f823fdf339cb3a05b9679ba2676-20240821075005Z-846068805659392d

Activity

  1. agottardo commented on Aug 21, 2024

    @agottardo
    Contributor

    Did you notice anything not working, besides the error message?

  2. added
    connectivity
    on Aug 21, 2024
  3. arduoi commented on Aug 21, 2024

    @arduoi
    Author

    Nope, no issues. Everything is working as before the update.

  4. arduoi commented on Aug 21, 2024

    @arduoi
    Author

    Should have mentioned that I also use Mullvad addon.

  5. ev-w commented on Aug 23, 2024

    @ev-w

    Seeing this on my iPhone as well. App version 1.72.0, iOS 17.6.1

    I haven't actually noticed any sort of connectivity issues thus far, thankfully.

  6. ssnkhan commented on Aug 25, 2024

    @ssnkhan

    Seeing the same on iOS 17.6.1.

  7. nikivdev commented on Aug 26, 2024

    @nikivdev

    See the same. Perhaps something has to be updated in tailscale linux program? I run latest version now.

  8. bradfitz commented on Aug 26, 2024

    @bradfitz
    Member

    This is bad and shouldn't ever happen.

    If it gets into this state, direct connections won't work and you'll always go through DERP relays.

    We need to figure out what is causing this.

    I added more logging in 2dd71e6 for #10976 (which is this bug is probably a duplicate of)

    /cc @agottardo @raggi @jwhited

  9. ev-w commented on Aug 26, 2024

    @ev-w

    If it gets into this state, direct connections won't work and you'll always go through DERP relays.

    I'm still seeing this message on my iPhone but tailscale status shows a direct connection, fyi

  10. agottardo commented on Aug 26, 2024

    @agottardo
    Contributor

    @ev-w @nikitavoloboev @ssnkhan can you please attach a bug report identifier in #10976? I'll close this as a duplicate.

  11. bradfitz commented on Aug 26, 2024

    @bradfitz
    Member

    I see no "exiting with error" in the logs for BUG-97d6dff337a3030448c463355f1807f200e75f823fdf339cb3a05b9679ba2676-20240821075005Z-846068805659392d so looks like 2dd71e6 (which was in 1.72.0) never triggered.

    So maybe it's the health warning's detection that's wrong here and the func is actually running fine.

  12. ssnkhan commented on Aug 26, 2024

    @ssnkhan

    I see no "exiting with error" in the logs for BUG-97d6dff337a3030448c463355f1807f200e75f823fdf339cb3a05b9679ba2676-20240821075005Z-846068805659392d so looks like 2dd71e6 (which was in 1.72.0) never triggered.

    So maybe it's the health warning's detection that's wrong here and the func is actually running fine.

    BUG-e5ea68ef8ea1f19b2c320b6b5989dd4be955141ee87b82c276c06cd9f8655030-20240826165835Z-54d44f42a2d14722, thanks for your help!

  13. jwhited commented on Aug 26, 2024

    @jwhited
    Member

    I see no "exiting with error" in the logs for BUG-97d6dff337a3030448c463355f1807f200e75f823fdf339cb3a05b9679ba2676-20240821075005Z-846068805659392d so looks like 2dd71e6 (which was in 1.72.0) never triggered.
    So maybe it's the health warning's detection that's wrong here and the func is actually running fine.

    BUG-e5ea68ef8ea1f19b2c320b6b5989dd4be955141ee87b82c276c06cd9f8655030-20240826165835Z-54d44f42a2d14722, thanks for your help!

    Thanks. I see the same for this. No Receive func %s exiting with error: %T, %v log message found.

  14. 3 remaining items

  15. madjetey commented on Aug 31, 2024

    @madjetey

    Updated to iOS 17.6.1
    Issue persists

    BUG-2ca1903c33996251a9be82fda7e41b579577da49d76c835b144d40b28ef0e447-20240831130106Z-4ce993a7cadb4bc1

  16. ssnkhan commented on Sep 1, 2024

    @ssnkhan

    Just as an update, I am no longer seeing this error (iOS 17.6.1, TailScale 1.72.2).

  17. arduoi commented on Sep 2, 2024

    @arduoi
    Author

    I just received it again with iOS 18 Public Beta 5 (Tailscale 1.72.2):

    BUG-97d6dff337a3030448c463355f1807f200e75f823fdf339cb3a05b9679ba2676-20240902054027Z-ce1d0596cd9b8d25

    I also didn’t have internet connectivity, had to disable and enable Mullvad node.

  18. Smart1e commented on Sep 2, 2024

    @Smart1e

    I am running the latest iOS 18 developer beta and am facing the same issue. Beta 8 I believe.

  19. dalto12593 commented on Sep 3, 2024

    @dalto12593

    Same issues here, can't use any connections after 30 seconds or so, internal or external. iOS 18 22a5326f Tailscale 1.72.2

    BUG-974cfb10f940835a71d148049db73af10b07e1ecebc8f7ba1ecc06d5a6c38c13-20240903055220Z-3f5815d8186a7c18

  20. added a commit that references this issue on Sep 4, 2024
    f63e3e7
  21. added a commit that references this issue on Sep 5, 2024
    13dee9d
  22. offbyone commented on Oct 29, 2024

    @offbyone

    I'm not sure if it's going to be the precise same issue but on iOS 18.1 and tailscale 1.76.1 I was seeing this as well, alongside very degraded networking until I disconnected from my tailnet. Reconnecting didn't show the error.

    Bug report BUG-94195d4c4b808e66cb7d733a16b055409beba6e4997e9413ac9334db81cf0c3e-20241029022401Z-40dc70e9e060fb51

  23. offbyone commented on Oct 29, 2024

    @offbyone

    And again today: BUG-94195d4c4b808e66cb7d733a16b055409beba6e4997e9413ac9334db81cf0c3e-20241029192229Z-3ec497930dbd776a

  24. AIR4Nick commented on Mar 10, 2025

    @AIR4Nick

    Same issue. MagicSock RecieveIPv4 error and also DERP error.
    UDP connection continually drops, then reconnects after an irregular period of time.

    CLIENT CONNECTIVITY STATUS when failing
    UDP = No.
    UPnP = Yes.
    All other client connectivity status = No

    iOS 17.5.1 ~18.3.1, TS 1.80.2. Same errors on iPad 9th Gen, iPad 10th Gen, iPad Pro.

  25. bradfitz commented on Mar 10, 2025

    @bradfitz
    Member

    @AIR4Nick, we don't track bugs that are closed. This bug is closed.

    We might happen to see replies, but it doesn't show up in any dashboards as a thing to fix.

    Can you file a new bug? And include a bug report identifier from the app.

  26. AIR4Nick commented on Mar 10, 2025

    @AIR4Nick

    @AIR4Nick, we don't track bugs that are closed. This bug is closed.

    We might happen to see replies, but it doesn't show up in any dashboards as a thing to fix.

    Can you file a new bug? And include a bug report identifier from the app.

    Thanks Daniel. We did file a separate report via support but have gotten zero traction and this seem like the same bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconnectivity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions