Cloudron cli no longer asks for 2fa?
-
I just installed the Cloudron cli on a new system (Ubuntu noble with npm from the distributions repository) and I was surprised that it did not ask for my totp.
$ cloudron login my.cloudron Username: felix Password: Login successful. $ cloudron --version 5.14.0edit. It seems the cli is broken on the system in more ways:
$ cloudron logs --app video.cloudron /usr/local/lib/node_modules/cloudron/src/actions.js:970 req.on('response', function (response) { ^ TypeError: req.on is not a function at Command.logs (/usr/local/lib/node_modules/cloudron/src/actions.js:970:13) Node.js v18.19.1 -
I just installed the Cloudron cli on a new system (Ubuntu noble with npm from the distributions repository) and I was surprised that it did not ask for my totp.
$ cloudron login my.cloudron Username: felix Password: Login successful. $ cloudron --version 5.14.0edit. It seems the cli is broken on the system in more ways:
$ cloudron logs --app video.cloudron /usr/local/lib/node_modules/cloudron/src/actions.js:970 req.on('response', function (response) { ^ TypeError: req.on is not a function at Command.logs (/usr/local/lib/node_modules/cloudron/src/actions.js:970:13) Node.js v18.19.1@fbartels I might have introduced a regression, checking
-
Seems to work here.
~$ cloudron login my.xx Username: girish Password: 2FA Token: adfs Invalid 2FA Token 2FA Token: 12356 Invalid 2FA Token 2FA Token: 349533 Login successful. -
I thought maybe it is the node version but 18.19.1 works too . Are you able to login to
my.demo.cloudron.io? with username/password ascloudron? -
G girish marked this topic as a question on
-
@fbartels what is the Cloudron version? I am testing on 8.3.0 .
-
I just checked on my desktop system. And here I do have the same behaviour, but with a more recent node version. (i moved .cloudron.json away before running this).
$ cloudron login my.demo.cloudron.io Username: cloudron Password: Login successful. felix@clifford:~$ cloudron list Id Location Manifest Id State ------------------------------------ ------------------------- -------------------------------------- ------- 0bd45384-26e9-4c06-a1b2-f8ba55529841 demo.cloudron.io org.apache.guacamole.cloudronapp@2.3.0 running 30c49bfe-8adf-4644-a030-fd95f00f5632 peertube.demo.cloudron.io org.joinpeertube.cloudronapp@4.0.2 running 3113d78a-0e94-4d82-95eb-9ecb7a44185e n8n.demo.cloudron.io io.n8n.cloudronapp@3.72.0 running 3d397748-d96d-45bc-b6fe-ddb597e4c853 itt.demo.cloudron.io tech.ittools.cloudron@1.6.1 running 918eac5f-7b25-4487-b0e6-4e99768996ee mtest.demo.cloudron.io com.github.bitwardenrs@1.19.2 running felix@clifford:~$ cloudron logs Could not determine app. Use --app to specify the app felix@clifford:~$ cloudron logs --app demo.cloudron.io /home/linuxbrew/.linuxbrew/lib/node_modules/cloudron/src/actions.js:970 req.on('response', function (response) { ^ TypeError: req.on is not a function at Command.logs (/home/linuxbrew/.linuxbrew/lib/node_modules/cloudron/src/actions.js:970:13) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) Node.js v23.7.0Logging in into my own Cloudron still skips the 2fa step. Yes, the system just got upgraded to 8.3.0.
-
G girish has marked this topic as solved on
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