hello
i have an issue can anyone helpme here with snowblossom
bazel-bin/SnowBlossomNode example/configs/node.conf
WARNING: Local clock seems to be off by 221175 ms
jan 13, 2019 10:00:25 PM io.grpc.internal.ManagedChannelOrphanWrapper$ManagedChannelReference cleanQueue SEVERE: *~*~*~ Channel ManagedChannelImpl{logId=2108, target=[2601:602:8802:2091:dc43:2ff:fe1e:5206]:2338} was not shutdown properly!!! ~*~*~* Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true. java.lang.RuntimeException: ManagedChannel allocation site
how can i fix this
Fix local clock
i'm in fedora can you tellme how
Install ntpd
ok
I don't even remember what package manager Fedora uses so I can't be too helpful
i can do that
You can also ignore those channel a closed improperly errors. They aren't important.
i have synchro whith the web but do not fix
I've been trying to trace them down for a while but they really aren't important
but this error SEVERE: *~*~*~ Channel ManagedChannelImpl{logId=2108, target=[2601:602:8802:2091:dc43:2ff:fe1e:5206]:2338} was not shutdown properly!!! ~*~*~* Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true. java.lang.RuntimeException: ManagedChannel allocation site
Yeah, not important
It is a p2p protocol so there are connections coming and going.
I'd like to figure out where a connection isn't being closed properly mostly just to get rid of that error
But it is really not important
are u saying the error is not important
? :slightly_smiling_face:
Indeed
ok
bazel-bin/SnowBlossomNode example/configs/node.conf
do i have a command line in the end
of command completed
the command completes
The node should run forever and never exit
i just have a blink terminal
i have a nother issue
bazel-bin/SnowBlossomClient example/configs/client.conf FAILED TO INITIALIZE LOGGING: java.io.FileNotFoundException: configs/logging.properties (No such file or directory) jan 13, 2019 9:26:11 PM snowblossom.client.SnowBlossomClient <init> INFO: Starting SnowBlossomClient version 1.5.0 Exception in thread "main" java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.AssertionError: expected:<32> but was:<0>
the node is ok then but the client has this
error in assertion
Is there more to that error?
INFO: Starting SnowBlossomClient version 1.5.0 Exception in thread "main" java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.AssertionError: expected:<32> but was:<0> at duckutil.TaskMaster.getResults(TaskMaster.java:69) at duckutil.TaskMaster.getResults(TaskMaster.java:53) at snowblossom.client.SnowBlossomClient.showBalances(SnowBlossomClient.java:654) at snowblossom.client.SnowBlossomClient.main(SnowBlossomClient.java:61) Caused by: java.util.concurrent.ExecutionException: java.lang.AssertionError: expected:<32> but was:<0> 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: java.lang.AssertionError: expected:<32> but was:<0> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at snowblossom.lib.ChainHash.<init>(ChainHash.java:20) at snowblossom.client.GetUTXOUtil.getCurrentUtxoRootHash(GetUTXOUtil.java:57) at snowblossom.client.GetUTXOUtil.getSpendableValidated(GetUTXOUtil.java:126) at snowblossom.client.GetUTXOUtil.getSpendableWithMempool(GetUTXOUtil.java:68) at snowblossom.client.SnowBlossomClient.getSpendable(SnowBlossomClient.java:703) at snowblossom.client.SnowBlossomClient$2.call(SnowBlossomClient.java:604) at snowblossom.client.SnowBlossomClient$2.call(SnowBlossomClient.java:593) 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)
That assertion shouldn't happen
And the node is synced?
well
the node is running
but when i run bazel in client it causes this assertion
I suspect your note is not connected to any peers
How heavily firewalled is your environment?
yes it is firewalled
the port may be closed
is that the issue
open the port
That is fine as long as you can make outbound connections
To Port 2338
i can open a outbound connection to 2338
are u suggesting this
The error you are seeing in the client suggests that your node has not managed to download a single block from a peer
This makes me think a network problems but it's hard to know in more detail than that
ok i'll try to open a in out rule to 2338
hello once again
arktika configs deployment scripts systemd I've this dirs
what dir should i start
I just run it from source inside screey
Screen
SEVERE: _~_~*~ Channel ManagedChannelImpl{logId=2108, target=[2601:602:8802:2091:dc43:2ff:fe1e:5206]:2338} was not shutdown properly!!! ~*~_~_ Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true. java.lang.RuntimeException: ManagedChannel allocation site Note1: This is a client side Note2: Suspect something about firewalls or timeouts involved
@matrixm in case you want to track it: https://github.com/snowblossomcoin/snowblossom/issues/158 SEVERE: _~_~*~ Channel ManagedChannelImpl{logId=2108, target=[2601:602:8802:2091:dc43:2ff:fe1e:5206]:2338} was not shutdown properly!!! ~*~_~_ Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true. java.lang.RuntimeException: ManagedChannel allocation site Note1: This is a client side Note2: Suspect something about firewalls or timeouts involved
thought I had a bug open but couldn't find it so made a new one
Something weird happens where when a poolminer or arktika starts up it thinks all pools are dead for a while and then eventually works on reconnect. Should make that smoother, even if it just means adding some sleeps on startup to give the pool threads time to start up and get connected.
hello
java -jar SnowBlossomClient_deploy.jar configs/client.conf $1 $2 $3
what are the parameters $1 $2 $3
command line parameters you give to the script
also, a sign that whoever wrote that doesn't know shell scripting :wink:
should be $*
to just pass along any parameters given to the script
well
how do u run from source client
i have this dir
snowblossom1.5.0/client/src
but i also have java files in it
how do i run
java SnowBlossomClient.java configs/client.conf $1 $2 $3
have you installed bazel?
yes
bazel build :SnowBlossomClient_deploy.jar
i already builded
then you will have bazel-bin/SnowBlossomClient_deploy.jar
bazel-bin/SnowBlossomClient_deploy.jar in this command i have an error
INFO snowblossom.client.SnowBlossomClient <init> Starting SnowBlossomClient version 1.5.0 Exception in thread "main" java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.AssertionError: expected:<32> but was:<0>
i have the running node
Does the node have blocks?
but the client is returning this
how
Can you show me the last 10 lines the node has output?
WARNING snowblossom.lib.TimeWatcher checkTime Local clock seems to be off by 223133 ms
only outputs this
namore lines
and more lines
like the above
ok, please restart the node and wait a minute and tell me the last lines it shows
also, fix your clock :wink:
fix my clock with ntpd
Exception in thread "main" java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.AssertionError: expected:<32> but was:<0> at duckutil.TaskMaster.getResults(TaskMaster.java:69) at duckutil.TaskMaster.getResults(TaskMaster.java:53) at snowblossom.client.SnowBlossomClient.showBalances(SnowBlossomClient.java:654) at snowblossom.client.SnowBlossomClient.main(SnowBlossomClient.java:61) Caused by: java.util.concurrent.ExecutionException: java.lang.AssertionError: expected:<32> but was:<0> 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 Probably should find a better way to express that the node being used has no blocks
can i start the node
yes
INFO snowblossom.node.Peerage start Starting peerage [2019-01-14 21:47:12] WARNING snowblossom.lib.TimeWatcher checkTime Local clock seems to be off by 223269 ms
fix my clock later it should not be from there
:slightly_smiling_face:
ok, your node is unable to contact any other peers
and can't download any blocks
how do i fix
my guess is that your computer is unable to make outbound network connections to the seed nodes
I have no idea why
firewall-cmd --add-port 2338/tcp
i already do this
clearly that wasn't enough. give me a minute.
ok
traceroute -T -p 2338 http://seed.snowblossom.org
you might need to run that as root
ok
INFO snowblossom.node.SnowBlossomNode <init> Starting SnowBlossomNode version 1.5.0 [2019-01-14 17:09:20] INFO snowblossom.lib.db.rocksdb.JRocksDB <init> Loadng RocksDB with path node_db/mainnet [2019-01-14 17:09:21] INFO snowblossom.node.Peerage <init> Loaded 12 peers from database [2019-01-14 17:09:21] INFO snowblossom.node.Peerage start Starting peerage
it loads the peears
loading is not the same as being able to connect to
1 router.home (192.168.1.1) 4.533 ms 5.202 ms 6.013 ms 2 * * * 3 * * * 4 * * * 5 * * * 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * *
it seeams that hasn't connect
yeah, something is blocking your ability to make outbound connections
try changing 2338 to 443 on that command
traceroute -T -p 443 http://seed.snowblossom.org traceroute to http://seed.snowblossom.org (54.190.239.231), 30 hops max, 60 byte packets 1 router.home (192.168.1.1) 4.464 ms 4.392 ms 4.360 ms 2 * * * 3 10.137.197.113 (10.137.197.113) 15.888 ms 15.990 ms 16.834 ms 4 10.255.184.98 (10.255.184.98) 16.820 ms 24.740 ms 25.960 ms 5 http://be4975.rcr21.opo01.atlas.cogentco.com (149.6.32.5) 26.068 ms 25.907 ms 25.966 ms 6 http://be3305.ccr52.bio02.atlas.cogentco.com (130.117.1.37) 28.010 ms 7 http://be3324.ccr42.par01.atlas.cogentco.com (130.117.2.66) 39.965 ms 8 http://be3627.ccr41.jfk02.atlas.cogentco.com (154.54.27.169) 112.913 ms 112.034 ms 9 http://be2806.ccr41.dca01.atlas.cogentco.com (154.54.40.110) 121.664 ms 121.976 ms 10 http://be2113.ccr42.atl01.atlas.cogentco.com (154.54.7.158) 127.474 ms 131.738 ms 11 http://be2687.ccr41.iah01.atlas.cogentco.com (154.54.28.130) 143.966 ms 146.830 ms 12 http://be2927.ccr21.elp01.atlas.cogentco.com (154.54.30.162) 163.603 ms 165.351 ms 13 http://be2930.ccr32.phx01.atlas.cogentco.com (154.54.42.65) 167.491 ms 170.643 ms 14 http://be2931.ccr41.lax01.atlas.cogentco.com (154.54.45.162) 176.975 ms 179.971 ms 15 http://be3360.ccr41.lax04.atlas.cogentco.com (154.54.42.102) 181.026 ms 181.984 ms 16 38.142.35.250 (38.142.35.250) 178.449 ms 180.597 ms 38.88.196.90 (38.88.196.90) 181.943 ms 17 * * * 18 * * * 19 52.93.14.122 (52.93.14.122) 221.036 ms 52.93.14.90 (52.93.14.90) 213.970 ms 52.93.14.222 (52.93.14.222) 207.312 ms 20 52.93.15.35 (52.93.15.35) 202.648 ms 52.93.14.147 (52.93.14.147) 198.232 ms 52.93.14.181 (52.93.14.181) 200.269 ms 21 52.93.14.176 (52.93.14.176) 201.964 ms 52.93.14.250 (52.93.14.250) 223.141 ms 52.93.14.74 (52.93.14.74) 201.482 ms 22 52.93.14.103 (52.93.14.103) 198.740 ms 52.93.14.133 (52.93.14.133) 201.194 ms 52.93.14.139 (52.93.14.139) 201.297 ms 23 52.93.240.95 (52.93.240.95) 199.863 ms 205.251.232.225 (205.251.232.225) 201.078 ms 52.93.240.105 (52.93.240.105) 194.494 ms 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * *
right, so that goes a lot better
the step beyond your router is blocking outbound to unknown ports
do y have to change ports in configs to 443
443 is the https port, I asked you to try it because if that didn't work you wouldn't be able to access web sites
oh
no snowblososm nodes answer on that
i have to change the rule to unknown ports then
I doubt it is anything you control
you are getting past your router, which I presume is 1 router.home (192.168.1.1)
It is your internet provider hating your freedom
i can acces that
right, your router is fine
it is the next step beyond that
i can access my router
Your router is fine, you don't need to do anything to it
It is the next router, presumably controlled by your internet provider
i can control my router :slightly_smiling_face:
Nos Comunicacoes S.A. probably
i can acces it
and make my outbound rulesou
we are really not communicating
i just have to plug a cable
Your router is allowing the traffic. The router of your internet provider is not allowing the traffic.
really
that sucks
:slightly_smiling_face:
That is what it seems based on the traceroute
it does
but knowing that, we can work around it
i have to call them to open the port in my account
isn'it
you shouldn't need to, all you need is an outbound connection
can you try this: traceroute -T -p 443 -6 http://snow-tx1.snowblossom.org
What does this show for you: https://test-ipv6.com/ This will test your browser and connection for IPv6 readiness, as well as show you your current IPv4 and IPv6 address.
connect: Network is unreachable
ok, so you don't have ipv6
O seu endereço IPv4, na internet pública, parece ser 89.152.27.59 Seu Provedor de Internet (ISP) parece ser NOS_COMUNICACOES Nenhum endereço IPv6 foi detectado [mais informações] Aparentemente você é capaz de navegar apenas em sites baseados em IPv4. Você não terá acesso a sites que utilizam exclusivamente IPv6. To ensure the best Internet performance and connectivity, ask your ISP about native IPv6. [mais informações] We are sometimes unable to detect Teredo and 6to4 when using HTTPS. [mais informações] HTTPS support on this web site is in beta. [mais informações] O seu servidor DNS (provavelmente mantido em seu provedor) parece não ter acess
no ipv6
this means we need to put a node on port 443 for you and change the node software to allow that
give me a few minutes
ok
i give u time to do this
u dont have to be rush
easy
Can you try: traceroute -T -p 8080 http://snow-tx1.snowblossom.org
traceroute -T -p 8080 http://snow-tx1.snowblossom.org traceroute to http://snow-tx1.snowblossom.org (45.79.20.24), 30 hops max, 60 byte packets 1 router.home (192.168.1.1) 4.166 ms 4.110 ms 4.077 ms 2 * * * 3 * * * 4 * * * 5 * * * 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * *
ok
same result as 2338
Mr Fireduck are u tomorrow in here
:slightly_smiling_face:
probably
git pull
rebuild and run node
i hope that provider is not a regional monopoly
they sell web access, not internet access
and if they are really evil, they deep packet inspect
so you’d have to look at dns over https and implement akin to that
to truly stick it at the nebulous ’them’
righto
sorta like a webrtc data channel
no greater magic involved
I could also actually turn on the TLS portion of gRPC and use port 443 in a more legit way
i guess they really cannot break TLS
thanks
a corporation could force a resigning proxy on its workforce
but a consumer isp probably not on its users
I could absolutely see a Comcast install tool installing their own CA
even the FCC would be forced to swat that one down
but having spent enough time in ISOC, the things governments actually do globally, nothing surprises me anymore
before run bazel-bin/SnowBlossomNode node.conf do y have to change ports in config
:slightly_smiling_face:
to 443
instead 2338
the new pull is giving errors
No config change
Exception in thread "main" java.io.IOException: Failed to bind at io.grpc.netty.NettyServer.start(NettyServer.java:252) at io.grpc.internal.ServerImpl.start(ServerImpl.java:163) at io.grpc.internal.ServerImpl.start(ServerImpl.java:78) at snowblossom.node.SnowBlossomNode.startServices(SnowBlossomNode.java:120) at snowblossom.node.SnowBlossomNode.<init>(SnowBlossomNode.java:70) at snowblossom.node.SnowBlossomNode.main(SnowBlossomNode.java:34) Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:433) at sun.nio.ch.Net.bind(Net.java:425) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:128) at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:558) at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1358) at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:501) at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:486) at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:1019) at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:254) at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:366) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:464) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) jan 14, 2019 10:55:12 PM snowblossom.lib.db.rocksdb.JRocksDB close INFO: RocksDB flush started jan 14, 2019 10:55:12 PM snowblossom.lib.db.rocksdb.JRocksDB close INFO: RocksDB flush completed
Is another node running?
ops
i gues it is
bazel-bin/SnowBlossomNode example/configs/node.conf FAILED TO INITIALIZE LOGGING: java.io.FileNotFoundException: configs/logging.properties (No such file or directory) jan 14, 2019 10:56:59 PM snowblossom.node.SnowBlossomNode <init> INFO: Starting SnowBlossomNode version 1.5.0 jan 14, 2019 10:56:59 PM snowblossom.lib.db.rocksdb.JRocksDB <init> INFO: Loadng RocksDB with path node_db/mainnet jan 14, 2019 10:57:00 PM snowblossom.node.Peerage start INFO: Starting peerage jan 14, 2019 10:57:00 PM snowblossom.lib.TimeWatcher checkTime WARNING: Local clock seems to be off by 223521 ms jan 14, 2019 10:57:01 PM snowblossom.node.Peerage reportTip INFO: Got first tip from a remote peer
think it connects
That is a good sign
do i run client
know?
It should show that it is getting blocks
Might take a few minutes
ok
i'll try
thanks man it snow's an address
what do i do whith it
:slightly_smiling_face:
I
Convince people to send you SNOW
do u want my snow
and u give-me some too
use the testnet for testing
ok
is just changing the port
Is that a question? I don't understand.
and the yes
:slightly_smiling_face:
i mean yes
can u explain me how does this works, what the idea beyond, because it snows an address, and next what can i do bring my friends but what do i say
sorry if it is kind of messy but i dont know what i'm doing
can u explain me
:slightly_smiling_face:
just because it does not have an doc
This is early days, as you see. It isn't very easy yet.
You can buy snow and then talk to your friends about it
as i did i buy snow
wright
right
What is the propose of snow
It is a cryptocurreny
i can tell my friends that i have snow but for what?
Unless you bought some, you probably don't have any snow
You are running a node
yes
this is pretty like bitcoin wallet
u have to bought bitcoi to the wallet
Yes
i was thinking that i can mine some bitcoin is it possible
»
To mine snow? Absolutely
that's wath i want, mine snow next to have the snow whithout bought. go some site to exchange fro money isn't that it
is that possible
You can mine snow and get some without buying it, yes
lol
I'm having a hard time understanding
ok
U're a nice guy
I try
i'm here in Portugal
it's 0:00
bed calls
so can i talk to u to understand the filosophy beyond, i start to figure it out but i need to be cleared
besides
nice developed Program
congratulations
I'm developer to
Tomorrow ill be here if u don't mind?
Sure, good night
Good day