Skip to content

Instantly share code, notes, and snippets.

Avatar

Justin Kilpatrick jkilpatr

View GitHub Profile
View gist:0d004bdbd1618ca73d5581c3f8baa0ae
package com.althea.althea_android;
import java.io.IOException;
import java.net.Inet4Address;
import java.net.Inet6Address;
import java.net.MulticastSocket;
import java.net.NetworkInterface;
import java.net.DatagramPacket;
import java.net.InetAddress;
View gist:8a3f32077f46f23c3528998033294913
[ 38.511865] Unable to handle kernel paging request at virtual address 25663629
[ 38.511903] pgd = cc8cc000
[ 38.517981] [25663629] *pgd=00000000
[ 38.520704] Internal error: Oops: 1 [#1] SMP ARM
[ 38.524403] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pppox ppp_generic nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY wireguard slhc nft_set_rbtree nft_set_hash nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir_ipv4 nft_redir nft_quota nft_numgen nft_nat nft_meta nft_masq_ipv4 nft_masq nft_log nft_limit nft_flow_offload nft_exthdr nft_ct nft_counter nft_chain_route_ipv6 nft_chain_route_ipv4 nft_chain_nat_ip
View gist:418329fa163093c08eb6133d59a9513d
package com.althea.althea_android;
import java.io.IOException;
import java.net.Inet4Address;
import java.net.Inet6Address;
import java.net.MulticastSocket;
import java.net.NetworkInterface;
import java.net.DatagramPacket;
import java.net.InetAddress;
View gist:5f546f7e8d66ad3dc51718955e8e4848
[justin@localhost ~]$ cat /home/justin/.cache/yarn/v2/.tmp/cc59f3bd861e969e9429338cd517a476/package.json
{
"name": "cordova-plugin-qrscanner",
"version": "3.0.1",
"description": "Fast, energy-efficient, highly-configurable QR code scanner.",
"cordova": {
"id": "cordova-plugin-qrscanner",
"platforms": [
"ios"
]
View gist:c348131160bee803cb1f0c5a93ccb6fd
/// Opens a tcpstream to the babel management socket using a standard timeout
/// for both the open and read operations
pub fn open_babel_stream(babel_port: u16) -> ConnectFuture {
let socket_string = format!("[::1]:{}", babel_port);
trace!("About to open Babel socket using {}", socket_string);
let socket: SocketAddr = socket_string.parse().unwrap();
TcpStream::connect(&socket)
}
fn read_babel(
View gist:7851905d615e10b6401d8c2b9c12ccab
let res = stream.then(move |stream| {
let stream = stream.expect("Error attaching to full node socket");
client::post(&endpoint)
.timeout(Duration::from_secs(8))
.with_connection(Connection::from_stream(stream))
.json(func_call)
.unwrap()
.send()
.then(move |response| {
trace!("Got response {:?}", response);
View gist:2e6b33b810b852f8714c7765cff79440
let res = stream.then(move |stream| {
let stream = stream.expect("Error attaching to full node socket");
client::post(&endpoint)
.timeout(Duration::from_secs(8))
.with_connection(Connection::from_stream(stream))
.json(func_call)
.unwrap()
.send()
.then(move |response| {
trace!("Got response {:?}", response);
View gist:3a50d7ff2325affe67e999fa6d8d3bc0
[justin@DESKTOP-UALBV95 althea_rs]$ grep -ri "PeerListener tick completed in" ~/really-slow-tokio.log
INFO 2018-08-15T15:24:53Z: rita::rita_common::rita_loop: PeerListener tick completed in 0s 22ms, with result Ok(Ok(()))
INFO 2018-08-15T15:24:57Z: rita::rita_common::rita_loop: PeerListener tick completed in 0s 589ms, with result Ok(Ok(()))
INFO 2018-08-15T15:25:03Z: rita::rita_common::rita_loop: PeerListener tick completed in 0s 22ms, with result Ok(Ok(()))
INFO 2018-08-15T15:25:09Z: rita::rita_common::rita_loop: PeerListener tick completed in 0s 255ms, with result Ok(Ok(()))
INFO 2018-08-15T15:25:13Z: rita::rita_common::rita_loop: PeerListener tick completed in 0s 20ms, with result Ok(Ok(()))
INFO 2018-08-15T15:25:18Z: rita::rita_common::rita_loop: PeerListener tick completed in 0s 28ms, with result Ok(Ok(()))
INFO 2018-08-15T15:25:23Z: rita::rita_common::rita_loop: PeerListener tick completed in 0s 25ms, with result Ok(Ok(()))
INFO 2018-08-15T15:25:28Z: rita::rita_common::rita_loop: PeerListener ti
View out.log
This file has been truncated, but you can view the full file.
TRACE 2018-08-08T22:46:51Z: rita: Starting
INFO 2018-08-08T22:46:51Z: rita: crate ver 0.1.4, git hash 5333cbc2ce4f7d7cb44133a98e501298e535224a
View gist:c69d57f7bd84cb65847a5ec7e065ec52
`ERROR 2018-08-08T17:16:57Z: actix_web::pipeline: Error occured during request handling, status: 500 Internal Server Error The OpenSSL library reported an error
DEBUG 2018-08-08T17:16:57Z: actix_web::pipeline: Compat { error: Io(Custom { kind: Other, error: Failure(Ssl(ErrorStack([Error { code: 336134278, library: "SSL routines", function: "ssl3_get_server_certificate", reason: "certificate verify failed", file: "s3_clnt.c", line: 1269 }]))) })
stack backtrace:
0: 0x1aecba5 - backtrace::backtrace::libunwind::trace::h354ae09d2e8a2559
at /home/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/backtrace/libunwind.rs:53
- backtrace::backtrace::trace::h9a4bb7c3779a5504
at /home/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/backtrace/mod.rs:42
1: 0x1ae5fee - backtrace::capture::Backtrace::new_unresolved::h889dd07d74778134
at /home/rust/.cargo/reg