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

    Haproxy - Mobile Networks in UK completely broken

    Scheduled Pinned Locked Moved General pfSense Questions
    45 Posts 3 Posters 3.4k 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.
    • VioletDragonV
      VioletDragon @stephenw10
      last edited by

      Good afternoon,

      Would like to update you, the problem seems to be resolved. I believe the problem was due to Public DNS Servers on Mobile Networks.

      Regards

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Ah, interesting. The first rule of troublshooting: it's always DNS!
        Though I wouldn't have guessed that here fro what you were seeing.

        Glad it was resolved.

        VioletDragonV 2 Replies Last reply Reply Quote 1
        • VioletDragonV
          VioletDragon @stephenw10
          last edited by VioletDragon

          @stephenw10 I dropped the MTU, MSS on WAN1, but the DNS lookup seems to be fixed with Vodaphone, Three. I do plan on moving Name Servers to my own VMs so i won't have to rely on someone else.

          All errors in Wireshark seems to be resolved too so those errors could be related to the ISP. I will keep an eye on it though

          Regards

          1 Reply Last reply Reply Quote 0
          • VioletDragonV
            VioletDragon @stephenw10
            last edited by VioletDragon

            @stephenw10 Hi folks, thought i'd chime in again. There is a problem somewhere and i am beginning to wonder if its more down to iOS devices. When connected to 4G and connecting to services which runs through Haproxy over WAN is where the problem is but it doesn't happen all of the time,

            Services that are Public facing and accessing through 4G connecting via WAN is the problem here, it works perfectly fine when connected to WIFI internally or WIFI at work, families internet etc.

            As dumb as it sounds i am beginning to wonder if this is something to do with Apples Webkit and the way the devices handles Encryption.

            Regards

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Hmm, bizarre. Though it's hard to imagine how that would vary when the phone is connected to WiFi.

              Have you ever seen the issue on anything other than an iOS device connected over 4G?

              VioletDragonV 2 Replies Last reply Reply Quote 0
              • VioletDragonV
                VioletDragon @stephenw10
                last edited by

                @stephenw10 not that I am a aware of, I have family and friends that uses Element / Matrix-Synapse and it’s the iPhone users that are reporting this issue. SSL Errors, I’ve tested on my iPhone SE 2020 and also suffers the same problem, tested on Android and no issues at all. It’s a strange one.

                Regards

                1 Reply Last reply Reply Quote 0
                • VioletDragonV
                  VioletDragon
                  last edited by

                  Just want to update you folks. After a few hours of scouring the Internet. I have found that iOS 17.4 is broken for certain devices which seems to affect only certain iOS devices.

                  I have been messing around here what I’ve found so far. Using EDGE instead of 4G no problems, no SSL errors or time outs but of course very slow, using 4G is where the problem arises on the device itself.

                  Tethering using 4G to either a Desktop/Laptop or Android phone no problems at all. Connecting to WI-FI internally or externally no problems at all.

                  Remove SIM from the iPhone installed it into an Android and did all the same tests no errors at all. APIs and Browsers work perfectly fine.

                  This is very interesting however iOS 17.5 has been released so I will update and do all the tests. But it seems a lot of APIs and websites are broken with Apples Native Webkit.

                  Regards

                  1 Reply Last reply Reply Quote 1
                  • VioletDragonV
                    VioletDragon @stephenw10
                    last edited by

                    @stephenw10 Good evening,

                    Just want to update you on this situation, decided to move DNS Providers from DigitalOcean to our own Name Servers we built from scratch, this problem no longer happens very strange. Since moving we no longer get issues with DNS Probe Errors neither inbound emails being very delayed.

                    Not sure if this was a issue due to Geolocation or maybe a DNS Resolver problem but running ns1 on Premise and ns2 off-premise all of these errors are resolved on both iOS devices and Android devices.

                    I am aware that DigitalOcean uses Cloudflare as there providers so possibly a issue with Cloudflare who knows/

                    Regards

                    Jack

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Hmm, I hate weird problems like that! Still, thanks for the update. Glad you were able to work past it. 👍

                      VioletDragonV 1 Reply Last reply Reply Quote 1
                      • VioletDragonV
                        VioletDragon @stephenw10
                        last edited by

                        @stephenw10 Just hope it's not one those issues that will come up, but one thing I have noticed is that the Time MS is much lower on the Name Servers I've built the Time MS was at 116 before very strange.

                        johnpozJ 1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator @VioletDragon
                          last edited by

                          @VioletDragon your time doesn't have to be dead nuts on, a few seconds sure are not going to matter.

                          But to your question about time - are the ones you built physical hardware or running on a VM like DOs would be - physical hardware is much better at keeping time than a vm. So yeah I would think your offset should after a while running be smaller than what you might see on a vm.

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                          VioletDragonV 1 Reply Last reply Reply Quote 0
                          • VioletDragonV
                            VioletDragon @johnpoz
                            last edited by

                            @johnpoz Both ns1 and ns2 i built are running on VMs, Cluster on Site and the second one a VPS at Hetzner, I have been testing as i have a bunch of Domains that were using my name server and domains using DigitalOcean but who knows what the problem is, i think it could be more down to Geolocation as the IPs of DigitalOceans shows America, I'm in the UK but it would be interesting to see what was causing the problem though.

                            Regards

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