- grin-wallet 5.0.0-rc.1
- Darwin MacBook-Pro-de-Workstation.local 19.5.0 Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 x86_64
grin-wallet -r "https://grinnode.live:3413" owner_api
20201226 09:34:53.847 ERROR grin_wallet_impls::node_clients::http - Error calling get_version: Request error: Cannot make request: error trying to connect: tcp connect error: Connection refused (os error 61)
20201226 09:34:53.847 ERROR grin_wallet_impls::node_clients::http - Unable to contact Node to get version info: Client Callback Error: Error calling get_version: Request error: Cannot make request: error trying to connect: tcp connect error: Connection refused (os error 61)
Password:
20201226 09:34:55.357 WARN grin_wallet_controller::controller - Starting HTTP Foreign API on Owner server at 127.0.0.1:3420.
20201226 09:34:55.357 WARN grin_wallet_controller::controller - Starting HTTP Owner API server at 127.0.0.1:3420.
20201226 09:34:55.357 WARN grin_wallet_controller::controller - HTTP Owner listener started.
python3 /Users/workstation/Downloads/wallet_v3.py
Traceback (most recent call last):
File "/Users/workstation/Library/Python/3.7/lib/python/site-packages/urllib3/connectionpool.py", line 706, in urlopen
chunked=chunked,
File "/Users/workstation/Library/Python/3.7/lib/python/site-packages/urllib3/connectionpool.py", line 445, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/Users/workstation/Library/Python/3.7/lib/python/site-packages/urllib3/connectionpool.py", line 440, in _make_request
httplib_response = conn.getresponse()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py", line 1321, in getresponse
response.begin()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py", line 296, in begin
version, status, reason = self._read_status()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py", line 265, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/workstation/Library/Python/3.7/lib/python/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/Users/workstation/Library/Python/3.7/lib/python/site-packages/urllib3/connectionpool.py", line 756, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/Users/workstation/Library/Python/3.7/lib/python/site-packages/urllib3/util/retry.py", line 531, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/Users/workstation/Library/Python/3.7/lib/python/site-packages/urllib3/packages/six.py", line 734, in reraise
raise value.with_traceback(tb)
File "/Users/workstation/Library/Python/3.7/lib/python/site-packages/urllib3/connectionpool.py", line 706, in urlopen
chunked=chunked,
File "/Users/workstation/Library/Python/3.7/lib/python/site-packages/urllib3/connectionpool.py", line 445, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/Users/workstation/Library/Python/3.7/lib/python/site-packages/urllib3/connectionpool.py", line 440, in _make_request
httplib_response = conn.getresponse()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py", line 1321, in getresponse
response.begin()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py", line 296, in begin
version, status, reason = self._read_status()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/http/client.py", line 265, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/workstation/Downloads/grin.py", line 459, in <module>
pp.pprint(wallet.scan())
File "/Users/workstation/Downloads/grin.py", line 184, in scan
resp = self.post_encrypted('scan', params)
File "/Users/workstation/Downloads/grin.py", line 86, in post_encrypted
'body_enc': encrypted
File "/Users/workstation/Downloads/grin.py", line 62, in post
auth=(self.api_user, self.api_password))
File "/Users/workstation/Library/Python/3.7/lib/python/site-packages/requests/api.py", line 119, in post
return request('post', url, data=data, json=json, **kwargs)
File "/Users/workstation/Library/Python/3.7/lib/python/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/Users/workstation/Library/Python/3.7/lib/python/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/Users/workstation/Library/Python/3.7/lib/python/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/Users/workstation/Library/Python/3.7/lib/python/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Wallet log
20201226 10:13:23.060 ERROR grin_util::logger -
thread 'tokio-runtime-worker' panicked at 'Cannot start a runtime from within a runtime. This happens because a function (like `block_on`) attempted to block the current thread while the thread is being used to drive asynchronous tasks.': /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/enter.rs:38 0: backtrace::backtrace::trace
1: backtrace::capture::Backtrace::new
2: grin_util::logger::send_panic_to_log::{{closure}}
3: std::panicking::rust_panic_with_hook
4: std::panicking::begin_panic::{{closure}}
5: std::sys_common::backtrace::__rust_end_short_backtrace
6: std::panicking::begin_panic
7: tokio::runtime::enter::enter
8: tokio::runtime::thread_pool::ThreadPool::block_on
9: tokio::runtime::context::enter
10: <grin_wallet_impls::node_clients::http::HTTPNodeClient as grin_wallet_libwallet::types::NodeClient>::get_outputs_from_node
11: grin_wallet_libwallet::internal::updater::refresh_output_state
12: grin_wallet_libwallet::internal::updater::refresh_outputs
13: grin_wallet_libwallet::api_impl::owner::update_outputs
14: grin_wallet_libwallet::api_impl::owner::scan
15: grin_wallet_api::owner::Owner<L,C,K>::scan
16: <grin_wallet_api::owner::Owner<L,C,K> as grin_wallet_api::owner_rpc::OwnerRpc>::scan
17: <dyn grin_wallet_api::owner_rpc::OwnerRpc as easy_jsonrpc_mw::Handler>::handle
18: easy_jsonrpc_mw::handle_call
19: easy_jsonrpc_mw::handle_parsed_request
20: easy_jsonrpc_mw::Handler::handle_request
21: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
22: <hyper::proto::h1::dispatch::Server<S,hyper::body::body::Body> as hyper::proto::h1::dispatch::Dispatch>::poll_msg
23: hyper::proto::h1::dispatch::Dispatcher<D,Bs,I,T>::poll_catch
24: <hyper::server::conn::upgrades::UpgradeableConnection<I,S,E> as core::future::future::Future>::poll
25: <hyper::server::conn::spawn_all::NewSvcTask<I,N,S,E,W> as core::future::future::Future>::poll
26: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
27: tokio::runtime::task::raw::poll
28: std::thread::local::LocalKey<T>::with
29: tokio::runtime::thread_pool::worker::Context::run_task
30: tokio::runtime::thread_pool::worker::Context::run
31: tokio::macros::scoped_tls::ScopedKey<T>::set
32: tokio::runtime::thread_pool::worker::run
33: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut
34: tokio::runtime::task::core::Core<T,S>::poll
35: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
36: tokio::runtime::task::harness::Harness<T,S>::poll
37: tokio::runtime::blocking::pool::Inner::run
38: tokio::runtime::context::enter
39: std::sys_common::backtrace::__rust_begin_short_backtrace
40: core::ops::function::FnOnce::call_once{{vtable.shim}}
41: std::sys::unix::thread::Thread::new::thread_start
42: __pthread_start
Thread 'tokio-runtime-worker' panicked with message:
"Cannot start a runtime from within a runtime. This happens because a function (like `block_on`) attempted to block the current thread while the thread is being used to drive asynchronous tasks."
See /Users/workstation/.grin/main/grin-wallet.log for further details.