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

Run example: Fibre over TCP #18

Open
Second222None opened this issue Oct 27, 2022 · 3 comments
Open

Run example: Fibre over TCP #18

Second222None opened this issue Oct 27, 2022 · 3 comments

Comments

@Second222None
Copy link

Second222None commented Oct 27, 2022

Hello,

I am trying to run the example (test_node) in fibre. The compilation is successful. I have some problems. Can anyone help?

Environment: ubuntu20.04

Steps to reproduce:

  • server-side
root@ubuntu2004:~/fibre/test/build# ./test_node.elf --server --domain "tcp-server:address=localhost,port=14220"
Starting Fibre node...
Hello from event loop...
  • client-side
root@ubuntu2004:~/fibre/test/build# ./test_node.elf --client --domain "tcp-client:address=localhost,port=14220"
Starting Fibre node...
Hello from event loop...
Segmentation fault (core dumped)
@samuelsadok
Copy link
Owner

You could start test_node.elf with gdb to get a stack trace where it crashes. That said, the project is currently not yet in a state where it can be easily used for general applications but you're of course welcome to try it out anyway.

@Second222None
Copy link
Author

You could start test_node.elf with gdb to get a stack trace where it crashes. That said, the project is currently not yet in a state where it can be easily used for general applications but you're of course welcome to try it out anyway.

Thanks. Problem solved. Just use this version (https://github.com/samuelsadok/fibre/releases)

@Second222None
Copy link
Author

Server Log:

root@ubuntu2004:~/fibre-refs-heads-fix-ci/test# ./test_server.elf
Starting Fibre server...
22:36:16.979720935 [EVENT_LOOP] registered epoll event 4
22:36:16.979921937 [EVENT_LOOP] epoll_wait...
22:36:16.979972057 [EVENT_LOOP] epoll_wait unblocked by 1 events
Hello from event loop...
22:36:16.985760746 [USB] Using externally provided event loop
22:36:16.985858222 [EVENT_LOOP] registered epoll event 8
22:36:16.985910666 [EVENT_LOOP] registered epoll event 10
22:36:16.986003957 [USB] Using libusb native hotplug detection
22:36:16.986058078 [USB] device arrived: bus 1, 1
22:36:16.986163462 [USB] device arrived: bus 2, 4
22:36:16.986262200 [USB] device arrived: bus 2, 3
22:36:16.986344297 [USB] device arrived: bus 2, 2
22:36:16.986462648 [USB] device arrived: bus 2, 1
22:36:16.986547569 [FIBRE] creating domain with path "tcp-server:address=localhost,port=14220"
22:36:16.986722317 [SOCKET] starting address resolution for localhost
22:36:16.986930825 [EVENT_LOOP] epoll_wait...
22:36:16.987013327 [EVENT_LOOP] epoll_wait unblocked by 1 events
22:36:16.987109493 [EVENT_LOOP] epoll_wait...
22:36:16.988167892 [EVENT_LOOP] epoll_wait unblocked by 1 events
22:36:16.988273934 [SOCKET] address resolution complete
22:36:16.988386159 [SOCKET] resolved IP: 127.0.0.1
22:36:16.988481260 [TCP] found address
22:36:16.988591253 [EVENT_LOOP] registered epoll event 11
22:36:16.988691421 [SOCKET] resolved IP: 127.0.0.1
22:36:16.988790302 [TCP] found address
22:36:16.988858939 [SOCKET] resolved IP: 127.0.0.1
22:36:16.988925972 [TCP] found address
22:36:16.988989702 [TCP] found address
22:36:16.989059098 [EVENT_LOOP] not implemented
22:36:16.989095969 [EVENT_LOOP] epoll_wait...
22:36:29.179194550 [EVENT_LOOP] epoll_wait unblocked by 1 events
22:36:29.179591739 [SOCKET] incoming TCP connection
22:36:29.179858423 [FIBRE] found channels!
22:36:29.180212062 [EVENT_LOOP] registered epoll event 13
22:36:29.180481932 [EVENT_LOOP] epoll_wait...
22:36:29.183249009 [EVENT_LOOP] epoll_wait unblocked by 1 events
22:36:29.183627266 [SOCKET] Received 12 bytes from (invalid address)
22:36:29.183930155 [LEGACY_PROTOCOL] trailer ok for endpoint 0
22:36:29.184238960 [LEGACY_PROTOCOL] send packet:  0x81 0x80 0x5b 0x7b 0x22 0x6e 0x61 0x6d 0x65 0x22 0x3a 0x22 0x22 0x2c 0x22 0x69
 0x64 0x22 0x3a 0x30 0x2c 0x22 0x74 0x79 0x70 0x65 0x22 0x3a 0x22 0x6a 0x73 0x6f
 0x6e 0x22 0x2c 0x22 0x61 0x63 0x63 0x65 0x73 0x73 0x22 0x3a 0x22 0x72 0x22 0x7d
 0x2c 0x7b 0x22 0x6e 0x61 0x6d 0x65 0x22 0x3a 0x22 0x70 0x72 0x6f 0x70 0x5f 0x75
 0x69 0x6e 0x74 0x33 0x32 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a 0x31 0x2c 0x22 0x74
 0x79 0x70 0x65 0x22 0x3a 0x22 0x75 0x69 0x6e 0x74 0x33 0x32 0x22 0x2c 0x22 0x61
 0x63 0x63 0x65 0x73 0x73 0x22 0x3a 0x22 0x72 0x22 0x7d 0x2c 0x7b 0x22 0x6e 0x61
 0x6d 0x65 0x22 0x3a 0x22 0x70 0x72 0x6f 0x70 0x5f 0x75 0x69 0x6e 0x74 0x33 0x32

22:36:29.191432747 [SOCKET] Sent 128 bytes to (invalid address)
22:36:29.191749844 [EVENT_LOOP] epoll_wait...
22:36:29.192582757 [EVENT_LOOP] epoll_wait unblocked by 1 events
22:36:29.192950119 [SOCKET] Received 12 bytes from (invalid address)
22:36:29.193358741 [LEGACY_PROTOCOL] trailer ok for endpoint 0
22:36:29.193729415 [LEGACY_PROTOCOL] send packet:  0x82 0x80 0x5f 0x72 0x77 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a 0x32 0x2c 0x22 0x74
 0x79 0x70 0x65 0x22 0x3a 0x22 0x75 0x69 0x6e 0x74 0x33 0x32 0x22 0x2c 0x22 0x61
 0x63 0x63 0x65 0x73 0x73 0x22 0x3a 0x22 0x72 0x77 0x22 0x7d 0x2c 0x7b 0x22 0x6e
 0x61 0x6d 0x65 0x22 0x3a 0x22 0x66 0x75 0x6e 0x63 0x30 0x30 0x22 0x2c 0x22 0x69
 0x64 0x22 0x3a 0x33 0x2c 0x22 0x74 0x79 0x70 0x65 0x22 0x3a 0x22 0x66 0x75 0x6e
 0x63 0x74 0x69 0x6f 0x6e 0x22 0x2c 0x22 0x69 0x6e 0x70 0x75 0x74 0x73 0x22 0x3a
 0x5b 0x5d 0x2c 0x22 0x6f 0x75 0x74 0x70 0x75 0x74 0x73 0x22 0x3a 0x5b 0x5d 0x7d
 0x2c 0x7b 0x22 0x6e 0x61 0x6d 0x65 0x22 0x3a 0x22 0x66 0x75 0x6e 0x63 0x30 0x31

22:36:29.199861052 [SOCKET] Sent 128 bytes to (invalid address)
22:36:29.200033598 [EVENT_LOOP] epoll_wait...
22:36:29.200763394 [EVENT_LOOP] epoll_wait unblocked by 1 events
22:36:29.200898797 [SOCKET] Received 12 bytes from (invalid address)
22:36:29.201039551 [LEGACY_PROTOCOL] trailer ok for endpoint 0
22:36:29.201207408 [LEGACY_PROTOCOL] send packet:  0x83 0x80 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a 0x34 0x2c 0x22 0x74 0x79 0x70 0x65
 0x22 0x3a 0x22 0x66 0x75 0x6e 0x63 0x74 0x69 0x6f 0x6e 0x22 0x2c 0x22 0x69 0x6e
 0x70 0x75 0x74 0x73 0x22 0x3a 0x5b 0x5d 0x2c 0x22 0x6f 0x75 0x74 0x70 0x75 0x74
 0x73 0x22 0x3a 0x5b 0x7b 0x22 0x6e 0x61 0x6d 0x65 0x22 0x3a 0x22 0x6f 0x75 0x74
 0x31 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a 0x35 0x2c 0x22 0x74 0x79 0x70 0x65 0x22
 0x3a 0x22 0x75 0x69 0x6e 0x74 0x33 0x32 0x22 0x2c 0x22 0x61 0x63 0x63 0x65 0x73
 0x73 0x22 0x3a 0x22 0x72 0x22 0x7d 0x5d 0x7d 0x2c 0x7b 0x22 0x6e 0x61 0x6d 0x65
 0x22 0x3a 0x22 0x66 0x75 0x6e 0x63 0x30 0x32 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a

22:36:29.205098654 [SOCKET] Sent 128 bytes to (invalid address)
22:36:29.205308905 [EVENT_LOOP] epoll_wait...
22:36:29.206050374 [EVENT_LOOP] epoll_wait unblocked by 1 events
22:36:29.206474961 [SOCKET] Received 12 bytes from (invalid address)
22:36:29.206588287 [LEGACY_PROTOCOL] trailer ok for endpoint 0
22:36:29.206664454 [LEGACY_PROTOCOL] send packet:  0x84 0x80 0x36 0x2c 0x22 0x74 0x79 0x70 0x65 0x22 0x3a 0x22 0x66 0x75 0x6e 0x63
 0x74 0x69 0x6f 0x6e 0x22 0x2c 0x22 0x69 0x6e 0x70 0x75 0x74 0x73 0x22 0x3a 0x5b
 0x5d 0x2c 0x22 0x6f 0x75 0x74 0x70 0x75 0x74 0x73 0x22 0x3a 0x5b 0x7b 0x22 0x6e
 0x61 0x6d 0x65 0x22 0x3a 0x22 0x6f 0x75 0x74 0x31 0x22 0x2c 0x22 0x69 0x64 0x22
 0x3a 0x37 0x2c 0x22 0x74 0x79 0x70 0x65 0x22 0x3a 0x22 0x75 0x69 0x6e 0x74 0x33
 0x32 0x22 0x2c 0x22 0x61 0x63 0x63 0x65 0x73 0x73 0x22 0x3a 0x22 0x72 0x22 0x7d
 0x2c 0x7b 0x22 0x6e 0x61 0x6d 0x65 0x22 0x3a 0x22 0x6f 0x75 0x74 0x32 0x22 0x2c
 0x22 0x69 0x64 0x22 0x3a 0x38 0x2c 0x22 0x74 0x79 0x70 0x65 0x22 0x3a 0x22 0x75

22:36:29.209637883 [SOCKET] Sent 128 bytes to (invalid address)
22:36:29.209807903 [EVENT_LOOP] epoll_wait...
22:36:29.210456180 [EVENT_LOOP] epoll_wait unblocked by 1 events
22:36:29.210615525 [SOCKET] Received 12 bytes from (invalid address)
22:36:29.211090625 [LEGACY_PROTOCOL] trailer ok for endpoint 0
22:36:29.211189878 [LEGACY_PROTOCOL] send packet:  0x85 0x80 0x69 0x6e 0x74 0x33 0x32 0x22 0x2c 0x22 0x61 0x63 0x63 0x65 0x73 0x73
 0x22 0x3a 0x22 0x72 0x22 0x7d 0x5d 0x7d 0x2c 0x7b 0x22 0x6e 0x61 0x6d 0x65 0x22
 0x3a 0x22 0x66 0x75 0x6e 0x63 0x31 0x30 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a 0x39
 0x2c 0x22 0x74 0x79 0x70 0x65 0x22 0x3a 0x22 0x66 0x75 0x6e 0x63 0x74 0x69 0x6f
 0x6e 0x22 0x2c 0x22 0x69 0x6e 0x70 0x75 0x74 0x73 0x22 0x3a 0x5b 0x7b 0x22 0x6e
 0x61 0x6d 0x65 0x22 0x3a 0x22 0x69 0x6e 0x31 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a
 0x31 0x30 0x2c 0x22 0x74 0x79 0x70 0x65 0x22 0x3a 0x22 0x75 0x69 0x6e 0x74 0x33
 0x32 0x22 0x2c 0x22 0x61 0x63 0x63 0x65 0x73 0x73 0x22 0x3a 0x22 0x72 0x77 0x22

22:36:29.214533600 [SOCKET] Sent 128 bytes to (invalid address)
22:36:29.214701207 [EVENT_LOOP] epoll_wait...
22:36:29.215378983 [EVENT_LOOP] epoll_wait unblocked by 1 events
22:36:29.215948676 [SOCKET] Received 12 bytes from (invalid address)
22:36:29.216054643 [LEGACY_PROTOCOL] trailer ok for endpoint 0
22:36:29.216212545 [LEGACY_PROTOCOL] send packet:  0x86 0x80 0x7d 0x5d 0x2c 0x22 0x6f 0x75 0x74 0x70 0x75 0x74 0x73 0x22 0x3a 0x5b
 0x5d 0x7d 0x2c 0x7b 0x22 0x6e 0x61 0x6d 0x65 0x22 0x3a 0x22 0x66 0x75 0x6e 0x63
 0x31 0x31 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a 0x31 0x31 0x2c 0x22 0x74 0x79 0x70
 0x65 0x22 0x3a 0x22 0x66 0x75 0x6e 0x63 0x74 0x69 0x6f 0x6e 0x22 0x2c 0x22 0x69
 0x6e 0x70 0x75 0x74 0x73 0x22 0x3a 0x5b 0x7b 0x22 0x6e 0x61 0x6d 0x65 0x22 0x3a
 0x22 0x69 0x6e 0x31 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a 0x31 0x32 0x2c 0x22 0x74
 0x79 0x70 0x65 0x22 0x3a 0x22 0x75 0x69 0x6e 0x74 0x33 0x32 0x22 0x2c 0x22 0x61
 0x63 0x63 0x65 0x73 0x73 0x22 0x3a 0x22 0x72 0x77 0x22 0x7d 0x5d 0x2c 0x22 0x6f

22:36:29.219743490 [SOCKET] Sent 128 bytes to (invalid address)
22:36:29.219916668 [EVENT_LOOP] epoll_wait...
22:36:29.220787822 [EVENT_LOOP] epoll_wait unblocked by 1 events
22:36:29.220944811 [SOCKET] Received 12 bytes from (invalid address)
22:36:29.221090087 [LEGACY_PROTOCOL] trailer ok for endpoint 0
22:36:29.221248706 [LEGACY_PROTOCOL] send packet:  0x87 0x80 0x75 0x74 0x70 0x75 0x74 0x73 0x22 0x3a 0x5b 0x7b 0x22 0x6e 0x61 0x6d
 0x65 0x22 0x3a 0x22 0x6f 0x75 0x74 0x31 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a 0x31
 0x33 0x2c 0x22 0x74 0x79 0x70 0x65 0x22 0x3a 0x22 0x75 0x69 0x6e 0x74 0x33 0x32
 0x22 0x2c 0x22 0x61 0x63 0x63 0x65 0x73 0x73 0x22 0x3a 0x22 0x72 0x22 0x7d 0x5d
 0x7d 0x2c 0x7b 0x22 0x6e 0x61 0x6d 0x65 0x22 0x3a 0x22 0x66 0x75 0x6e 0x63 0x31
 0x32 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a 0x31 0x34 0x2c 0x22 0x74 0x79 0x70 0x65
 0x22 0x3a 0x22 0x66 0x75 0x6e 0x63 0x74 0x69 0x6f 0x6e 0x22 0x2c 0x22 0x69 0x6e
 0x70 0x75 0x74 0x73 0x22 0x3a 0x5b 0x7b 0x22 0x6e 0x61 0x6d 0x65 0x22 0x3a 0x22

22:36:29.224581810 [SOCKET] Sent 128 bytes to (invalid address)
22:36:29.224749048 [EVENT_LOOP] epoll_wait...
22:36:29.226374178 [EVENT_LOOP] epoll_wait unblocked by 1 events
22:36:29.226631626 [SOCKET] Received 12 bytes from (invalid address)
22:36:29.226796290 [LEGACY_PROTOCOL] trailer ok for endpoint 0
22:36:29.226937348 [LEGACY_PROTOCOL] send packet:  0x88 0x80 0x69 0x6e 0x31 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a 0x31 0x35 0x2c 0x22
 0x74 0x79 0x70 0x65 0x22 0x3a 0x22 0x75 0x69 0x6e 0x74 0x33 0x32 0x22 0x2c 0x22
 0x61 0x63 0x63 0x65 0x73 0x73 0x22 0x3a 0x22 0x72 0x77 0x22 0x7d 0x5d 0x2c 0x22
 0x6f 0x75 0x74 0x70 0x75 0x74 0x73 0x22 0x3a 0x5b 0x7b 0x22 0x6e 0x61 0x6d 0x65
 0x22 0x3a 0x22 0x6f 0x75 0x74 0x31 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a 0x31 0x36
 0x2c 0x22 0x74 0x79 0x70 0x65 0x22 0x3a 0x22 0x75 0x69 0x6e 0x74 0x33 0x32 0x22
 0x2c 0x22 0x61 0x63 0x63 0x65 0x73 0x73 0x22 0x3a 0x22 0x72 0x22 0x7d 0x2c 0x7b
 0x22 0x6e 0x61 0x6d 0x65 0x22 0x3a 0x22 0x6f 0x75 0x74 0x32 0x22 0x2c 0x22 0x69

22:36:29.229564235 [SOCKET] Sent 128 bytes to (invalid address)
22:36:29.229634534 [EVENT_LOOP] epoll_wait...
22:36:29.230259857 [EVENT_LOOP] epoll_wait unblocked by 1 events
22:36:29.230334212 [SOCKET] Received 12 bytes from (invalid address)
22:36:29.230386279 [LEGACY_PROTOCOL] trailer ok for endpoint 0
22:36:29.230429719 [LEGACY_PROTOCOL] send packet:  0x89 0x80 0x64 0x22 0x3a 0x31 0x37 0x2c 0x22 0x74 0x79 0x70 0x65 0x22 0x3a 0x22
 0x75 0x69 0x6e 0x74 0x33 0x32 0x22 0x2c 0x22 0x61 0x63 0x63 0x65 0x73 0x73 0x22
 0x3a 0x22 0x72 0x22 0x7d 0x5d 0x7d 0x2c 0x7b 0x22 0x6e 0x61 0x6d 0x65 0x22 0x3a
 0x22 0x66 0x75 0x6e 0x63 0x32 0x30 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a 0x31 0x38
 0x2c 0x22 0x74 0x79 0x70 0x65 0x22 0x3a 0x22 0x66 0x75 0x6e 0x63 0x74 0x69 0x6f
 0x6e 0x22 0x2c 0x22 0x69 0x6e 0x70 0x75 0x74 0x73 0x22 0x3a 0x5b 0x7b 0x22 0x6e
 0x61 0x6d 0x65 0x22 0x3a 0x22 0x69 0x6e 0x31 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a
 0x31 0x39 0x2c 0x22 0x74 0x79 0x70 0x65 0x22 0x3a 0x22 0x75 0x69 0x6e 0x74 0x33

22:36:29.231928332 [SOCKET] Sent 128 bytes to (invalid address)
22:36:29.232037270 [EVENT_LOOP] epoll_wait...
22:36:29.232308944 [EVENT_LOOP] epoll_wait unblocked by 1 events
22:36:29.232477257 [SOCKET] Received 12 bytes from (invalid address)
22:36:29.232569134 [LEGACY_PROTOCOL] trailer ok for endpoint 0
22:36:29.232617379 [LEGACY_PROTOCOL] send packet:  0x8a 0x80 0x32 0x22 0x2c 0x22 0x61 0x63 0x63 0x65 0x73 0x73 0x22 0x3a 0x22 0x72
 0x77 0x22 0x7d 0x2c 0x7b 0x22 0x6e 0x61 0x6d 0x65 0x22 0x3a 0x22 0x69 0x6e 0x32
 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a 0x32 0x30 0x2c 0x22 0x74 0x79 0x70 0x65 0x22
 0x3a 0x22 0x75 0x69 0x6e 0x74 0x33 0x32 0x22 0x2c 0x22 0x61 0x63 0x63 0x65 0x73
 0x73 0x22 0x3a 0x22 0x72 0x77 0x22 0x7d 0x5d 0x2c 0x22 0x6f 0x75 0x74 0x70 0x75
 0x74 0x73 0x22 0x3a 0x5b 0x5d 0x7d 0x2c 0x7b 0x22 0x6e 0x61 0x6d 0x65 0x22 0x3a
 0x22 0x66 0x75 0x6e 0x63 0x32 0x31 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a 0x32 0x31
 0x2c 0x22 0x74 0x79 0x70 0x65 0x22 0x3a 0x22 0x66 0x75 0x6e 0x63 0x74 0x69 0x6f

22:36:29.234663354 [SOCKET] Sent 128 bytes to (invalid address)
22:36:29.234774875 [EVENT_LOOP] epoll_wait...
22:36:29.235463542 [EVENT_LOOP] epoll_wait unblocked by 1 events
22:36:29.235576679 [SOCKET] Received 12 bytes from (invalid address)
22:36:29.235774371 [LEGACY_PROTOCOL] trailer ok for endpoint 0
22:36:29.235888436 [LEGACY_PROTOCOL] send packet:  0x8b 0x80 0x6e 0x22 0x2c 0x22 0x69 0x6e 0x70 0x75 0x74 0x73 0x22 0x3a 0x5b 0x7b
 0x22 0x6e 0x61 0x6d 0x65 0x22 0x3a 0x22 0x69 0x6e 0x31 0x22 0x2c 0x22 0x69 0x64
 0x22 0x3a 0x32 0x32 0x2c 0x22 0x74 0x79 0x70 0x65 0x22 0x3a 0x22 0x75 0x69 0x6e
 0x74 0x33 0x32 0x22 0x2c 0x22 0x61 0x63 0x63 0x65 0x73 0x73 0x22 0x3a 0x22 0x72
 0x77 0x22 0x7d 0x2c 0x7b 0x22 0x6e 0x61 0x6d 0x65 0x22 0x3a 0x22 0x69 0x6e 0x32
 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a 0x32 0x33 0x2c 0x22 0x74 0x79 0x70 0x65 0x22
 0x3a 0x22 0x75 0x69 0x6e 0x74 0x33 0x32 0x22 0x2c 0x22 0x61 0x63 0x63 0x65 0x73
 0x73 0x22 0x3a 0x22 0x72 0x77 0x22 0x7d 0x5d 0x2c 0x22 0x6f 0x75 0x74 0x70 0x75

22:36:29.239028608 [SOCKET] Sent 128 bytes to (invalid address)
22:36:29.239266139 [SOCKET] Received 12 bytes from (invalid address)
22:36:29.239396062 [LEGACY_PROTOCOL] trailer ok for endpoint 0
22:36:29.239512563 [LEGACY_PROTOCOL] send packet:  0x8c 0x80 0x74 0x73 0x22 0x3a 0x5b 0x7b 0x22 0x6e 0x61 0x6d 0x65 0x22 0x3a 0x22
 0x6f 0x75 0x74 0x31 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a 0x32 0x34 0x2c 0x22 0x74
 0x79 0x70 0x65 0x22 0x3a 0x22 0x75 0x69 0x6e 0x74 0x33 0x32 0x22 0x2c 0x22 0x61
 0x63 0x63 0x65 0x73 0x73 0x22 0x3a 0x22 0x72 0x22 0x7d 0x5d 0x7d 0x2c 0x7b 0x22
 0x6e 0x61 0x6d 0x65 0x22 0x3a 0x22 0x66 0x75 0x6e 0x63 0x32 0x32 0x22 0x2c 0x22
 0x69 0x64 0x22 0x3a 0x32 0x35 0x2c 0x22 0x74 0x79 0x70 0x65 0x22 0x3a 0x22 0x66
 0x75 0x6e 0x63 0x74 0x69 0x6f 0x6e 0x22 0x2c 0x22 0x69 0x6e 0x70 0x75 0x74 0x73
 0x22 0x3a 0x5b 0x7b 0x22 0x6e 0x61 0x6d 0x65 0x22 0x3a 0x22 0x69 0x6e 0x31 0x22

22:36:29.242810090 [SOCKET] Sent 128 bytes to (invalid address)
22:36:29.242959887 [SOCKET] Received 12 bytes from (invalid address)
22:36:29.243104883 [LEGACY_PROTOCOL] trailer ok for endpoint 0
22:36:29.243160947 [LEGACY_PROTOCOL] send packet:  0x8d 0x80 0x2c 0x22 0x69 0x64 0x22 0x3a 0x32 0x36 0x2c 0x22 0x74 0x79 0x70 0x65
 0x22 0x3a 0x22 0x75 0x69 0x6e 0x74 0x33 0x32 0x22 0x2c 0x22 0x61 0x63 0x63 0x65
 0x73 0x73 0x22 0x3a 0x22 0x72 0x77 0x22 0x7d 0x2c 0x7b 0x22 0x6e 0x61 0x6d 0x65
 0x22 0x3a 0x22 0x69 0x6e 0x32 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a 0x32 0x37 0x2c
 0x22 0x74 0x79 0x70 0x65 0x22 0x3a 0x22 0x75 0x69 0x6e 0x74 0x33 0x32 0x22 0x2c
 0x22 0x61 0x63 0x63 0x65 0x73 0x73 0x22 0x3a 0x22 0x72 0x77 0x22 0x7d 0x5d 0x2c
 0x22 0x6f 0x75 0x74 0x70 0x75 0x74 0x73 0x22 0x3a 0x5b 0x7b 0x22 0x6e 0x61 0x6d
 0x65 0x22 0x3a 0x22 0x6f 0x75 0x74 0x31 0x22 0x2c 0x22 0x69 0x64 0x22 0x3a 0x32

22:36:29.245799181 [SOCKET] Sent 128 bytes to (invalid address)
22:36:29.245954639 [SOCKET] Received 12 bytes from (invalid address)
22:36:29.246013404 [LEGACY_PROTOCOL] trailer ok for endpoint 0
22:36:29.246056503 [LEGACY_PROTOCOL] send packet:  0x8e 0x80 0x38 0x2c 0x22 0x74 0x79 0x70 0x65 0x22 0x3a 0x22 0x75 0x69 0x6e 0x74
 0x33 0x32 0x22 0x2c 0x22 0x61 0x63 0x63 0x65 0x73 0x73 0x22 0x3a 0x22 0x72 0x22
 0x7d 0x2c 0x7b 0x22 0x6e 0x61 0x6d 0x65 0x22 0x3a 0x22 0x6f 0x75 0x74 0x32 0x22
 0x2c 0x22 0x69 0x64 0x22 0x3a 0x32 0x39 0x2c 0x22 0x74 0x79 0x70 0x65 0x22 0x3a
 0x22 0x75 0x69 0x6e 0x74 0x33 0x32 0x22 0x2c 0x22 0x61 0x63 0x63 0x65 0x73 0x73
 0x22 0x3a 0x22 0x72 0x22 0x7d 0x5d 0x7d 0x5d
22:36:29.248434524 [SOCKET] Sent 89 bytes to (invalid address)
22:36:29.248613151 [SOCKET] Received 12 bytes from (invalid address)
22:36:29.248846273 [LEGACY_PROTOCOL] trailer ok for endpoint 0
22:36:29.248985617 [LEGACY_PROTOCOL] send packet:  0x8f 0x80
22:36:29.251431524 [SOCKET] Sent 2 bytes to (invalid address)
22:36:29.251544943 [SOCKET] Received 8 bytes from (invalid address)
22:36:29.251702292 [LEGACY_PROTOCOL] trailer ok for endpoint 3
func00 called
22:36:29.251799180 [LEGACY_PROTOCOL] send packet:  0x90 0x80
22:36:29.253301166 [SOCKET] Sent 2 bytes to (invalid address)
22:36:29.253408680 [EVENT_LOOP] epoll_wait...
22:36:29.268312138 [EVENT_LOOP] epoll_wait unblocked by 1 events
22:36:29.268404970 [SOCKET] socket closed (RX half)
22:36:29.268443027 [LEGACY_PROTOCOL] RX stream closed.
22:36:29.268497793 [EVENT_LOOP] epoll_wait...

Client Log:

root@ubuntu2004:~/fibre-refs-heads-fix-ci/test# ./test_client.py
22:36:29.85023711 [USB] Using externally provided event loop
22:36:29.85496699 [USB] Using libusb native hotplug detection
22:36:29.85842908 [USB] device arrived: bus 1, 1
22:36:29.86139194 [USB] device arrived: bus 2, 4
22:36:29.86438006 [USB] device arrived: bus 2, 3
22:36:29.86767163 [USB] device arrived: bus 2, 2
22:36:29.87053766 [USB] device arrived: bus 2, 1
22:36:29.174875572 [LIBFIBRE] opening domain
22:36:29.175241660 [FIBRE] creating domain with path "tcp-client:address=localhost,port=14220"
22:36:29.175523103 [SOCKET] starting address resolution for localhost
22:36:29.178018267 [SOCKET] address resolution complete
22:36:29.178373065 [SOCKET] resolved IP: 127.0.0.1
22:36:29.178622600 [TCP] found address
22:36:29.180879628 [SOCKET] resolved IP: 127.0.0.1
22:36:29.181161131 [TCP] found address
22:36:29.181431721 [SOCKET] resolved IP: 127.0.0.1
22:36:29.181678807 [TCP] found address
22:36:29.181890591 [TCP] found address
22:36:29.182511250 [FIBRE] found channels!
22:36:29.182857309 [LEGACY_OBJ] start
22:36:29.185333973 [SOCKET] Sent 12 bytes to (invalid address)
22:36:29.192097120 [SOCKET] Received 128 bytes from (invalid address)
22:36:29.193457214 [SOCKET] Sent 12 bytes to (invalid address)
22:36:29.200065343 [SOCKET] Received 128 bytes from (invalid address)
22:36:29.200502747 [SOCKET] Sent 12 bytes to (invalid address)
22:36:29.205325021 [SOCKET] Received 128 bytes from (invalid address)
22:36:29.205825477 [SOCKET] Sent 12 bytes to (invalid address)
22:36:29.209837156 [SOCKET] Received 128 bytes from (invalid address)
22:36:29.210443323 [SOCKET] Sent 12 bytes to (invalid address)
22:36:29.214730055 [SOCKET] Received 128 bytes from (invalid address)
22:36:29.215343141 [SOCKET] Sent 12 bytes to (invalid address)
22:36:29.219941295 [SOCKET] Received 128 bytes from (invalid address)
22:36:29.220449808 [SOCKET] Sent 12 bytes to (invalid address)
22:36:29.224766842 [SOCKET] Received 128 bytes from (invalid address)
22:36:29.225287450 [SOCKET] Sent 12 bytes to (invalid address)
22:36:29.229985692 [SOCKET] Received 128 bytes from (invalid address)
22:36:29.230120700 [SOCKET] Sent 12 bytes to (invalid address)
22:36:29.232080280 [SOCKET] Received 128 bytes from (invalid address)
22:36:29.232251959 [SOCKET] Sent 12 bytes to (invalid address)
22:36:29.235024518 [SOCKET] Received 128 bytes from (invalid address)
22:36:29.235256212 [SOCKET] Sent 12 bytes to (invalid address)
22:36:29.238713333 [SOCKET] Received 128 bytes from (invalid address)
22:36:29.238849192 [SOCKET] Sent 12 bytes to (invalid address)
22:36:29.242423356 [SOCKET] Received 128 bytes from (invalid address)
22:36:29.242558887 [SOCKET] Sent 12 bytes to (invalid address)
22:36:29.245357353 [SOCKET] Received 128 bytes from (invalid address)
22:36:29.245503266 [SOCKET] Sent 12 bytes to (invalid address)
22:36:29.247959275 [SOCKET] Received 89 bytes from (invalid address)
22:36:29.248284085 [SOCKET] Sent 12 bytes to (invalid address)
22:36:29.249289667 [SOCKET] Received 2 bytes from (invalid address)
22:36:29.249524549 [LEGACY_OBJ] received JSON of length 1725
22:36:29.249844873 [LEGACY_OBJ] sucessfully parsed JSON
22:36:29.250145079 [LIBFIBRE] discovered object 0x00007fe6cc0036a0
22:36:29.251196650 [SOCKET] Sent 8 bytes to (invalid address)
22:36:29.252068244 [SOCKET] Received 2 bytes from (invalid address)
22:36:29.252977143 [LIBFIBRE] closing domain
22:36:29.253604403 [LIBFIBRE] closed (0x0000000001577260)

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