XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    A "socket" was not created for HTTP request before 300000ms

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    90 Posts 8 Posters 15.9k Views 8 Watching
    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.
    • GheppyG Offline
      Gheppy
      last edited by Gheppy

      After several tests, it seems that the error occurs in the transfer differential. Below VM 2 finishes approximately 14 minutes earlier than VM 1, which is more than 300 seconds. If I have a transfer of an single VM on a single NFS Share (NAS) everything is ok. Another thing is that I switched the XOCE on Debian 11.6 instead of Ubuntu server 22.04.2.

      For example, below I have a transfer difference between the two VMs that are on two separate servers with same backup job.
      Another example is the transfer difference for the same VM on several Storage NAS, I have on 3 different NFSs Share as backup.

      f68386b3-7e5d-40eb-95b8-b07351964f8a-image.png

      arsenieciprianA 1 Reply Last reply Reply Quote 0
      • arsenieciprianA Offline
        arsenieciprian @Gheppy
        last edited by

        @Gheppy

        well for me the error apears even if i start only one backup at a time from only one server, the problem is at source backup not destination for example same machine can be copied from one server and on the other server same machine cannot be copied and error apears after 5 minutes, the migration works well. This error is on the oficial xoa also i have tried from sources on debian ubuntu and rocky linux 9 , the error is not fro OS

        1 Reply Last reply Reply Quote 0
        • GheppyG Offline
          Gheppy
          last edited by Gheppy

          On backup I see this.
          This is the job

          a5de5a80-45a7-4fd1-b723-171bea9ce8a1-image.png

          this is the error
          80f2105a-aa9d-4733-a710-b5b39de5fe39-image.png

          server 2 is more slow that server 3, and the error is on server 3 that finish in first 6 min in comparison with server 2 that it finish in 20 min and basically says that server 3 it hasn't responded for 5+ min.

          1 Reply Last reply Reply Quote 0
          • GheppyG Offline
            Gheppy
            last edited by Gheppy

            After I made some change on slow server I manage to get under 5 min difference and is green. Same setup, less VM running.
            3caf4067-47c5-456b-880e-6e4c16272a8b-image.png

            arsenieciprianA 1 Reply Last reply Reply Quote 0
            • arsenieciprianA Offline
              arsenieciprian @Gheppy
              last edited by

              @Gheppy
              what changes have u did ?

              GheppyG 1 Reply Last reply Reply Quote 0
              • GheppyG Offline
                Gheppy @arsenieciprian
                last edited by Gheppy

                @arsenieciprian
                For me, server 2 moves slower because it is busier and I opted to stop some virtual machines in such a way that I have almost the same transfer speed. I rebuilt XOCE from scratch with the latest version in two versions, one on debian 11.6 and the other on rocky linux 9, both behave the same.

                Edit:
                this is working with only one backup connexion (NFS share)

                arsenieciprianA 1 Reply Last reply Reply Quote 0
                • arsenieciprianA Offline
                  arsenieciprian @Gheppy
                  last edited by

                  @Gheppy
                  is not about speed, i have in one datacenter some ancient servers and backups and restore are working well and speed is much slower than this one that give;s this error

                  GheppyG 1 Reply Last reply Reply Quote 0
                  • GheppyG Offline
                    Gheppy @arsenieciprian
                    last edited by Gheppy

                    @arsenieciprian
                    not the speed itself but the transfer speed, it must be about the same on all sources or destinations or the time difference should not exceed 5 minutes

                    Edit:
                    if you have a connection on the source to the first of 10000 and the second of 1000 and on the destination of 10000, you will more than likely have the error

                    arsenieciprianA 1 Reply Last reply Reply Quote 0
                    • arsenieciprianA Offline
                      arsenieciprian @Gheppy
                      last edited by arsenieciprian

                      @Gheppy
                      it does not have to be a problem speed transfer TCP must do his job and limit transfer between , what about if we transfer over internet , is not allways gigabit or 10 gb, i allready tested if this must be a reason

                      GheppyG 1 Reply Last reply Reply Quote 0
                      • GheppyG Offline
                        Gheppy @arsenieciprian
                        last edited by

                        @arsenieciprian.
                        For me all backups are working now, except that one. And that I split it into 2 simple backups

                        1 Reply Last reply Reply Quote 0
                        • capeschoolsC Offline
                          capeschools
                          last edited by

                          I am not sure this adds much to the discussion, but I am also experiencing this issue since the latest update a day or two ago.

                          xoa 5.80.0
                          xo-server 5.110.0

                          I have two hosts in a pool and a single backup location but some backups have completed (all under 5 minutes) and then others have failed at the 5 minute mark from both hosts - I was originally thinking maybe just one host but have success and failure form both to the same location.

                          1 Reply Last reply Reply Quote 0
                          • olivierlambertO Offline
                            olivierlambert Vates 🪐 Co-Founder CEO
                            last edited by

                            @capeschools as a XOA user, you should open a support ticket, this way we could access it remotely and investigate the issue directly there.

                            capeschoolsC 1 Reply Last reply Reply Quote 0
                            • capeschoolsC Offline
                              capeschools @olivierlambert
                              last edited by

                              @olivierlambert understood thanks!

                              julien-fJ 1 Reply Last reply Reply Quote 0
                              • julien-fJ Offline
                                julien-f Vates 🪐 Co-Founder XO Team @capeschools
                                last edited by

                                This should be fixed, please test and keep-me posted 🙂

                                https://github.com/vatesfr/xen-orchestra/commit/c71104db4ffabf70acb7e7f91f421fafebc9eaca

                                0 julien-f committed to vatesfr/xen-orchestra
                                fix(xo-web): don't add servers with empty httpProxy
                                
                                Fixes #6656
                                
                                Introduced by 2412f8b1e
                                
                                This commit also contains a change in `xo-server` to properly handle servers in database that have this problematic entries.
                                arsenieciprianA 1 Reply Last reply Reply Quote 1
                                • arsenieciprianA Offline
                                  arsenieciprian @julien-f
                                  last edited by

                                  @julien-f @olivierlambert

                                  Yes it is working , finaly this issue is fixed.
                                  Thank you

                                  julien-fJ 1 Reply Last reply Reply Quote 1
                                  • julien-fJ Offline
                                    julien-f Vates 🪐 Co-Founder XO Team @arsenieciprian
                                    last edited by

                                    Thank you all for your help on this!

                                    EddieCh08666741E 1 Reply Last reply Reply Quote 1
                                    • olivierlambertO Offline
                                      olivierlambert Vates 🪐 Co-Founder CEO
                                      last edited by

                                      \o/

                                      1 Reply Last reply Reply Quote 0
                                      • GheppyG Offline
                                        Gheppy
                                        last edited by

                                        It is working for me to, thank you

                                        1 Reply Last reply Reply Quote 1
                                        • olivierlambertO olivierlambert marked this topic as a question on
                                        • olivierlambertO olivierlambert has marked this topic as solved on
                                        • olivierlambertO Offline
                                          olivierlambert Vates 🪐 Co-Founder CEO
                                          last edited by

                                          For those affected in XOA: a patch release will be done on latest next week. If you are in a hurry, open a support ticket, we can provide a patch locally 🙂

                                          1 Reply Last reply Reply Quote 0
                                          • EddieCh08666741E Offline
                                            EddieCh08666741 @julien-f
                                            last edited by

                                            @julien-f is there similar codes in restore function. The backup delta seems fixed but the restore showing the same error.

                                            julien-fJ 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post