Coder Social home page Coder Social logo

Hangs on ssh commands about dokku-alt HOT 5 CLOSED

dokku-alt avatar dokku-alt commented on June 9, 2024
Hangs on ssh commands

from dokku-alt.

Comments (5)

maccman avatar maccman commented on June 9, 2024

I should note that the same command works just fine if I ssh into the server and run it there.

from dokku-alt.

ayufan avatar ayufan commented on June 9, 2024

I have idea what can cause this: some process is probably grabbing stdin, but it shouldn't. I'll try to work this out.

from dokku-alt.

maccman avatar maccman commented on June 9, 2024

Let me know if there's anything I can do help you debug it. Dokku-alt is amazing btw - excellent job.

from dokku-alt.

ayufan avatar ayufan commented on June 9, 2024

Can you show me ps auxf of processes when ssh hangs? You should see something like this:

dokku     3661  0.0  0.0  95084  1820 ?        S    13:56   0:00      \_ sshd: dokku@pts/1   
dokku     3662  0.0  0.0   4444   628 pts/1    Ss+  13:56   0:00          \_ sh -c FINGERPRINT=*** NAME=*** `cat /home/dokku/.sshcommand` $SSH_ORIGINAL_COMMAND
dokku     3664  0.0  0.0  11304  1624 pts/1    S+   13:56   0:00              \_ bash /usr/local/bin/dokku config:set drone PREBOOT_WAIT_TIME=8
dokku     3684  0.0  0.0  11184  1536 pts/1    S+   13:56   0:00                  \_ bash /var/lib/dokku-alt/plugins/config/commands config:set drone PREBOOT_WAIT_TIME=8
dokku     3803  0.0  0.0  11328  1696 pts/1    S+   13:56   0:00                      \_ bash /usr/local/bin/dokku deploy drone
dokku     4161  0.0  0.1 191324  5212 pts/1    Sl+  13:56   0:00                          \_ docker run --entrypoint=/bin/bash --rm dokku/drone:release -c [[ -f /exec ]]

from dokku-alt.

ayufan avatar ayufan commented on June 9, 2024

It looks like that I found the case of ssh hangs. The fix is on latest dokku-alt-beta. If everything is ok, I'll backport it to stable release.

from dokku-alt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.