Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • 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 (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. HTTP Loopback - where the server couldn't access the site which is hosted in the same server

HTTP Loopback - where the server couldn't access the site which is hosted in the same server

Scheduled Pinned Locked Moved Solved Support
17 Posts 3 Posters 1.9k Views 3 Watching
  • 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.
  • dsp76D Offline
    dsp76D Offline
    dsp76
    wrote on last edited by
    #1

    Hi there,
    I have added infiniteWP in a lamp stack on cloudron as a fallback for my failed managed WordPress approach. Wanted to clone my existing site to an unmanaged WordPress.

    It looks like I have connection errors from infiniteWP to the other instance on the same server. Their support released an article, which may explain this.

    https://support.infinitewp.com/support/solutions/articles/195234-error-while-adding-a-wordpress-site-to-the-infinitewp-admin-panel

    Is that the case for cloudron instances?

    (Ask me about B2B marketing automation & low code business solutions, if thats interesting for you.)

    girishG 1 Reply Last reply
    0
    • dsp76D dsp76

      Hi there,
      I have added infiniteWP in a lamp stack on cloudron as a fallback for my failed managed WordPress approach. Wanted to clone my existing site to an unmanaged WordPress.

      It looks like I have connection errors from infiniteWP to the other instance on the same server. Their support released an article, which may explain this.

      https://support.infinitewp.com/support/solutions/articles/195234-error-while-adding-a-wordpress-site-to-the-infinitewp-admin-panel

      Is that the case for cloudron instances?

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @dsp76 first step to debug is to open a web terminal of the lamp app and see if curl https://other.instance works .

      Usually, this should work automatically and apps can reach each other by domain name.

      1 Reply Last reply
      0
      • dsp76D Offline
        dsp76D Offline
        dsp76
        wrote on last edited by dsp76
        #3

        Yes, the curl from web terminal worked. The diagnostics from infinite says something else - see http loopbacks:

        image.png

        Based on that discussion, curl / wget seems not the diagnosis for this issue:
        https://serverfault.com/questions/420897/how-to-enable-http-loopback-connections

        I have no idea, how the vservers are set in cloudron. Maybe there needs to be something additionally added to make it work so servers on the same instance reach each other?

        (Ask me about B2B marketing automation & low code business solutions, if thats interesting for you.)

        1 Reply Last reply
        0
        • dsp76D Offline
          dsp76D Offline
          dsp76
          wrote on last edited by
          #4

          Actually another WordPress Plugin also means, that the Rest API is not activated.
          I know its working from using Insomnia / Postman, but the plugin within the WordPress instance can't reach the API of the same instance.

          (Ask me about B2B marketing automation & low code business solutions, if thats interesting for you.)

          girishG 1 Reply Last reply
          0
          • dsp76D dsp76

            Actually another WordPress Plugin also means, that the Rest API is not activated.
            I know its working from using Insomnia / Postman, but the plugin within the WordPress instance can't reach the API of the same instance.

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            @dsp76 mm, but curl working means that http lookback is indeed working though. Let me see if I can reproduce this. I guess I just install the plugin and the error shows up in the diagnostics?

            1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              I have been searching for the last 5 minutes but where is the diagnostics screen in IWP?

              1 Reply Last reply
              0
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #7

                Unfortunately, I couldn't find it. Let me know where this diagnostics screen is.

                Also, are you using Cloudflare or some other proxy?

                1 Reply Last reply
                0
                • dsp76D Offline
                  dsp76D Offline
                  dsp76
                  wrote on last edited by dsp76
                  #8

                  That was the response of WPML:

                  Located here: /wp-admin/admin.php?page=sitepress-multilingual-cms%2Fmenu%2Fsupport.php
                  Meanwhile, it shows REST API supported. I wish I had saved a screenshot... it makes me look like a fool 😝

                  No cloudfare etc., all is directly connected.

                  (Ask me about B2B marketing automation & low code business solutions, if thats interesting for you.)

                  girishG 1 Reply Last reply
                  0
                  • dsp76D Offline
                    dsp76D Offline
                    dsp76
                    wrote on last edited by dsp76
                    #9

                    Actually, the diagnosis came from the IWP server component. It still says:

                    b1ed3fad-33e6-439f-b9c0-768d4c8483ab-image.png

                    (Ask me about B2B marketing automation & low code business solutions, if thats interesting for you.)

                    1 Reply Last reply
                    0
                    • dsp76D dsp76

                      That was the response of WPML:

                      Located here: /wp-admin/admin.php?page=sitepress-multilingual-cms%2Fmenu%2Fsupport.php
                      Meanwhile, it shows REST API supported. I wish I had saved a screenshot... it makes me look like a fool 😝

                      No cloudfare etc., all is directly connected.

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #10

                      @dsp76 said in HTTP Loopback - where the server couldn't access the site which is hosted in the same server:

                      Located here: /wp-admin/admin.php?page=sitepress-multilingual-cms%2Fmenu%2Fsupport.php

                      Ah, looks like this from some other plugin and not IWP (per the url) ?

                      1 Reply Last reply
                      0
                      • dsp76D Offline
                        dsp76D Offline
                        dsp76
                        wrote on last edited by
                        #11

                        Exactly, I had trouble with two plugins at the same time:

                        1. WPML (sitepress-mulilingual-cms)
                        2. InfiniteWP

                        For WPML - not sure if that was related to HTTP Loopback - the API is again reachable.
                        InfiniteWP still complains about the loopback issue.

                        I will give it a try with another WP Instance later today. Will report back.

                        (Ask me about B2B marketing automation & low code business solutions, if thats interesting for you.)

                        1 Reply Last reply
                        0
                        • girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by girish
                          #12

                          Atleast, InfiniteWP works fine for me in WordPress Developer . Can you try in that?

                          I could not install it in Managed WP. It wants to install it in the iwp subdirectory. This is not allowed in the managed WP package.

                          1 Reply Last reply
                          1
                          • dsp76D Offline
                            dsp76D Offline
                            dsp76
                            wrote on last edited by
                            #13

                            Hi @girish - we again run in this issue, while we choose a workaround in January.
                            We can't connect from infiniteWP Panel (installed in this instance) to a LAMP instance.

                            We came back to the loopback issue, which was also mentioned in the IWP diagnostics:
                            https://support.infinitewp.com/support/solutions/articles/195234-error-while-adding-a-wordpress-site-to-the-infinitewp-admin-panel

                            Should we be able to connect from one Cloudron App to another? We even tried with the Instance "local" IP address, but had no luck.

                            (Ask me about B2B marketing automation & low code business solutions, if thats interesting for you.)

                            1 Reply Last reply
                            0
                            • girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote on last edited by girish
                              #14

                              @dsp76 yes, apps can connect to each other with the domain name. Can you see if you can curl https://lamp.domain.com from the Web Terminal of the infiniteWP app instance?

                              1 Reply Last reply
                              0
                              • dsp76D Offline
                                dsp76D Offline
                                dsp76
                                wrote on last edited by
                                #15

                                Right, that seems to work. Looks like something within infiniteWP is the issue? I will contact their support. I wonder why the loopback check within infiniteWP fails.

                                (Ask me about B2B marketing automation & low code business solutions, if thats interesting for you.)

                                1 Reply Last reply
                                1
                                • girishG Offline
                                  girishG Offline
                                  girish
                                  Staff
                                  wrote on last edited by
                                  #16

                                  @dsp76 yes, I am happy to debug the issue with them, if they can give us hints on how to debug the issue on their side with cURL or equivalent.

                                  1 Reply Last reply
                                  0
                                  • C Offline
                                    C Offline
                                    chriskloss
                                    wrote on last edited by
                                    #17

                                    Response from IWP: https://support.infinitewp.com/support/tickets/497259

                                    "I had a developer look into this issue, and he confirmed that our code was having trouble detecting the HTTP Loopback request.
                                    So, I kindly request you ignore the HTTP loopback status on your IWP admin panel."

                                    1 Reply Last reply
                                    1
                                    • girishG girish has marked this topic as solved on
                                    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.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • Bookmarks
                                    • Search