container ports #51

Closed
opened 2025-07-04 10:42:46 -04:00 by dlinuxdev · 4 comments

Using the start-ssh-port command, it returns undefined. The list-ports commands also gives an error. (I can't give details as the error does not provide any.)

Using the start-ssh-port command, it returns undefined. The list-ports commands also gives an error. (I can't give details as the error does not provide any.)
dlinuxdev added the
currently-in-progress
label 2025-07-04 10:42:46 -04:00
snxraven was assigned by dlinuxdev 2025-07-04 10:42:46 -04:00
image.png image.png

Screenshots for reference

<img width="329" alt="image.png" src="attachments/5d793316-8d69-40f0-9c57-c47d8efb0492"> <img width="314" alt="image.png" src="attachments/1d78f975-9bd9-4cdc-809b-a2d6e001bbd9"> Screenshots for reference
Owner

working on this

working on this
Owner

SSH42113405732790:/# con --new 22 ssh Generated hash_gen: dd1ecfb16b979958b5ba54ecaf6aa94f [PM2][ERROR] Script not found: /usr/lib/node_modules/holesail/bin/holesail.mjs Error starting 'ssh' using PM2: Command failed: pm2 start /usr/lib/node_modules/holesail/bin/holesail.mjs --name ssh -- --live 22 --key "dd1ecfb16b979958b5ba54ecaf6aa94f" Failed to create connection 'ssh'.

Resolve: Rebuilding with updated path to just "holesail" - 2.1.0 includes a patch for this bug and the direct path can be removed.

`SSH42113405732790:/# con --new 22 ssh Generated hash_gen: dd1ecfb16b979958b5ba54ecaf6aa94f [PM2][ERROR] Script not found: /usr/lib/node_modules/holesail/bin/holesail.mjs Error starting 'ssh' using PM2: Command failed: pm2 start /usr/lib/node_modules/holesail/bin/holesail.mjs --name ssh -- --live 22 --key "dd1ecfb16b979958b5ba54ecaf6aa94f" Failed to create connection 'ssh'.` Resolve: Rebuilding with updated path to just "holesail" - 2.1.0 includes a patch for this bug and the direct path can be removed.
Owner

Issue was OS Specific to Alpine as far as I know but I patched all other images too.

User: snxraven | ID: 342128351638585344 ran [genos]
{07:04:2025|T)=11:23:55}=======START_LOG========================>
OS=alpine
<|- -- - - ---NEW REQUEST--- - - - - -|>
User: snxraven | ID: 342128351638585344 ran [start-ssh-port]
{07:04:2025|T)=11:24:10}=======START_LOG========================>
out = {
  stdout: "Connection 'ssh' not found.\n" +
    'Generated hash_gen: 9cf1f9709c2145e827d79a8d93bc5117\n' +
    '[PM2] Spawning PM2 daemon with pm2_home=/root/.pm2\n' +
    '[PM2] PM2 Successfully daemonized\n' +
    '[PM2] Starting /usr/local/bin/holesail in fork_mode (1 instance)\n' +
    '[PM2] Done.\n' +
    '┌────┬────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐\n' +
    '│ id │ name   │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │\n' +
    '├────┼────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤\n' +
    '│ 0  │ ssh    │ default     │ N/A     │ fork    │ 73       │ 0s     │ 0    │ online    │ 0%       │ 22.1mb   │ root     │ disabled │\n' +
    '└────┴────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘\n' +
    "Started 'ssh' using PM2 on port 22.\n" +
    'Waiting for connector in /root/.pm2/logs/ssh-out.log...\n' +
    'Attempt 1: Log file size: 3423 bytes\n' +
    'Log file /root/.pm2/logs/ssh-out.log size: 3423 bytes\n' +
    'Found connector: hs://s0009cf1f9709c2145e827d79a8d93bc5117\n' +
    "Connection 'ssh' created successfully on port 22.\n" +
    "Connection 'ssh' created successfully.\n" +
    '\n',
  stderr: ''
}
out = { stdout: 'hs://s0009cf1f9709c2145e827d79a8d93bc5117\n', stderr: '' }
Connector: hs://s0009cf1f9709c2145e827d79a8d93bc5117
{
  port: 38999,
  connectionHash: 'hs://s0009cf1f9709c2145e827d79a8d93bc5117'
}```
Issue was OS Specific to Alpine as far as I know but I patched all other images too. ```<|- -- - - ---NEW REQUEST--- - - - - -|> User: snxraven | ID: 342128351638585344 ran [genos] {07:04:2025|T)=11:23:55}=======START_LOG========================> OS=alpine <|- -- - - ---NEW REQUEST--- - - - - -|> User: snxraven | ID: 342128351638585344 ran [start-ssh-port] {07:04:2025|T)=11:24:10}=======START_LOG========================> out = { stdout: "Connection 'ssh' not found.\n" + 'Generated hash_gen: 9cf1f9709c2145e827d79a8d93bc5117\n' + '[PM2] Spawning PM2 daemon with pm2_home=/root/.pm2\n' + '[PM2] PM2 Successfully daemonized\n' + '[PM2] Starting /usr/local/bin/holesail in fork_mode (1 instance)\n' + '[PM2] Done.\n' + '┌────┬────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐\n' + '│ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │\n' + '├────┼────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤\n' + '│ 0 │ ssh │ default │ N/A │ fork │ 73 │ 0s │ 0 │ online │ 0% │ 22.1mb │ root │ disabled │\n' + '└────┴────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘\n' + "Started 'ssh' using PM2 on port 22.\n" + 'Waiting for connector in /root/.pm2/logs/ssh-out.log...\n' + 'Attempt 1: Log file size: 3423 bytes\n' + 'Log file /root/.pm2/logs/ssh-out.log size: 3423 bytes\n' + 'Found connector: hs://s0009cf1f9709c2145e827d79a8d93bc5117\n' + "Connection 'ssh' created successfully on port 22.\n" + "Connection 'ssh' created successfully.\n" + '\n', stderr: '' } out = { stdout: 'hs://s0009cf1f9709c2145e827d79a8d93bc5117\n', stderr: '' } Connector: hs://s0009cf1f9709c2145e827d79a8d93bc5117 { port: 38999, connectionHash: 'hs://s0009cf1f9709c2145e827d79a8d93bc5117' }```
snxraven added
COMPLETED
and removed
currently-in-progress
labels 2025-07-04 11:28:26 -04:00
Sign in to join this conversation.
No description provided.