help me
pls
2018-07-29 12:38:11
you compiled a non-deploy jar yourself and moved it? or you use the wrong java?
Rotonen
2018-07-29 15:42:42
I don't know why that log says "creating field" that's confusing as fuck.
Clueless
2018-07-29 15:43:29
subscribed to work seems legit, though
Rotonen
2018-07-29 15:43:58
post your config and use the text tools of slack, screenshots are not as useful
Rotonen
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
2018-07-29 23:18:55
That means it can't reach the node
Fireduck
2018-07-29 23:38:26
@wes share your config
Clueless
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
2018-07-29 23:46:05
@wes hey, if you're new to linux, I can help you learn how to use it
Clueless
2018-07-29 23:46:19
I'm hanging out with fireduck, so we're talking lol
Clueless
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
2018-07-29 23:47:26
@wes Ctrl+C sends a process kill signal, it closes the thing you're running, typically.
Clueless
2018-07-29 23:47:47
typically if you close the terminal running a process, it closes the process as well.
Clueless
2018-07-29 23:48:16
@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.
Clueless
2018-07-29 23:48:26
---
Clueless
I was getting errors with the script, something about newline, so i decided to try the quick start guide instead
2018-07-29 23:49:24
can you paste the error you ran into?
Clueless
syntax error near unexpected token `newline
stack overflow was saying stuff about the < and > characters but i wasnt sure what to do
2018-07-29 23:50:56
Can you paste the entire output here?
Clueless
2018-07-29 23:51:11
if my script is broken, I want to fix it
Clueless
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
2018-07-29 23:52:27
it should run on the same instance without problem.
Clueless
2018-07-29 23:52:39
either, bash script.sh or ./script.sh should work
Clueless
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?
2018-07-29 23:55:35
What do you want to do?
Clueless
2018-07-29 23:56:35
@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.
Clueless
I want the 128gb ram instance to mine, but i also need to setup a wallet first
2018-07-29 23:57:16
Alright, did you already run sample0? :P
Clueless
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
2018-07-29 23:59:01
okay.
Clueless
2018-07-29 23:59:11
So, you need to run the node.sh in the background
Clueless
2018-07-29 23:59:36
try.
`./node.sh &`
then, run
`./client.sh`
Clueless
2018-07-29 23:59:51
however, if you close the window, node.sh will stop running.
Clueless