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. API request to Wordpress (unmanaged) app received through the browser but not through our warehouse system(program)

API request to Wordpress (unmanaged) app received through the browser but not through our warehouse system(program)

Scheduled Pinned Locked Moved Solved Support
wordpressnetworking
8 Posts 2 Posters 1.4k Views 2 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.
  • V Offline
    V Offline
    vova
    wrote on last edited by girish
    #1

    Hello,

    Yesterday I have migrated a WordPress site (Woocommerce) from testing shared hosting to my VPS with Cloudron. The migration was smooth, with a plugin suggested by some members in the forum. However, the requests that update product data from our warehouse system to the Wordpress site doesn't work anymore. The request still pass when sent through the browser.

    Maybe you will have some info that might help me solve this, because I can't really find the problem.

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

      @vova Does your WP instance get the request at all? If it doesn't then, a start would be to check what error you are getting in the code where you are making the request. For example, is it a HTTP error (then it's cloudron related) or a network error (then it's related to networking or maybe DNS is taking it's time to propagate).

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vova
        wrote on last edited by vova
        #3

        The request goes through Talend HTTP API tester (the Chrome plugin) without any problems.

        But through the .net app it shows this error on the screen, like 1-2 sec after I click the start button.

        However, it works on the shared host, before the migration - we have tested it many times there.

        2020-05-20_20-10-28.jpg

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

          @vova This does look like some networking issue between the Cloudron installation and the .net app.

          In the .net app machine, can you check if you can visit your WP install via the browser? Assuming you can, this is probably a TLS related issue . Can you try the solution in https://stackoverflow.com/questions/22627977/the-underlying-connection-was-closed-an-unexpected-error-occurred-on-a-send ? Cloudron does not support SSL3/TLS1/TLS1.1 since they are insecure. You have to use TLS1.2 atleast. Most likely your old shared hosting was using old TLS versions.

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

            Maybe https://blog.darrenjrobinson.com/powershell-the-underlying-connection-was-closed-an-unexpected-error-occurred-on-a-send/ also helps

            1 Reply Last reply
            1
            • V Offline
              V Offline
              vova
              wrote on last edited by
              #6

              @girish said in API request to Wordpress (unmanaged) app received through the browser but not through our warehouse system(program):

              SSL3/TLS1/TLS1.1

              Thanks, I will check this because the active protocols for the shared host are: tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2.

              Probably the connection between the net app and the site was < tls1.2 and it was still supported by the shared host.

              girishG 1 Reply Last reply
              0
              • V vova

                @girish said in API request to Wordpress (unmanaged) app received through the browser but not through our warehouse system(program):

                SSL3/TLS1/TLS1.1

                Thanks, I will check this because the active protocols for the shared host are: tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2.

                Probably the connection between the net app and the site was < tls1.2 and it was still supported by the shared host.

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

                @vova said in API request to Wordpress (unmanaged) app received through the browser but not through our warehouse system(program):

                Probably the connection between the net app and the site was < tls1.2 and it was still supported by the shared host.

                Yes, please let me know if your suspicion is correct.

                V 1 Reply Last reply
                0
                • girishG girish

                  @vova said in API request to Wordpress (unmanaged) app received through the browser but not through our warehouse system(program):

                  Probably the connection between the net app and the site was < tls1.2 and it was still supported by the shared host.

                  Yes, please let me know if your suspicion is correct.

                  V Offline
                  V Offline
                  vova
                  wrote on last edited by
                  #8

                  @girish So, it was the TLS. Changed it to 1.2 and the requests went smooth and fast. Thanks for the tips 🙂

                  1 Reply Last reply
                  2
                  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