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. Keeping the browser terminal session connected

Keeping the browser terminal session connected

Scheduled Pinned Locked Moved Solved Support
webterminal
17 Posts 6 Posters 2.0k Views 6 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.
  • necrevistonnezrN necrevistonnezr

    Yes, I believe he is and I‘ve noticed the same annoyance a couple of times. I think it depends on your specific browser and how it handles power management.

    robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #8

    @Kubernetes TY, I made it clearer in the OP.

    @necrevistonnezr Thanks for the hint. I am trying out the Staying Alive extension to see if it does the trick for the domain or just the terminal sessions.

    Conscious tech

    1 Reply Last reply
    1
    • robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #9

      No go so far with the extension.

      Console log shows:

      Uncaught Error: Could not dispose an addon that has not been loaded
          at Proxy._wrappedAddonDispose (terminal-BYZevxTX.js:8:31585)
          at l.dispose (terminal-BYZevxTX.js:8:31403)
          at WebSocket.<anonymous> (terminal-BYZevxTX.js:9:1319)
      terminal-BYZevxTX.js:9 Socket closed. Reconnecting...
      cs.js:65 
      

      Conscious tech

      1 Reply Last reply
      1
      • nebulonN Away
        nebulonN Away
        nebulon
        Staff
        wrote on last edited by
        #10

        Do you happen to have anything like Cloudflare proxy in front of your system? Maybe that gets into the way?

        robiR 1 Reply Last reply
        0
        • nebulonN nebulon

          Do you happen to have anything like Cloudflare proxy in front of your system? Maybe that gets into the way?

          robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #11

          @nebulon No, CF is DNS only.

          Conscious tech

          1 Reply Last reply
          0
          • nebulonN Away
            nebulonN Away
            nebulon
            Staff
            wrote on last edited by
            #12

            Then I am out of ideas without further error details, something seems to pause/disconnect the websocket connection.

            1 Reply Last reply
            0
            • robiR Offline
              robiR Offline
              robi
              wrote on last edited by
              #13

              Not sure what else to provide other than flip the script and revisit the OP asking what can we do to make the browser keep thinking it's alive? Send NOOPs?

              Conscious tech

              1 Reply Last reply
              0
              • fbartelsF Offline
                fbartelsF Offline
                fbartels
                App Dev
                wrote on last edited by
                #14

                Do other solutions, like for example guacamole suffer from the same issue?

                I think i am personally leaning towards using the cloudron cli, as this way I can use tmux for persistence and can even share the session. I had tabs crashing because too much memory was used and a reload will always start a new session.

                1 Reply Last reply
                0
                • J joseph marked this topic as a question on
                • C Offline
                  C Offline
                  corsacca
                  wrote on last edited by
                  #15

                  Using worpdress managed app, after ~90 seconds of inactivity the terminal resets and shows "Reconnecting..." and then the first line.
                  I can be trying to write a mysql query and loose all progress.
                  I'd love a solution to keep the session live.

                  1 Reply Last reply
                  0
                  • nebulonN Away
                    nebulonN Away
                    nebulon
                    Staff
                    wrote on last edited by
                    #16

                    @corsacca since we have no timeouts on our side, do you have any proxying services or something in front of your Cloudron, which may terminate the connection on inactivity?

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

                      Sorry, i should have checked that first.
                      Downgrading CF proxy to DNS only does seem to fix the issue for me.
                      Thanks @nebulon.

                      1 Reply Last reply
                      0
                      • J joseph 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