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
  • 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 (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Community App: CloudronVersions.json Response timeout

Community App: CloudronVersions.json Response timeout

Scheduled Pinned Locked Moved Solved Support
community
16 Posts 3 Posters 60 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.
  • rosanoR Offline
    rosanoR Offline
    rosano
    wrote last edited by joseph
    #1

    Not sure why this is timing out as the URL seems to be available for me:

    https://bind.0data.app/CloudronVersions.json

    Mar 20 14:00:10 {
    Mar 20 14:00:10 path: '/api/v1/community/app',
    Mar 20 14:00:10 status: 500,
    Mar 20 14:00:10 error: ServerError [ServiceUnavailableError]: Response timeout
    Mar 20 14:00:10 at IncomingMessage.<anonymous> (/home/yellowtent/box/node_modules/connect-timeout/index.js:84:8)
    Mar 20 14:00:10 at IncomingMessage.emit (node:events:508:28)
    Mar 20 14:00:10 at Timeout._onTimeout (/home/yellowtent/box/node_modules/connect-timeout/index.js:49:11)
    Mar 20 14:00:10 at listOnTimeout (node:internal/timers:605:17)
    Mar 20 14:00:10 at process.processTimers (node:internal/timers:541:7) {
    Mar 20 14:00:10 code: 'ETIMEDOUT',
    Mar 20 14:00:10 timeout: 60000
    Mar 20 14:00:10 }
    Mar 20 14:00:10 }
    Mar 20 14:00:10 HttpError: Could not resolve CloudronVersions.json from URL
    Mar 20 14:00:10 at BoxError.toHttpError (file:///home/yellowtent/box/src/boxerror.js:86:16)
    Mar 20 14:00:10 at getAppVersion (file:///home/yellowtent/box/src/routes/community.js:13:37)
    Mar 20 14:00:10 at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    Mar 20 14:00:20 box:apphealthmonitor app health: 19 running / 3 stopped / 0 unresponsive
    Mar 20 14:00:30 box:apphealthmonitor app health: 19 running / 3 stopped / 0 unresponsive
    Mar 20 14:00:40 box:apphealthmonitor app health: 19 running / 3 stopped / 0 unresponsive
    Mar 20 14:00:50 box:apphealthmonitor app health: 19 running / 3 stopped / 0 unresponsive
    Mar 20 14:01:00 box:apphealthmonitor app health: 19 running / 3 stopped / 0 unresponsive
    Mar 20 14:01:10 box:apphealthmonitor app health: 19 running / 3 stopped / 0 unresponsive
    Mar 20 14:01:20 box:apphealthmonitor app health: 19 running / 3 stopped / 0 unresponsive
    Mar 20 14:01:20 {
    Mar 20 14:01:20 path: '/api/v1/community/app',
    Mar 20 14:01:20 status: 500,
    Mar 20 14:01:20 error: ServerError [ServiceUnavailableError]: Response timeout
    Mar 20 14:01:20 at IncomingMessage.<anonymous> (/home/yellowtent/box/node_modules/connect-timeout/index.js:84:8)
    Mar 20 14:01:20 at IncomingMessage.emit (node:events:508:28)
    Mar 20 14:01:20 at Timeout._onTimeout (/home/yellowtent/box/node_modules/connect-timeout/index.js:49:11)
    Mar 20 14:01:20 at listOnTimeout (node:internal/timers:605:17)
    Mar 20 14:01:20 at process.processTimers (node:internal/timers:541:7) {
    Mar 20 14:01:20 code: 'ETIMEDOUT',
    Mar 20 14:01:20 timeout: 60000
    Mar 20 14:01:20 }
    Mar 20 14:01:20 }
    

    Noticing also that it seems to resolve immediately the first time, but subsequent attempts time out until I restart the server.

    Mar 20 14:06:28 box:network/generic getIP: querying https://ipv4.api.cloudron.io/api/v1/helper/public_ip to get ipv4
    Mar 20 14:06:29 box:community downloading manifest from https://bind.0data.app/CloudronVersions.json version latest
    Mar 20 14:06:29 box:reverseproxy writeDefaultConfig: writing configs for endpoint "ip"
    Mar 20 14:06:29 box:shell reverseproxy: /usr/bin/sudo --non-interactive /home/yellowtent/box/src/scripts/restartservice.sh nginx
    Mar 20 14:06:29 box:platform onActivated: finished
    

    But from there when I install it it times out again:

    Mar 20 14:07:20 {
    Mar 20 14:07:20 path: '/api/v1/apps',
    Mar 20 14:07:20 status: 500,
    Mar 20 14:07:20 error: ServerError [ServiceUnavailableError]: Response timeout
    Mar 20 14:07:20 at IncomingMessage.<anonymous> (/home/yellowtent/box/node_modules/connect-timeout/index.js:84:8)
    Mar 20 14:07:20 at IncomingMessage.emit (node:events:508:28)
    Mar 20 14:07:20 at Timeout._onTimeout (/home/yellowtent/box/node_modules/connect-timeout/index.js:49:11)
    Mar 20 14:07:20 at listOnTimeout (node:internal/timers:605:17)
    Mar 20 14:07:20 at process.processTimers (node:internal/timers:541:7) {
    Mar 20 14:07:20 code: 'ETIMEDOUT',
    Mar 20 14:07:20 timeout: 60000
    Mar 20 14:07:20 }
    Mar 20 14:07:20 }
    Mar 20 14:07:20 TypeError: Cannot read properties of undefined (reading 'manifest')
    Mar 20 14:07:20 at install (file:///home/yellowtent/box/src/routes/apps.js:136:32)
    Mar 20 14:07:20 at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    
    1 Reply Last reply
    1
    • J Offline
      J Offline
      joseph
      Staff
      wrote last edited by
      #2

      @rosano it works here. Did you change anything on your side? And also on the demo Cloudron . This looks like maybe there is some connectivity issue between your Cloudron and the app hosting the versions file. Have you run cloudron-support --troubleshoot already?

      ad1c5fbe-d861-4118-9969-2a163be21997-image.jpeg

      rosanoR 1 Reply Last reply
      1
      • J joseph

        @rosano it works here. Did you change anything on your side? And also on the demo Cloudron . This looks like maybe there is some connectivity issue between your Cloudron and the app hosting the versions file. Have you run cloudron-support --troubleshoot already?

        ad1c5fbe-d861-4118-9969-2a163be21997-image.jpeg

        rosanoR Offline
        rosanoR Offline
        rosano
        wrote last edited by
        #3

        @joseph said:

        And also on the demo Cloudron.

        Hmm yes it does work on the demo. Would there be an issue if the versions file is also hosted on the same Cloudron?

        cloudron-support --troubleshoot seems to be mostly OK except for some kind of mail issue:

        [FAIL]	Database migrations are pending. Last migration in DB: /20260217120000-mailPasswords-create-table.js. Last migration file: /package.json.
        	Please run 'cloudron-support --apply-db-migrations' to apply the migrations.
        
        rosanoR J 2 Replies Last reply
        0
        • rosanoR rosano

          @joseph said:

          And also on the demo Cloudron.

          Hmm yes it does work on the demo. Would there be an issue if the versions file is also hosted on the same Cloudron?

          cloudron-support --troubleshoot seems to be mostly OK except for some kind of mail issue:

          [FAIL]	Database migrations are pending. Last migration in DB: /20260217120000-mailPasswords-create-table.js. Last migration file: /package.json.
          	Please run 'cloudron-support --apply-db-migrations' to apply the migrations.
          
          rosanoR Offline
          rosanoR Offline
          rosano
          wrote last edited by
          #4

          rosano said:

          Would there be an issue if the versions file is also hosted on the same Cloudron?

          Huh well I tried uploading my file to Surfer on the demo cloudron and using that but it also works fine. Not sure what's going on with my file…

          1 Reply Last reply
          0
          • J Offline
            J Offline
            joseph
            Staff
            wrote last edited by
            #5

            Can you curl that file from the server (via ssh)?

            rosanoR 1 Reply Last reply
            0
            • rosanoR rosano

              @joseph said:

              And also on the demo Cloudron.

              Hmm yes it does work on the demo. Would there be an issue if the versions file is also hosted on the same Cloudron?

              cloudron-support --troubleshoot seems to be mostly OK except for some kind of mail issue:

              [FAIL]	Database migrations are pending. Last migration in DB: /20260217120000-mailPasswords-create-table.js. Last migration file: /package.json.
              	Please run 'cloudron-support --apply-db-migrations' to apply the migrations.
              
              J Offline
              J Offline
              joseph
              Staff
              wrote last edited by
              #6

              @rosano said:

              [FAIL] Database migrations are pending. Last migration in DB: /20260217120000-mailPasswords-create-table.js. Last migration file: /package.json.
              Please run 'cloudron-support --apply-db-migrations' to apply the migrations.

              This is fixed in 9.1.5, was a bug in the support script.

              rosanoR 2 Replies Last reply
              0
              • J joseph

                Can you curl that file from the server (via ssh)?

                rosanoR Offline
                rosanoR Offline
                rosano
                wrote last edited by
                #7

                @joseph curl https://bind.0data.app/CloudronVersions.json outputs the content

                {
                    "stable": true,
                    …
                
                1 Reply Last reply
                0
                • J joseph

                  @rosano said:

                  [FAIL] Database migrations are pending. Last migration in DB: /20260217120000-mailPasswords-create-table.js. Last migration file: /package.json.
                  Please run 'cloudron-support --apply-db-migrations' to apply the migrations.

                  This is fixed in 9.1.5, was a bug in the support script.

                  rosanoR Offline
                  rosanoR Offline
                  rosano
                  wrote last edited by rosano
                  #8
                  This post is deleted!
                  1 Reply Last reply
                  0
                  • J joseph

                    @rosano said:

                    [FAIL] Database migrations are pending. Last migration in DB: /20260217120000-mailPasswords-create-table.js. Last migration file: /package.json.
                    Please run 'cloudron-support --apply-db-migrations' to apply the migrations.

                    This is fixed in 9.1.5, was a bug in the support script.

                    rosanoR Offline
                    rosanoR Offline
                    rosano
                    wrote last edited by rosano
                    #9

                    @joseph said:

                    This is fixed in 9.1.5, was a bug in the support script.

                    I just updated to 9.1.5 and restarted the server, still timing out.

                    J 1 Reply Last reply
                    0
                    • rosanoR rosano

                      @joseph said:

                      This is fixed in 9.1.5, was a bug in the support script.

                      I just updated to 9.1.5 and restarted the server, still timing out.

                      J Offline
                      J Offline
                      joseph
                      Staff
                      wrote last edited by
                      #10

                      @rosano I meant the missing db migration issue is fixed and not the timeout issue.

                      Could there be some IPv4/IPv6 issue? Have you tried with curl -4 and curl -6 ?

                      rosanoR 1 Reply Last reply
                      0
                      • J joseph

                        @rosano I meant the missing db migration issue is fixed and not the timeout issue.

                        Could there be some IPv4/IPv6 issue? Have you tried with curl -4 and curl -6 ?

                        rosanoR Offline
                        rosanoR Offline
                        rosano
                        wrote last edited by
                        #11

                        @joseph said:

                        Have you tried with curl -4 and curl -6 ?

                        Both curl -4 https://bind.0data.app/CloudronVersions.json and curl -6 https://bind.0data.app/CloudronVersions.json just return the content.

                        Well I guess as long as other people can install it maybe it's fine for now, but eventually I would like to run it with the same process so I know what it's like.

                        1 Reply Last reply
                        1
                        • J Offline
                          J Offline
                          joseph
                          Staff
                          wrote last edited by
                          #12

                          @rosano yeah, not sure what the issue is. If it's important, write to us on support@cloudron.io and we will have to debug further.

                          rosanoR 1 Reply Last reply
                          0
                          • J joseph has marked this topic as solved
                          • rosanoR Offline
                            rosanoR Offline
                            rosano
                            wrote last edited by
                            #13

                            Just for reference: I tried using a versions file hosted externally and I can install my app from there just fine, so maybe it does have to do with fetching a versions file on my own Cloudron. Not sure why as it's just over https but both hosted via Surfer and a custom app it seems to timeout.

                            1 Reply Last reply
                            0
                            • rosanoR Offline
                              rosanoR Offline
                              rosano
                              wrote last edited by
                              #14

                              Also similarly: I could start installing my app, but it fails on downloading the icon, which is also hosted on my Cloudron.

                              Mar 21 16:07:20 apptask: downloadIcon: Downloading community icon https://bind.0data.app/identity.svg
                              Mar 21 16:08:20 community: Attempt 1 failed. Will retry: Network error downloading icon: The operation was aborted
                              Mar 21 16:09:25 community: Attempt 2 failed. Will retry: Network error downloading icon: The operation was aborted
                              Mar 21 16:10:31 community: Attempt 3 failed. Will retry: Network error downloading icon: The operation was aborted
                              Mar 21 16:11:36 community: Attempt 4 failed. Will retry: Network error downloading icon: The operation was aborted 
                              

                              Again, not sure why this would behave differently but maybe I will write to support to go deeper.

                              robiR 1 Reply Last reply
                              0
                              • J joseph

                                @rosano yeah, not sure what the issue is. If it's important, write to us on support@cloudron.io and we will have to debug further.

                                rosanoR Offline
                                rosanoR Offline
                                rosano
                                wrote last edited by
                                #15

                                @joseph said:

                                If it's important, write to us on support@cloudron.io and we will have to debug further.

                                I just wrote and was told to post here because it's a technical request?

                                1 Reply Last reply
                                0
                                • rosanoR rosano

                                  Also similarly: I could start installing my app, but it fails on downloading the icon, which is also hosted on my Cloudron.

                                  Mar 21 16:07:20 apptask: downloadIcon: Downloading community icon https://bind.0data.app/identity.svg
                                  Mar 21 16:08:20 community: Attempt 1 failed. Will retry: Network error downloading icon: The operation was aborted
                                  Mar 21 16:09:25 community: Attempt 2 failed. Will retry: Network error downloading icon: The operation was aborted
                                  Mar 21 16:10:31 community: Attempt 3 failed. Will retry: Network error downloading icon: The operation was aborted
                                  Mar 21 16:11:36 community: Attempt 4 failed. Will retry: Network error downloading icon: The operation was aborted 
                                  

                                  Again, not sure why this would behave differently but maybe I will write to support to go deeper.

                                  robiR Offline
                                  robiR Offline
                                  robi
                                  wrote last edited by
                                  #16

                                  @rosano what if it's an ico or gif or jpg?

                                  Conscious tech

                                  1 Reply Last reply
                                  1

                                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                  With your input, this post could be even better 💗

                                  Register Login
                                  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