help me
you compiled a non-deploy jar yourself and moved it? or you use the wrong java?
I don't know why that log says "creating field" that's confusing as fuck.
subscribed to work seems legit, though
post your config and use the text tools of slack, screenshots are not as useful
I installed ubuntu 18, installed java, unzipped the 1.3 release, ran the node.sh and it sync’d. now when i do ./client.sh i get this error :
[2018-07-29 23:13:28] INFO snowblossom.client.SnowBlossomClient <init> Starting SnowBlossomClient version 1.3.0 Exception in thread “main” java.lang.RuntimeException: java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception at duckutil.TaskMaster.getResults(TaskMaster.java:69) at duckutil.TaskMaster.getResults(TaskMaster.java:53) at snowblossom.client.SnowBlossomClient.showBalances(SnowBlossomClient.java:469) at snowblossom.client.SnowBlossomClient.main(SnowBlossomClient.java:59) Caused by: java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at duckutil.TaskMaster.getResults(TaskMaster.java:62) ... 3 more Caused by: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:221) at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:202) at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:131) at snowblossom.proto.UserServiceGrpc$UserServiceBlockingStub.getUTXONode(UserServiceGrpc.java:716) at snowblossom.client.SnowBlossomClient.getSpendable(SnowBlossomClient.java:512) at snowblossom.client.SnowBlossomClient$2.call(SnowBlossomClient.java:419) at snowblossom.client.SnowBlossomClient$2.call(SnowBlossomClient.java:408) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:2338 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:325) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:635) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:582) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:499) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:461) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ... 1 more Caused by: java.net.ConnectException: Connection refused ... 11 more
That means it can't reach the node
@wes share your config
the client.conf?
# Snowblossom Client Configuration File # the network to use # (snowblossom/mainnet, teapot/testnet, spoon/regtest) network=snowblossom # logging configuration log_config_file=configs/logging.properties # the node your client will query for balances node_host=localhost # defaults: mainnet=2338, testnet=2339 #node_port= # wallet storage location (back this up!) wallet_path=wallet
should i change the #node_port to node_port=2338
meh, gave me the same error when i tried setting that port
@wes hey, if you're new to linux, I can help you learn how to use it
I'm hanging out with fireduck, so we're talking lol
relatively new. I think what happened was after running./node.sh i was command+c to get back to the directory
so i launched a second terminal, connected and did the client.sh seperately and it seems to be working
is there a more efficient way to do this without 2 terminal windows? like what happens if I close the node.sh window
@wes Ctrl+C sends a process kill signal, it closes the thing you're running, typically.
typically if you close the terminal running a process, it closes the process as well.
@wes This is why my script sets up a system service, it uses systemd (that now comes with debian) to run the process in the background.
---
I was getting errors with the script, something about newline, so i decided to try the quick start guide instead
can you paste the error you ran into?
syntax error near unexpected token `newline
stack overflow was saying stuff about the < and > characters but i wasnt sure what to do
Can you paste the entire output here?
if my script is broken, I want to fix it
yeah should i do this on a new instance, rather than the one I have installed java on
im reading it might be something a stupid as running bash script.sh instead of ./script.sh
it should run on the same instance without problem.
either, bash script.sh or ./script.sh should work
so i was trying the sample0 script because it was the newst
but maybe i should have been running sample 1 because its for node?
What do you want to do?
@wes • sample0 builds the code from source, but it doesn't run things for you. • sample1 installs a system service that runs in the background for you.
I want the 128gb ram instance to mine, but i also need to setup a wallet first
Alright, did you already run sample0? :P
not on this instance yet
i just installed java, downloaded the latest release and then ran the node.sh and then client .sh
the newline error I spoke of was from a previous instance, but i destroyed
okay.
So, you need to run the node.sh in the background
try. `./node.sh &` then, run `./client.sh`
however, if you close the window, node.sh will stop running.