Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Stale WG session ?

    Scheduled Pinned Locked Moved WireGuard
    36 Posts 6 Posters 4.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • chudakC
      chudak
      last edited by

      I noticed that if I keep WG connected on my iPhone after awhile and phone being on and off it stops resolving host names.

      Turning off and then on WG fixes the problem but wonder if this is something other people see as well ?

      Thx

      Lakitu78L cmcdonaldC 2 Replies Last reply Reply Quote 0
      • Lakitu78L
        Lakitu78 @chudak
        last edited by

        @chudak same situation here... i have to turn off the WG VPN on my Android Phone and wait a minute or so to be able to turn on again the WG VPN to have service again.

        Regards.

        1 Reply Last reply Reply Quote 0
        • cmcdonaldC
          cmcdonald Netgate Developer @chudak
          last edited by

          @chudak Is it just DNS resolution that stops working or is it all connectivity?

          Need help fast? https://www.netgate.com/support

          chudakC 1 Reply Last reply Reply Quote 0
          • chudakC
            chudak @cmcdonald
            last edited by

            @cmcdonald said in Stale WG session ?:

            @chudak Is it just DNS resolution that stops working or is it all connectivity?

            That's a good question, I have not tried using IPs
            Suspect it's DNS but will try using IPs next time it happens

            chudakC 1 Reply Last reply Reply Quote 0
            • chudakC
              chudak @chudak
              last edited by

              @cmcdonald

              I was wrong - no connectivity at all, can't ping my router/gateway or 8.8.8.8

              any clues ?

              cmcdonaldC 1 Reply Last reply Reply Quote 0
              • cmcdonaldC
                cmcdonald Netgate Developer @chudak
                last edited by

                @chudak And if you toggle the iOS client on and off everything starts working again?

                Need help fast? https://www.netgate.com/support

                chudakC 1 Reply Last reply Reply Quote 0
                • chudakC
                  chudak @cmcdonald
                  last edited by

                  @cmcdonald said in Stale WG session ?:

                  @chudak And if you toggle the iOS client on and off everything starts working again?

                  Precisely

                  1 Reply Last reply Reply Quote 0
                  • chudakC
                    chudak
                    last edited by

                    @cmcdonald

                    This is extremely annoying :(

                    Wonder if you had a chance to find a suspect?

                    cmcdonaldC 1 Reply Last reply Reply Quote 0
                    • cmcdonaldC
                      cmcdonald Netgate Developer @chudak
                      last edited by

                      @chudak Try the latest package version 0.1.5_3, which includes a pretty significant fix that impacts handshakes.

                      Need help fast? https://www.netgate.com/support

                      chudakC 1 Reply Last reply Reply Quote 0
                      • chudakC
                        chudak @cmcdonald
                        last edited by

                        @cmcdonald said in Stale WG session ?:

                        @chudak Try the latest package version 0.1.5_3, which includes a pretty significant fix that impacts handshakes.

                        Thanks
                        But I will wait for it to be in stable release
                        Any clues for its eta?

                        @cmcdonald said in Stale WG session ?:

                        @chudak Try the latest package version 0.1.5_3, which includes a pretty significant fix that impacts handshakes.

                        cmcdonaldC 1 Reply Last reply Reply Quote 0
                        • cmcdonaldC
                          cmcdonald Netgate Developer @chudak
                          last edited by

                          @chudak Should in all stable branches now.

                          Need help fast? https://www.netgate.com/support

                          chudakC 1 Reply Last reply Reply Quote 0
                          • chudakC
                            chudak @cmcdonald
                            last edited by

                            @cmcdonald said in Stale WG session ?:

                            @chudak Should in all stable branches now.

                            Installed it, but so far not sure if this issue was fixed.

                            Have you been able to reproduce it?
                            Why do you think it’s fixed?

                            Thx

                            chudakC 1 Reply Last reply Reply Quote 0
                            • chudakC
                              chudak @chudak
                              last edited by

                              @chudak
                              @cmcdonald

                              Actually, I left my iPhone on 5G network and WG connected and so far after > 3 hours, I see no problems.

                              :)

                              cmcdonaldC 1 Reply Last reply Reply Quote 0
                              • cmcdonaldC
                                cmcdonald Netgate Developer @chudak
                                last edited by

                                @chudak Thanks for the feedback! Much appreciated.

                                Need help fast? https://www.netgate.com/support

                                chudakC 1 Reply Last reply Reply Quote 0
                                • chudakC
                                  chudak @cmcdonald
                                  last edited by chudak

                                  @cmcdonald said in Stale WG session ?:

                                  @chudak Thanks for the feedback! Much appreciated.

                                  I don't see a stale state as often as I used to, but it's not completely fixed AFAICS

                                  I will be paying more attention and see if other users provide more data points.

                                  @Lakitu78 You saw the same problem, can you see if it's better/same/worse on the latest release?

                                  1 Reply Last reply Reply Quote 0
                                  • chudakC
                                    chudak
                                    last edited by

                                    @cmcdonald

                                    This problem is not fixed and is very annoying :(

                                    It's very simple to test - connect WG on an iPhone and see if you can use the phone for a whole day.
                                    The iPhone becomes unresponsive and no DNS names get resolved until WG I disable and then activate again.

                                    Please take a look at it!

                                    cmcdonaldC 1 Reply Last reply Reply Quote 0
                                    • cmcdonaldC
                                      cmcdonald Netgate Developer @chudak
                                      last edited by

                                      @chudak I have not been able to replicate this issue as of yet. I have several devices that maintain connections all the time without issue. Can you upgrade to 2.6.0-RC and give v0.1.6 a test?

                                      Need help fast? https://www.netgate.com/support

                                      chudakC 1 Reply Last reply Reply Quote 0
                                      • chudakC
                                        chudak @cmcdonald
                                        last edited by

                                        @cmcdonald said in Stale WG session ?:

                                        @chudak I have not been able to replicate this issue as of yet. I have several devices that maintain connections all the time without issue. Can you upgrade to 2.6.0-RC and give v0.1.6 a test?

                                        I want to wait till 2.6.0 is released.

                                        The devices that you maintain connected to WG all the time, do you turn them off or they are on all the time?

                                        1 Reply Last reply Reply Quote 0
                                        • H
                                          hvbakel
                                          last edited by

                                          Just chiming in that I've seen the same issue with the official wireguard app on Android. The symptoms are the same with an always-on VPN connection that stays on for a day or more but eventually goes stale with no connectivity. A reconnect will fix the issue but it will return occasionally once every 1-3 days. I've noticed it most on first use in the morning after the phone has been idle during the night.

                                          chudakC 1 Reply Last reply Reply Quote 0
                                          • chudakC
                                            chudak @hvbakel
                                            last edited by

                                            @hvbakel

                                            The frequency of this problem I see on iPhone is 1-3 hours

                                            E 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.