This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[exit_client.exits.test] | |
ip = "test.altheamesh.com" | |
registration_port = 4875 | |
[exit_client.exits.us_west] | |
ip = "exit.altheamesh.com" | |
registration_port = 4875 | |
[exit_client.exits.canada_east] | |
ip = "canada_east.altheamesh.com" | |
registration_port = 4875 | |
[exit_client.exits.apac] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use actix::prelude::*; | |
use actix::{Actor, Context, StreamHandler}; | |
use byteorder::{BigEndian, ReadBytesExt}; | |
use bytes::BufMut; | |
use bytes::BytesMut; | |
use failure::Error; | |
use futures::future::ok; | |
use futures::future::FutureResult; | |
use futures::stream::SplitSink; | |
use futures::Future; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate byteorder; | |
extern crate bytes; | |
extern crate failure; | |
extern crate regex; | |
use bytes::BufMut; | |
use bytes::BytesMut; | |
use failure::Error; | |
use regex::Regex; | |
use std::io; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`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 |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TRACE 2018-08-08T22:46:51Z: rita: Starting | |
INFO 2018-08-08T22:46:51Z: rita: crate ver 0.1.4, git hash 5333cbc2ce4f7d7cb44133a98e501298e535224a | |
TRACE 2018-08-08T22:46:51Z: settings: starting with settings: RwLockReadGuard { lock: RwLock { data: RitaSettingsStruct { payment: PaymentSettings { pay_threshold: Int256(0), close_threshold: Int256(-1000000000), close_fraction: Int256(100), buffer_period: 3, eth_address: 0x0101010101010101010101010101010101010101 }, network: NetworkSettings { own_ip: V6(fd37:fe4d:8833:d78f:ae78:6186:b95f:7d6c), bounty_ip: V6(fd00::1337:e1f), babel_port: 6872, rita_hello_port: 4876, rita_contact_port: 4874, rita_dashboard_port: 4877, bounty_port: 8888, rita_tick_interval: 5, wg_private_key: "aBD8MtjX0RoC3sHRJF35WeUAci6XwDQzTmoHdve9X3Y=", wg_private_key_path: "/tmp/priv", wg_public_key: "NycELF8BVa1Ndi4Ojh4exJPl440r0D1HwdUqPGoXg2I=", wg_start_port: 60000, peer_interfaces: {"eth0.4", "eth0.5", "eth0.3"}, manual_peers: ["test.altheamesh.com", "apac.altheamesh.com", "exit.altheamesh.com", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// 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( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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" | |
] |