Connect to nest.pijul.com with ssh

I’ve installed pijul on guix, and it’s able to clone repositories over HTTP, but not over SSH. Moreover none of the SSH commands work, neither pijul push, nor pijul pull. Each time I get

Error: Connection timed out (os error 110)

I also tried to connect to the Nest with ssh command, but failed again. Is everything ok with the Nest? Shouldn’t it be able to connect with ssh to check network accessibility issues?

1 Like

The address changed because of our new CDN, the correct address is now ssh.pijul.com.

That explains everything.

Can’t push and pull, can’t anything with remote now.

...
[2021-06-29T19:52:15Z TRACE thrussh::client::encrypted] buf = [99, 0, 0, 0, 2]
[2021-06-29T19:52:15Z DEBUG pijul::remote::ssh] msg = Success
[2021-06-29T19:52:15Z DEBUG pijul::remote::ssh] run_protocol done
[2021-06-29T19:52:15Z DEBUG thrussh::client] sending data, self.window_size = 2097152, self.max_packet_size = 10000000, total = 0
[2021-06-29T19:52:15Z DEBUG thrussh::client] sendable 2097152
[2021-06-29T19:52:15Z DEBUG thrussh::client] sending data, self.window_size = 2097144, self.max_packet_size = 10000000, total = 8
[2021-06-29T19:52:15Z DEBUG thrussh::client] sendable 2097144
[2021-06-29T19:52:15Z DEBUG thrussh::session] buffer: 21 2097152
[2021-06-29T19:52:15Z DEBUG thrussh::session] buf.len() = 0, buf_len = 8
[2021-06-29T19:52:15Z DEBUG thrussh::cipher] writing, seqn = 9
[2021-06-29T19:52:15Z DEBUG thrussh::cipher] padding length 6
[2021-06-29T19:52:15Z DEBUG thrussh::cipher] packet_length 24
[2021-06-29T19:52:15Z DEBUG thrussh::client] writing to stream: 44 bytes
[2021-06-29T19:52:15Z DEBUG thrussh::session] buf.len() = 0, buf_len = 0
[2021-06-29T19:52:15Z DEBUG thrussh::cipher] reading, len = [3, 171, 200, 7]
[2021-06-29T19:52:15Z DEBUG thrussh::cipher] reading, seqn = 9
[2021-06-29T19:52:15Z DEBUG thrussh::cipher] reading, clear len = 32
[2021-06-29T19:52:15Z DEBUG thrussh::cipher] read_exact 36
[2021-06-29T19:52:15Z DEBUG thrussh::cipher] read_exact done
[2021-06-29T19:52:15Z DEBUG thrussh::cipher] reading, padding_length 5
[2021-06-29T19:52:15Z DEBUG thrussh::client::encrypted] client_read_encrypted, buf = [94, 0, 0, 0, 2, 0, 0, 0, 1, 10]
[2021-06-29T19:52:15Z DEBUG thrussh::client::encrypted] buf = 10 bytes
[2021-06-29T19:52:15Z TRACE thrussh::client::encrypted] buf = [94, 0, 0, 0, 2, 0, 0, 0, 1, 10]
[2021-06-29T19:52:15Z DEBUG thrussh::client::encrypted] channel_data
[2021-06-29T19:52:15Z DEBUG thrussh::session] adjust_window_size
[2021-06-29T19:52:15Z DEBUG thrussh::session] channel Channel { recipient_channel: 2, sender_channel: ChannelId(2), recipient_window_size: 2097144, sender_window_size: 2097152, recipient_maximum_packet_size: 10000000, sender_maximum_packet_size: 32768, confirmed: true, wants_reply: false, pending_data: [] }
[2021-06-29T19:52:15Z TRACE pijul::remote::ssh] data ChannelId(2) 1
[2021-06-29T19:52:15Z DEBUG pijul::remote::ssh] state: State [10]
thread 'tokio-runtime-worker' panicked at 'assertion failed: `(left == right)`
  left: `Ok(16)`,
 right: `Ok(0)`', /Users/ak/.cargo/registry/src/github.com-1ecc6299db9ec823/data-encoding-2.3.2/src/lib.rs:1413:9
stack backtrace:
   0:        0x101ea7ce4 - std::backtrace_rs::backtrace::libunwind::trace::hf5e0f1b56dda01d5
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
   1:        0x101ea7ce4 - std::backtrace_rs::backtrace::trace_unsynchronized::he30181384dfc443b
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:        0x101ea7ce4 - std::sys_common::backtrace::_print_fmt::h70a4be95a22f8da9
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/sys_common/backtrace.rs:67:5
   3:        0x101ea7ce4 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h36c0052c0225805d
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/sys_common/backtrace.rs:46:22
   4:        0x101ecb8cc - core::fmt::write::h53cd30d79330b217
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/core/src/fmt/mod.rs:1111:17
   5:        0x101ea008a - std::io::Write::write_fmt::h621fe9764d072270
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/io/mod.rs:1640:15
   6:        0x101eaa17f - std::sys_common::backtrace::_print::h49b875dc59021a4e
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/sys_common/backtrace.rs:49:5
   7:        0x101eaa17f - std::sys_common::backtrace::print::h929e04ec4b5d0531
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/sys_common/backtrace.rs:36:9
   8:        0x101eaa17f - std::panicking::default_hook::{{closure}}::h497f77d12f011aa3
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/panicking.rs:208:50
   9:        0x101ea9c7d - std::panicking::default_hook::h1ccb84eb2bce8b2a
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/panicking.rs:225:9
  10:        0x101eaa880 - std::panicking::rust_panic_with_hook::h151c17db51726319
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/panicking.rs:622:17
  11:        0x101eaa325 - std::panicking::begin_panic_handler::{{closure}}::he5700381c5850965
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/panicking.rs:519:13
  12:        0x101ea8158 - std::sys_common::backtrace::__rust_end_short_backtrace::h25a79dc02eedace7
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/sys_common/backtrace.rs:141:18
  13:        0x101eaa28a - rust_begin_unwind
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/panicking.rs:515:5
  14:        0x101f0f86f - core::panicking::panic_fmt::hdc889aaa86870f3d
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/core/src/panicking.rs:92:14
  15:        0x101ec9e07 - core::panicking::assert_failed_inner::h1ee6ec418e61a1b1
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/core/src/panicking.rs:160:17
  16:        0x101f008de - core::panicking::assert_failed::h88f0915ba7d5533d
  17:        0x101d0a2c9 - data_encoding::Encoding::decode_mut::ha077a026caa4fa84
  18:        0x101bcaeae - libpijul::pristine::RemoteId::from_base32::h02969f9381844778
  19:        0x1018a79ec - <pijul::remote::ssh::SshClient as thrussh::client::Handler>::data::{{closure}}::h9d32cf34652dc978
  20:        0x1018527db - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h77aadd06978b4a57
  21:        0x10183f88e - thrussh::client::encrypted::<impl thrussh::client::Session>::client_read_authenticated::{{closure}}::hbd4edb1cbc316d47
  22:        0x10183ecd4 - thrussh::client::reply::{{closure}}::h97ab6ffedd04abce
  23:        0x10184c8e3 - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h3aed8e760ec07fe7
  24:        0x10171e3ae - tokio::runtime::task::harness::poll_future::h0bbfb0007c669be7
  25:        0x10171ff7f - tokio::runtime::task::harness::Harness<T,S>::poll::h8048635ffca45648
  26:        0x101b05a34 - std::thread::local::LocalKey<T>::with::h81297f9f9c67e62c
  27:        0x101afe4f6 - tokio::runtime::thread_pool::worker::Context::run_task::h3d4927f47296320f
  28:        0x101afd85b - tokio::runtime::thread_pool::worker::Context::run::hc79fc3cca694fc43
  29:        0x101b00393 - tokio::macros::scoped_tls::ScopedKey<T>::set::h69528fdd387947db
  30:        0x101afd628 - tokio::runtime::thread_pool::worker::run::h150c10ba546583a3
  31:        0x101b0c94e - tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut::h19a3f7503f4a3a60
  32:        0x101b04abb - tokio::runtime::task::core::CoreStage<T>::poll::h47f9498a5709023e
  33:        0x101b0c10d - std::panicking::try::hd9510317ebc29c42
  34:        0x101b07db6 - tokio::runtime::task::harness::Harness<T,S>::poll::h9e90463bd29bd97c
  35:        0x101af782d - tokio::runtime::blocking::pool::Inner::run::h984b8f5fccc04634
  36:        0x101afebf1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h8777714c2d65cecb
  37:        0x101b15991 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1bfd8bb63f980940
  38:        0x101eb17ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h1ccbf95e9809fea2
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/alloc/src/boxed.rs:1575:9
  39:        0x101eb17ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc8a8e490b6be9917
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/alloc/src/boxed.rs:1575:9
  40:        0x101eb17ab - std::sys::unix::thread::Thread::new::thread_start::h92a4bad9adfe1fdb
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/sys/unix/thread.rs:72:17
  41:     0x7fff739ef109 - __pthread_start
[2021-06-29T19:52:15Z DEBUG thrussh::client] drop session
[2021-06-29T19:52:15Z TRACE mio::poll] deregistering event source from poller
[2021-06-29T19:52:15Z DEBUG thrussh::client] drop handle
[2021-06-29T19:52:15Z DEBUG pijul] channel closed
    
    Stack backtrace:
       0: std::backtrace_rs::backtrace::libunwind::trace
                 at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
       1: std::backtrace_rs::backtrace::trace_unsynchronized
                 at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
       2: std::backtrace::Backtrace::create
                 at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/backtrace.rs:327:13
       3: std::backtrace::Backtrace::capture
                 at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/backtrace.rs:295:9
       4: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
       5: pijul::remote::RemoteRepo::update_changelist::{{closure}}
       6: pijul::commands::pushpull::Pull::run::{{closure}}
...

Seems related to the latest format change, does it work with a fresh repository?

Not fresh but empty and on the actual nest version. (repo)

Just tested with new created one.

Developer/Projects/test-pj took 4s [130] ➜ pj -V                                         

pijul 1.0.0-alpha.49

Developer/Projects/test-pj ➜ pj clone fzzr@ssh.pijul.com:fzzr/test-new-repo                                         

[2021-07-03T17:38:04Z DEBUG pijul::remote::ssh] ssh_remote: Captures({0: Some("fzzr@ssh.pijul.com:fzzr/test-new-repo"), 1: None, 2: Some("fzzr@"), "user": Some("fzzr"), 4: Some("ssh.pijul.com"), "host": Some("ssh.pijul.com"), 6: None, 7: None, 8: Some("ssh.pijul.com"), 9: Some(":fzzr/test-new-repo"), 10: None, "port": None, "path0": None, 13: None, 14: Some(":fzzr/test-new-repo"), "path1": Some("fzzr/test-new-repo"), "path2": None, 17: None})
[2021-07-03T17:38:04Z DEBUG pijul::remote] unknown_remote, ssh = Remote { addr: "fzzr@ssh.pijul.com:fzzr/test-new-repo", host: "ssh.pijul.com", path: "fzzr/test-new-repo", config: Config { user: "fzzr", host_name: "ssh.pijul.com", port: 22, identity_file: None, proxy_command: None, add_keys_to_agent: No } }
[2021-07-03T17:38:04Z TRACE mio::poll] registering event source with poller: token=Token(1), interests=READABLE | WRITABLE
[2021-07-03T17:38:04Z DEBUG thrussh::ssh_read] read_ssh_id: reading
[2021-07-03T17:38:05Z DEBUG thrussh::ssh_read] read 25
[2021-07-03T17:38:05Z DEBUG thrussh::ssh_read] Ok("SSH-2.0-thrussh_0.32.10\r\n")
[2021-07-03T17:38:05Z DEBUG thrussh::cipher] writing, seqn = 0
[2021-07-03T17:38:05Z DEBUG thrussh::cipher] padding length 6
[2021-07-03T17:38:05Z DEBUG thrussh::cipher] packet_length 252
[2021-07-03T17:38:05Z DEBUG thrussh::client] writing 256 bytes
[2021-07-03T17:38:05Z DEBUG thrussh::ssh_read] id 25 25
[2021-07-03T17:38:05Z DEBUG thrussh::cipher] reading, len = [0, 0, 0, 252]
[2021-07-03T17:38:05Z DEBUG thrussh::cipher] reading, seqn = 0
[2021-07-03T17:38:05Z DEBUG thrussh::cipher] reading, clear len = 252
[2021-07-03T17:38:05Z DEBUG thrussh::cipher] read_exact 256
[2021-07-03T17:38:05Z DEBUG thrussh::cipher] read_exact done
[2021-07-03T17:38:05Z DEBUG thrussh::cipher] reading, padding_length 6
[2021-07-03T17:38:05Z DEBUG thrussh::client::kex] client parse 245 [20, 216, 100, 43, 117, 144, 71, 214, 57, 113, 114, 131, 130, 105, 229, 137, 206, 0, 0, 0, 28, 99, 117, 114, 118, 101, 50, 53, 53, 49, 57, 45, 115, 104, 97, 50, 53, 54, 64, 108, 105, 98, 115, 115, 104, 46, 111, 114, 103, 0, 0, 0, 37, 115, 115, 104, 45, 101, 100, 50, 53, 53, 49, 57, 44, 114, 115, 97, 45, 115, 104, 97, 50, 45, 50, 53, 54, 44, 114, 115, 97, 45, 115, 104, 97, 50, 45, 53, 49, 50, 0, 0, 0, 29, 99, 104, 97, 99, 104, 97, 50, 48, 45, 112, 111, 108, 121, 49, 51, 48, 53, 64, 111, 112, 101, 110, 115, 115, 104, 46, 99, 111, 109, 0, 0, 0, 29, 99, 104, 97, 99, 104, 97, 50, 48, 45, 112, 111, 108, 121, 49, 51, 48, 53, 64, 111, 112, 101, 110, 115, 115, 104, 46, 99, 111, 109, 0, 0, 0, 4, 110, 111, 110, 101, 0, 0, 0, 4, 110, 111, 110, 101, 0, 0, 0, 26, 110, 111, 110, 101, 44, 122, 108, 105, 98, 44, 122, 108, 105, 98, 64, 111, 112, 101, 110, 115, 115, 104, 46, 99, 111, 109, 0, 0, 0, 26, 110, 111, 110, 101, 44, 122, 108, 105, 98, 44, 122, 108, 105, 98, 64, 111, 112, 101, 110, 115, 115, 104, 46, 99, 111, 109, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
[2021-07-03T17:38:05Z DEBUG thrussh::client::kex] extending []
[2021-07-03T17:38:05Z DEBUG thrussh::negotiation] kex 147
[2021-07-03T17:38:05Z DEBUG thrussh::negotiation] kex 152
[2021-07-03T17:38:05Z DEBUG thrussh::negotiation] kex 160
[2021-07-03T17:38:05Z DEBUG thrussh::negotiation] client_compression = None
[2021-07-03T17:38:05Z DEBUG thrussh::client::kex] algo = Names { kex: Name("curve25519-sha256@libssh.org"), key: Name("ssh-ed25519"), cipher: Name("chacha20-poly1305@openssh.com"), mac: Some("none"), server_compression: None, client_compression: None, ignore_guessed: false }
[2021-07-03T17:38:05Z DEBUG thrussh::client::kex] write = []
[2021-07-03T17:38:05Z DEBUG thrussh::client::kex] i0 = 245
[2021-07-03T17:38:05Z DEBUG thrussh::cipher] writing, seqn = 1
[2021-07-03T17:38:05Z DEBUG thrussh::cipher] padding length 6
[2021-07-03T17:38:05Z DEBUG thrussh::cipher] packet_length 44
[2021-07-03T17:38:05Z DEBUG thrussh::client::kex] moving to kexdhdone, exchange = Exchange { client_id: CryptoVec { p: 0x7faa6e604500, size: 23, capacity: 32 }, server_id: CryptoVec { p: 0x7faa6e6044e0, size: 23, capacity: 32 }, client_kex_init: CryptoVec { p: 0x7faa6e704fc0, size: 245, capacity: 512 }, server_kex_init: CryptoVec { p: 0x7faa6e704770, size: 245, capacity: 256 }, client_ephemeral: CryptoVec { p: 0x7faa6e704960, size: 32, capacity: 32 }, server_ephemeral: CryptoVec { p: 0x1, size: 0, capacity: 0 } }
[2021-07-03T17:38:05Z DEBUG thrussh::client] writing to stream: 48 bytes
[2021-07-03T17:38:05Z DEBUG thrussh::cipher] reading, len = [0, 0, 0, 188]
[2021-07-03T17:38:05Z DEBUG thrussh::cipher] reading, seqn = 1
[2021-07-03T17:38:05Z DEBUG thrussh::cipher] reading, clear len = 188
[2021-07-03T17:38:05Z DEBUG thrussh::cipher] read_exact 192
[2021-07-03T17:38:05Z DEBUG thrussh::cipher] read_exact done
[2021-07-03T17:38:05Z DEBUG thrussh::cipher] reading, padding_length 8
[2021-07-03T17:38:05Z DEBUG thrussh::client] server_public_Key: Ed25519(PublicKey { key: [43, 253, 233, 249, 203, 95, 39, 146, 159, 62, 30, 8, 42, 80, 86, 116, 156, 223, 190, 193, 26, 156, 226, 210, 129, 17, 230, 111, 183, 124, 12, 4] })
[2021-07-03T17:38:05Z DEBUG pijul::remote::ssh] addr = "ssh.pijul.com" port = 22
[2021-07-03T17:38:05Z DEBUG thrussh_keys] host_port = "ssh.pijul.com"
...
[2021-07-03T17:38:05Z DEBUG thrussh_keys] ...
[2021-07-03T17:38:10Z DEBUG thrussh::...] ...
...
[2021-07-03T17:38:13Z DEBUG thrussh::client::encrypted] remaining methods Ok("password,publickey,keyboard-interactive")
Password for fzzr@ssh.pijul.com: 
[2021-07-03T17:38:16Z DEBUG thrussh::client::encrypted] write_auth_request_if_needed: is_waiting = true
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] writing, seqn = 5
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] padding length 7
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] packet_length 72
[2021-07-03T17:38:16Z DEBUG thrussh::client] writing to stream: 92 bytes
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] reading, len = [96, 111, 61, 205]
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] reading, seqn = 5
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] reading, clear len = 32
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] read_exact 36
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] read_exact done
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] reading, padding_length 14
[2021-07-03T17:38:16Z DEBUG thrussh::client::encrypted] client_read_encrypted, buf = [52]
[2021-07-03T17:38:16Z DEBUG thrussh::client::encrypted] buf = 1 bytes
[2021-07-03T17:38:16Z TRACE thrussh::client::encrypted] buf = [52]
[2021-07-03T17:38:16Z DEBUG thrussh::client::encrypted] userauth_success
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] writing, seqn = 6
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] padding length 7
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] packet_length 32
[2021-07-03T17:38:16Z DEBUG thrussh::client] writing to stream: 52 bytes
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] reading, len = [251, 247, 124, 83]
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] reading, seqn = 6
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] reading, clear len = 40
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] read_exact 44
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] read_exact done
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] reading, padding_length 6
[2021-07-03T17:38:16Z DEBUG thrussh::client::encrypted] client_read_encrypted, buf = [91, 0, 0, 0, 2, 0, 0, 0, 2, 0, 32, 0, 0, 0, 152, 150, 128]
[2021-07-03T17:38:16Z DEBUG thrussh::client::encrypted] buf = 17 bytes
[2021-07-03T17:38:16Z TRACE thrussh::client::encrypted] buf = [91, 0, 0, 0, 2, 0, 0, 0, 2, 0, 32, 0, 0, 0, 152, 150, 128]
[2021-07-03T17:38:16Z DEBUG thrussh::client::encrypted] channel_open_confirmation
[2021-07-03T17:38:16Z DEBUG pijul::commands::clone] path = "/Users/ak/Developer/Projects/test-pj/test-new-repo"
[2021-07-03T17:38:16Z DEBUG sanakirja::environment] SETTING CRC 2960341316
[2021-07-03T17:38:16Z DEBUG sanakirja::environment] SETTING CRC 2960341316
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] BEGIN_TXN root = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment] CHECKING CRC 2960341316 2960341316
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] n_roots = 2
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] self.free = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] allocate in the free space 0x2000
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] self.free = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] allocate in the free space 0x3000
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] self.free = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] allocate in the free space 0x4000
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] self.free = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] allocate in the free space 0x5000
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] self.free = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] allocate in the free space 0x6000
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] self.free = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] allocate in the free space 0x7000
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] self.free = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] allocate in the free space 0x8000
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] self.free = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] allocate in the free space 0x9000
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] self.free = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] allocate in the free space 0xa000
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] self.free = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] allocate in the free space 0xb000
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] self.free = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] allocate in the free space 0xc000
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] self.free = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] allocate in the free space 0xd000
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] self.free = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] allocate in the free space 0xe000
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] self.free = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] allocate in the free space 0xf000
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] self.free = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] allocate in the free space 0x10000
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] self.free = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] allocate in the free space 0x11000
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] self.free = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] allocate in the free space 0x12000
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] self.free = 0
[2021-07-03T17:38:16Z DEBUG sanakirja::environment::muttxn] allocate in the free space 0x13000
[2021-07-03T17:38:16Z DEBUG libpijul::pristine::sanakirja] Commit_channel.
[2021-07-03T17:38:16Z DEBUG libpijul::pristine::sanakirja] Commit_channel, dbs_channels = Db_ { db: 8192, k: PhantomData, v: PhantomData, p: PhantomData }
[2021-07-03T17:38:16Z DEBUG libpijul::small_string] writing [4, 109, 97, 105, 110]
[2021-07-03T17:38:16Z DEBUG libpijul::pristine::sanakirja] Commit_channel, self.channels = Db_ { db: 8192, k: PhantomData, v: PhantomData, p: PhantomData }
[2021-07-03T17:38:16Z DEBUG pijul::remote] update_changelist
[2021-07-03T17:38:16Z DEBUG pijul::remote::ssh] run_protocol
[2021-07-03T17:38:16Z DEBUG pijul::remote::ssh] waiting for a message
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] writing, seqn = 7
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] padding length 11
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] packet_length 88
[2021-07-03T17:38:16Z DEBUG thrussh::client] writing to stream: 108 bytes
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] reading, len = [139, 186, 147, 255]
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] reading, seqn = 7
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] reading, clear len = 32
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] read_exact 36
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] read_exact done
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] reading, padding_length 10
[2021-07-03T17:38:16Z DEBUG thrussh::client::encrypted] client_read_encrypted, buf = [99, 0, 0, 0, 2]
[2021-07-03T17:38:16Z DEBUG thrussh::client::encrypted] buf = 5 bytes
[2021-07-03T17:38:16Z TRACE thrussh::client::encrypted] buf = [99, 0, 0, 0, 2]
[2021-07-03T17:38:16Z DEBUG pijul::remote::ssh] msg = Success
[2021-07-03T17:38:16Z DEBUG pijul::remote::ssh] run_protocol done
[2021-07-03T17:38:16Z DEBUG thrussh::client] sending data, self.window_size = 2097152, self.max_packet_size = 10000000, total = 0
[2021-07-03T17:38:16Z DEBUG thrussh::client] sendable 2097152
[2021-07-03T17:38:16Z DEBUG thrussh::client] sending data, self.window_size = 2097144, self.max_packet_size = 10000000, total = 8
[2021-07-03T17:38:16Z DEBUG thrussh::client] sendable 2097144
[2021-07-03T17:38:16Z DEBUG thrussh::session] buffer: 21 2097152
[2021-07-03T17:38:16Z DEBUG thrussh::session] buf.len() = 0, buf_len = 8
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] writing, seqn = 8
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] padding length 6
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] packet_length 24
[2021-07-03T17:38:16Z DEBUG thrussh::client] writing to stream: 44 bytes
[2021-07-03T17:38:16Z DEBUG thrussh::session] buf.len() = 0, buf_len = 0
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] reading, len = [232, 166, 245, 230]
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] reading, seqn = 8
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] reading, clear len = 32
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] read_exact 36
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] read_exact done
[2021-07-03T17:38:16Z DEBUG thrussh::cipher] reading, padding_length 5
[2021-07-03T17:38:16Z DEBUG thrussh::client::encrypted] client_read_encrypted, buf = [94, 0, 0, 0, 2, 0, 0, 0, 1, 10]
[2021-07-03T17:38:16Z DEBUG thrussh::client::encrypted] buf = 10 bytes
[2021-07-03T17:38:16Z TRACE thrussh::client::encrypted] buf = [94, 0, 0, 0, 2, 0, 0, 0, 1, 10]
[2021-07-03T17:38:16Z DEBUG thrussh::client::encrypted] channel_data
[2021-07-03T17:38:16Z DEBUG thrussh::session] adjust_window_size
[2021-07-03T17:38:16Z DEBUG thrussh::session] channel Channel { recipient_channel: 2, sender_channel: ChannelId(2), recipient_window_size: 2097144, sender_window_size: 2097152, recipient_maximum_packet_size: 10000000, sender_maximum_packet_size: 32768, confirmed: true, wants_reply: false, pending_data: [] }
[2021-07-03T17:38:16Z TRACE pijul::remote::ssh] data ChannelId(2) 1
[2021-07-03T17:38:16Z DEBUG pijul::remote::ssh] state: State [10]
thread 'tokio-runtime-worker' panicked at 'assertion failed: `(left == right)`
  left: `Ok(16)`,
 right: `Ok(0)`', /Users/ak/.cargo/registry/src/github.com-1ecc6299db9ec823/data-encoding-2.3.2/src/lib.rs:1413:9
stack backtrace:
   0:        0x10e9e1ce4 - std::backtrace_rs::backtrace::libunwind::trace::hf5e0f1b56dda01d5
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
   1:        0x10e9e1ce4 - std::backtrace_rs::backtrace::trace_unsynchronized::he30181384dfc443b
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:        0x10e9e1ce4 - std::sys_common::backtrace::_print_fmt::h70a4be95a22f8da9
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/sys_common/backtrace.rs:67:5
   3:        0x10e9e1ce4 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h36c0052c0225805d
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/sys_common/backtrace.rs:46:22
   4:        0x10ea058cc - core::fmt::write::h53cd30d79330b217
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/core/src/fmt/mod.rs:1111:17
   5:        0x10e9da08a - std::io::Write::write_fmt::h621fe9764d072270
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/io/mod.rs:1640:15
   6:        0x10e9e417f - std::sys_common::backtrace::_print::h49b875dc59021a4e
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/sys_common/backtrace.rs:49:5
   7:        0x10e9e417f - std::sys_common::backtrace::print::h929e04ec4b5d0531
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/sys_common/backtrace.rs:36:9
   8:        0x10e9e417f - std::panicking::default_hook::{{closure}}::h497f77d12f011aa3
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/panicking.rs:208:50
   9:        0x10e9e3c7d - std::panicking::default_hook::h1ccb84eb2bce8b2a
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/panicking.rs:225:9
  10:        0x10e9e4880 - std::panicking::rust_panic_with_hook::h151c17db51726319
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/panicking.rs:622:17
  11:        0x10e9e4325 - std::panicking::begin_panic_handler::{{closure}}::he5700381c5850965
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/panicking.rs:519:13
  12:        0x10e9e2158 - std::sys_common::backtrace::__rust_end_short_backtrace::h25a79dc02eedace7
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/sys_common/backtrace.rs:141:18
  13:        0x10e9e428a - rust_begin_unwind
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/panicking.rs:515:5
  14:        0x10ea4986f - core::panicking::panic_fmt::hdc889aaa86870f3d
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/core/src/panicking.rs:92:14
  15:        0x10ea03e07 - core::panicking::assert_failed_inner::h1ee6ec418e61a1b1
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/core/src/panicking.rs:160:17
  16:        0x10ea3a8de - core::panicking::assert_failed::h88f0915ba7d5533d
  17:        0x10e8442c9 - data_encoding::Encoding::decode_mut::ha077a026caa4fa84
  18:        0x10e704eae - libpijul::pristine::RemoteId::from_base32::h02969f9381844778
  19:        0x10e3e19ec - <pijul::remote::ssh::SshClient as thrussh::client::Handler>::data::{{closure}}::h9d32cf34652dc978
  20:        0x10e38c7db - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h77aadd06978b4a57
  21:        0x10e37988e - thrussh::client::encrypted::<impl thrussh::client::Session>::client_read_authenticated::{{closure}}::hbd4edb1cbc316d47
  22:        0x10e378cd4 - thrussh::client::reply::{{closure}}::h97ab6ffedd04abce
  23:        0x10e3868e3 - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h3aed8e760ec07fe7
  24:        0x10e2583ae - tokio::runtime::task::harness::poll_future::h0bbfb0007c669be7
  25:        0x10e259f7f - tokio::runtime::task::harness::Harness<T,S>::poll::h8048635ffca45648
  26:        0x10e63fa34 - std::thread::local::LocalKey<T>::with::h81297f9f9c67e62c
  27:        0x10e6384f6 - tokio::runtime::thread_pool::worker::Context::run_task::h3d4927f47296320f
  28:        0x10e63785b - tokio::runtime::thread_pool::worker::Context::run::hc79fc3cca694fc43
  29:        0x10e63a393 - tokio::macros::scoped_tls::ScopedKey<T>::set::h69528fdd387947db
  30:        0x10e637628 - tokio::runtime::thread_pool::worker::run::h150c10ba546583a3
  31:        0x10e64694e - tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut::h19a3f7503f4a3a60
  32:        0x10e63eabb - tokio::runtime::task::core::CoreStage<T>::poll::h47f9498a5709023e
  33:        0x10e64610d - std::panicking::try::hd9510317ebc29c42
  34:        0x10e641db6 - tokio::runtime::task::harness::Harness<T,S>::poll::h9e90463bd29bd97c
  35:        0x10e63182d - tokio::runtime::blocking::pool::Inner::run::h984b8f5fccc04634
  36:        0x10e638bf1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h8777714c2d65cecb
  37:        0x10e64f991 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1bfd8bb63f980940
  38:        0x10e9eb7ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h1ccbf95e9809fea2
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/alloc/src/boxed.rs:1575:9
  39:        0x10e9eb7ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc8a8e490b6be9917
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/alloc/src/boxed.rs:1575:9
  40:        0x10e9eb7ab - std::sys::unix::thread::Thread::new::thread_start::h92a4bad9adfe1fdb
                               at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/sys/unix/thread.rs:72:17
  41:     0x7fff204488fc - __pthread_start
[2021-07-03T17:38:16Z DEBUG thrussh::client] drop session
[2021-07-03T17:38:16Z TRACE mio::poll] deregistering event source from poller
[2021-07-03T17:38:16Z DEBUG thrussh::client] drop handle
[2021-07-03T17:38:16Z DEBUG pijul] channel closed
    
    Stack backtrace:
       0: std::backtrace_rs::backtrace::libunwind::trace
                 at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
       1: std::backtrace_rs::backtrace::trace_unsynchronized
                 at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
       2: std::backtrace::Backtrace::create
                 at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/backtrace.rs:327:13
       3: std::backtrace::Backtrace::capture
                 at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/backtrace.rs:295:9
       4: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
       5: pijul::remote::RemoteRepo::update_changelist::{{closure}}
       6: pijul::commands::clone::Clone::run::{{closure}}
       7: pijul::run::{{closure}}
       8: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
       9: tokio::park::thread::CachedParkThread::block_on
      10: tokio::runtime::thread_pool::ThreadPool::block_on
      11: tokio::runtime::Runtime::block_on
      12: pijul::main
      13: std::sys_common::backtrace::__rust_begin_short_backtrace
      14: std::rt::lang_start::{{closure}}
      15: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
                 at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/core/src/ops/function.rs:259:13
      16: std::panicking::try::do_call
                 at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/panicking.rs:401:40
      17: std::panicking::try
                 at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/panicking.rs:365:19
      18: std::panic::catch_unwind
                 at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/panic.rs:434:14
      19: std::rt::lang_start_internal::{{closure}}
                 at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/rt.rs:45:48
      20: std::panicking::try::do_call
                 at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/panicking.rs:401:40
      21: std::panicking::try
                 at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/panicking.rs:365:19
      22: std::panic::catch_unwind
                 at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/panic.rs:434:14
      23: std::rt::lang_start_internal
                 at /rustc/7c3872e6bfd555d2ad753ac1f871db3bd7f2a547/library/std/src/rt.rs:45:20
      24: _main
Error: channel closed