Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Uncategorized
  3. So I have a weird #networking problem: I have a #homeserver with several webservices, exposed to the internet via a reverse proxy.

So I have a weird #networking problem: I have a #homeserver with several webservices, exposed to the internet via a reverse proxy.

Scheduled Pinned Locked Moved Uncategorized
networkinghomeserversafarifirefoxaskfedi
20 Posts 4 Posters 43 Views
  • 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.
  • arutazA arutaz
    @asmw hum ok. Can you try curl? I'm no expert but with some switch I think you can get a quite verbose output. Maybe that will tell what is blocking you for that long
    asmwA This user is from outside of this forum
    asmwA This user is from outside of this forum
    asmw
    wrote last edited by
    #7

    @arutaz Fetching the main pages using curl is basically instant.

    In the FF devtools I also see that a bunch of request finish very quickly and some hang for over 40 seconds.

    arutazA 1 Reply Last reply
    0
    • asmwA asmw

      So I have a weird #networking problem: I have a #homeserver with several webservices, exposed to the internet via a reverse proxy.

      When I access any service from my linux desktop or laptop, either from home or on the go, everything works fine.

      When I try to access the services from my macbook, they all hang for a long time before doing anything. This issue presents in #safari and #firefox, so I don't think it's a browser issue.

      Anyone got tips?

      #askfedi #macos #linux

      H This user is from outside of this forum
      H This user is from outside of this forum
      hiddenalpha
      wrote last edited by
      #8

      @asmw

      its always DNS 😆

      Maybe DNS lookup orders differ? Maybe conflict with mDNS? (assuming mDNS only active on mac)

      Edit: Oh sorry. Missed that was already adressed.

      1 Reply Last reply
      0
      • asmwA asmw

        @arutaz Fetching the main pages using curl is basically instant.

        In the FF devtools I also see that a bunch of request finish very quickly and some hang for over 40 seconds.

        arutazA This user is from outside of this forum
        arutazA This user is from outside of this forum
        arutaz
        wrote last edited by
        #9
        @asmw Ok so then it at least seems that there is nothing wrong with routing or tls etc. What service is it? You had multiple different services and they all do this?
        asmwA 2 Replies Last reply
        0
        • arutazA arutaz
          @asmw Ok so then it at least seems that there is nothing wrong with routing or tls etc. What service is it? You had multiple different services and they all do this?
          asmwA This user is from outside of this forum
          asmwA This user is from outside of this forum
          asmw
          wrote last edited by
          #10

          @arutaz Jupp, nextcloud, gotify, silverbullet. All slow/laggy.

          1 Reply Last reply
          0
          • arutazA arutaz
            @asmw Ok so then it at least seems that there is nothing wrong with routing or tls etc. What service is it? You had multiple different services and they all do this?
            asmwA This user is from outside of this forum
            asmwA This user is from outside of this forum
            asmw
            wrote last edited by
            #11

            @arutaz Huh, so the macbook is new, it hasn't left the house yet. I just put it on the hotspot on my phone (so it has to go through the internet) and THAT WORKS FINE?

            asmwA arutazA 2 Replies Last reply
            0
            • asmwA asmw

              @arutaz Huh, so the macbook is new, it hasn't left the house yet. I just put it on the hotspot on my phone (so it has to go through the internet) and THAT WORKS FINE?

              asmwA This user is from outside of this forum
              asmwA This user is from outside of this forum
              asmw
              wrote last edited by
              #12

              @arutaz Some wifi issue?

              1 Reply Last reply
              0
              • asmwA asmw

                @arutaz Huh, so the macbook is new, it hasn't left the house yet. I just put it on the hotspot on my phone (so it has to go through the internet) and THAT WORKS FINE?

                arutazA This user is from outside of this forum
                arutazA This user is from outside of this forum
                arutaz
                wrote last edited by
                #13
                @asmw I would think a settiong in your router is to blame. When you connect to an outside address for your server stuff, like nextcloud.yourdomain.com then your router see that the IP of that is pointing to itself.
                I think there are settings in most routers for this but I don't know what it's called.
                When your mac is connecting using your phone it's like it's on the outside and everything works great.
                asmwA 1 Reply Last reply
                0
                • arutazA arutaz
                  @asmw I would think a settiong in your router is to blame. When you connect to an outside address for your server stuff, like nextcloud.yourdomain.com then your router see that the IP of that is pointing to itself.
                  I think there are settings in most routers for this but I don't know what it's called.
                  When your mac is connecting using your phone it's like it's on the outside and everything works great.
                  asmwA This user is from outside of this forum
                  asmwA This user is from outside of this forum
                  asmw
                  wrote last edited by
                  #14

                  @arutaz That's not the case here, I am NATed, so I have a static wireguard tunnel with a static IPv4 as the endpoint. The names resolve to an external IP.

                  arutazA 1 Reply Last reply
                  0
                  • asmwA asmw

                    @arutaz That's not the case here, I am NATed, so I have a static wireguard tunnel with a static IPv4 as the endpoint. The names resolve to an external IP.

                    arutazA This user is from outside of this forum
                    arutazA This user is from outside of this forum
                    arutaz
                    wrote last edited by
                    #15
                    @asmw ok
                    asmwA 1 Reply Last reply
                    0
                    • arutazA arutaz
                      @asmw ok
                      asmwA This user is from outside of this forum
                      asmwA This user is from outside of this forum
                      asmw
                      wrote last edited by
                      #16

                      @arutaz So technically all uses of my services from home should go to the internet first (wasteful, I know). So weird there's a difference.

                      arutazA 1 Reply Last reply
                      0
                      • asmwA asmw

                        @arutaz So technically all uses of my services from home should go to the internet first (wasteful, I know). So weird there's a difference.

                        arutazA This user is from outside of this forum
                        arutazA This user is from outside of this forum
                        arutaz
                        wrote last edited by
                        #17
                        @asmw and your wireguard tunnel is not setup to allow local network otuside the tunnel?
                        asmwA 1 Reply Last reply
                        0
                        • arutazA arutaz
                          @asmw and your wireguard tunnel is not setup to allow local network otuside the tunnel?
                          asmwA This user is from outside of this forum
                          asmwA This user is from outside of this forum
                          asmw
                          wrote last edited by
                          #18

                          @arutaz It's supposed to be point to point, but I'm no expert. It has worked for months without issues.

                          arutazA 1 Reply Last reply
                          0
                          • asmwA asmw

                            @arutaz It's supposed to be point to point, but I'm no expert. It has worked for months without issues.

                            arutazA This user is from outside of this forum
                            arutazA This user is from outside of this forum
                            arutaz
                            wrote last edited by
                            #19
                            @asmw Oh, so the problem is new? It has worked with the same setup until recently?
                            1 Reply Last reply
                            0
                            • asmwA asmw

                              @redbr1ck While it's always DNS, the adresses resolve correctly.

                              Fetching the main pages using curl is also instant, seems to affect either larger transfers or depends on the number of connections?

                              redbr1ckR This user is from outside of this forum
                              redbr1ckR This user is from outside of this forum
                              redbr1ck
                              wrote last edited by
                              #20

                              @asmw did you query DNS with macOS native tool dscacheutil? It might give different result than curl or dig.

                              1 Reply Last reply
                              1
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              Powered by NodeBB Contributors
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups