Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VERSION RECEIVE IP FAIL #35

Open
Abdullah114 opened this issue Mar 31, 2014 · 3 comments
Open

VERSION RECEIVE IP FAIL #35

Abdullah114 opened this issue Mar 31, 2014 · 3 comments

Comments

@Abdullah114
Copy link

Hi after doing ./configure, make, make test, I got this error:
VERSION RECEIVE IP FAIL ERROR VERSION: 2.0 pre-alpha ERROR STACK TRACE: ...
Could you please check this issue? Thanks.
I am using Ubuntu.
PROCESSING BLOCK 99 V | cbitcoin | 31/03/2014 07:26:20 GMT | 22 | Processing block 000000009674d4bfb624b2ab6136ba44cb815f696378841fa420f2903bc8b35a V | cbitcoin | 31/03/2014 07:26:20 GMT | 22 | Block 000000009674d4bfb624b2ab6136ba44cb815f696378841fa420f2903bc8b35a finished processing. V | cbitcoin | 31/03/2014 07:26:20 GMT | 22 | Processing block 24fcc166538f80f2b479f748fb18e266b09b7fc2e3c2bd07b5363d7c00fef742 V | cbitcoin | 31/03/2014 07:26:20 GMT | 22 | Block 24fcc166538f80f2b479f748fb18e266b09b7fc2e3c2bd07b5363d7c00fef742 finished processing. V | cbitcoin | 31/03/2014 07:26:20 GMT | 22 | Processing block 9f0001cb98920a580263efc976af424f8c490136c42df930b780a008cdadc718 W | cbitcoin | 31/03/2014 07:26:20 GMT | 22 | Block 9f0001cb98920a580263efc976af424f8c490136c42df930b780a008cdadc718 is bad. V | cbitcoin | 31/03/2014 07:26:20 GMT | 22 | Processing block ccfd13c5ed7e0bd7f8445af0f3b3518aee24cb911b0436d48b21ab9a01039e96 W | cbitcoin | 31/03/2014 07:26:20 GMT | 22 | Block ccfd13c5ed7e0bd7f8445af0f3b3518aee24cb911b0436d48b21ab9a01039e96 is bad. gcc build/testCBInventory.o -L/home/username/Desktop/cbitcoin/bin -lcbitcoin.2.0 -lcbitcoin-network.2.0 -lcbitcoin-storage.2.0 -lcbitcoin-threads.2.0 -lcbitcoin-logging.2.0 -lcbitcoin-crypto.2.0 -lcbitcoin.2.0 -lcbitcoin-file-ec.2.0 -lcbitcoin-rand.2.0 -L/opt/local/lib -lpthread -levent_core -levent_pthreads -lcrypto -o bin/testCBInventory bin/testCBInventory Session = 1337544566i gcc build/testCBNetworkCommunicator.o -L/home/username/Desktop/cbitcoin/bin -lcbitcoin.2.0 -lcbitcoin-network.2.0 -lcbitcoin-storage.2.0 -lcbitcoin-threads.2.0 -lcbitcoin-logging.2.0 -lcbitcoin-crypto.2.0 -lcbitcoin.2.0 -lcbitcoin-file-ec.2.0 -lcbitcoin-rand.2.0 -L/opt/local/lib -lpthread -levent_core -levent_pthreads -lcrypto -o bin/testCBNetworkCommunicator bin/testCBNetworkCommunicator You may need to move your mouse around if this test stalls. V | cbitcoin | 31/03/2014 07:26:33 GMT | 01 | Starting network event loop. V | cbitcoin | 31/03/2014 07:27:30 GMT | 02 | Starting network event loop. V | cbitcoin | 31/03/2014 07:28:23 GMT | 03 | Starting network event loop. V | cbitcoin | 31/03/2014 07:28:23 GMT | 01 | Now listening on the IPv4 network on port 45562. V | cbitcoin | 31/03/2014 07:28:23 GMT | 02 | Now listening on the IPv4 network on port 45563. V | cbitcoin | 31/03/2014 07:28:23 GMT | 03 | Made a connection to peer [::ffff:127.0.0.1]:45562 V | cbitcoin | 31/03/2014 07:28:23 GMT | 02 | Accepted an incoming connection from [::ffff:0.0.0.0]:39331. 1 incoming connections. V | cbitcoin | 31/03/2014 07:28:23 GMT | 01 | Accepted an incoming connection from [::ffff:64.160.10.64]:17099. 1 incoming connections. V | cbitcoin | 31/03/2014 07:28:23 GMT | 03 | Made a connection to peer [::ffff:127.0.0.1]:45563 V | cbitcoin | 31/03/2014 07:28:23 GMT | 03 | Sending message of type version (0) to [::ffff:127.0.0.1]:45562. V | cbitcoin | 31/03/2014 07:28:23 GMT | 03 | Did connect to [::ffff:127.0.0.1]:45562 V | cbitcoin | 31/03/2014 07:28:23 GMT | 03 | Sending message of type version (0) to [::ffff:127.0.0.1]:45563. V | cbitcoin | 31/03/2014 07:28:23 GMT | 03 | Did connect to [::ffff:127.0.0.1]:45563 V | cbitcoin | 31/03/2014 07:28:23 GMT | 02 | Received a message header from [::ffff:0.0.0.0]:39331 with the type version and expected size of 110. V | cbitcoin | 31/03/2014 07:28:23 GMT | 01 | Received a message header from [::ffff:64.160.10.64]:17099 with the type version and expected size of 110. V | cbitcoin | 31/03/2014 07:28:23 GMT | 02 | Processing message from [::ffff:0.0.0.0]:39331 with the type version. V | cbitcoin | 31/03/2014 07:28:23 GMT | 01 | Processing message from [::ffff:64.160.10.64]:17099 with the type version. V | cbitcoin | 31/03/2014 07:28:23 GMT | 01 | Sending message of type version (0) to [::ffff:64.160.10.64]:17099. V | cbitcoin | 31/03/2014 07:28:23 GMT | 01 | Sending message of type verack (1) to [::ffff:64.160.10.64]:17099. V | cbitcoin | 31/03/2014 07:28:23 GMT | 01 | [::ffff:127.0.0.1]:45564 sent us their version: Version = 60001 Full blocks = 1 Timestamp = 1396250903 Our addr = [::ffff:0.0.0.0]:0 User agent = /cbitcoin:2.0(pre-alpha)/ Block height = 0 V | cbitcoin | 31/03/2014 07:28:23 GMT | 02 | Sending message of type version (0) to [::ffff:0.0.0.0]:39331. V | cbitcoin | 31/03/2014 07:28:23 GMT | 02 | Sending message of type verack (1) to [::ffff:0.0.0.0]:39331. V | cbitcoin | 31/03/2014 07:28:23 GMT | 02 | [::ffff:127.0.0.1]:45564 sent us their version: Version = 60001 Full blocks = 1 Timestamp = 1396250903 Our addr = [::ffff:0.0.0.0]:0 User agent = /cbitcoin:2.0(pre-alpha)/ Block height = 0 V | cbitcoin | 31/03/2014 07:28:23 GMT | 03 | Received a message header from [::ffff:127.0.0.1]:45562 with the type version and expected size of 110. V | cbitcoin | 31/03/2014 07:28:23 GMT | 03 | Processing message from [::ffff:127.0.0.1]:45562 with the type version. V | cbitcoin | 31/03/2014 07:28:23 GMT | 03 | Sending message of type verack (1) to [::ffff:127.0.0.1]:45562. V | cbitcoin | 31/03/2014 07:28:23 GMT | 03 | [::ffff:127.0.0.1]:45562 sent us their version: Version = 60001 Full blocks = 1 Timestamp = 1396250903 Our addr = [::ffff:64.160.10.64]:17099 User agent = /cbitcoin:2.0(pre-alpha)/ Block height = 0 E | cbitcoin | 31/03/2014 07:28:23 GMT | 03 | VERSION RECEIVE IP FAIL | | | | | | | | ERROR VERSION: 2.0 pre-alpha | | | | ERROR STACK TRACE: | | | | bin/testCBNetworkCommunicator(onMessageReceived+0x296) [0x80495dd] | | | | /home/zhumabekuly/Desktop/cbitcoin/bin/libcbitcoin.2.0.so(CBNetworkCommunicatorOnMessageReceived+0x67e) [0x40043817] | | | | /home/zhumabekuly/Desktop/cbitcoin/bin/libcbitcoin.2.0.so(CBNetworkCommunicatorOnCanReceive+0x2e3) [0x40042310] | | | | /home/zhumabekuly/Desktop/cbitcoin/bin/libcbitcoin-network.2.0.so(CBCanReceive+0x7b) [0x400775c4] | | | | /usr/lib/i386-linux-gnu/libevent_core-2.0.so.5(event_base_loop+0x3ba) [0x402b5e4a] | | | | /usr/lib/i386-linux-gnu/libevent_core-2.0.so.5(event_base_dispatch+0x23) [0x402b6fa3] | | | | /home/zhumabekuly/Desktop/cbitcoin/bin/libcbitcoin-network.2.0.so(CBStartEventLoop+0x44) [0x40077001] | | | | /home/zhumabekuly/Desktop/cbitcoin/bin/libcbitcoin-threads.2.0.so(CBRunThread+0x51) [0x400a7f8f] | | | | /lib/i386-linux-gnu/libpthread.so.0(+0x6d78) [0x400e0d78] | | | | /lib/i386-linux-gnu/libc.so.6(clone+0x5e) [0x401eafee] | | | | make: *** [bin/testCBNetworkCommunicator] Error 1

@MatthewLM
Copy link
Owner

Hi. Interesting when you connect via the loopback address, the node which receives the connection is seeing the public IP, which doesn't happen on OSX or when I've tried this with Linux mint. I'll look into this more.

Thanks for reporting this.

Matthew

@MatthewLM
Copy link
Owner

OK. What is happening is that some machine is trying to connect to yours on port 45562 which is conflicting with cbitcoin. Can you please look at which program is listening on that port? You can try sudo netstat -tulpn | grep 45562.

@Abdullah114
Copy link
Author

Thanks for reply, I have entered command you wrote down and sudo netstat -a | grep 45562, but I received nothing, I suppose no other machines/devices are not using this port. I ran it again and the same error:
V | cbitcoin | 01/04/2014 06:01:27 GMT | 03 | Sending message of type verack (1) to [::ffff:127.0.0.1]:45562. V | cbitcoin | 01/04/2014 06:01:27 GMT | 03 | [::ffff:127.0.0.1]:45562 sent us their version: Version = 60001 Full blocks = 1 Timestamp = 1396332087 Our addr = [::ffff:64.160.10.64]:10960 User agent = /cbitcoin:2.0(pre-alpha)/ Block height = 0 E | cbitcoin | 01/04/2014 06:01:27 GMT | 03 | VERSION RECEIVE IP FAIL | | | | | | | | ERROR VERSION: 2.0 pre-alpha | | | | ERROR STACK TRACE:
I know a little about cbitcoin, but I think the problem is in the version of the port or version of data this port is transferring. Do you think that changing this port in the source code would work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants