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

Crash on startup #195

Open
0x4d6165 opened this issue Mar 20, 2020 · 2 comments
Open

Crash on startup #195

0x4d6165 opened this issue Mar 20, 2020 · 2 comments

Comments

@0x4d6165
Copy link

Howdy! I'm using a fairly normal config but getting this weird error at runtime:

1584673157 INFO cjdroute2.c:707 Cjdns amd64 darwin
1584673157 INFO cjdroute2.c:711 Checking for running instance...
1584673157 DEBUG UDPAddrIface.c:318 Bound to address [0.0.0.0:63008]
1584673157 DEBUG AdminClient.c:333 Connecting to [127.0.0.1:11234]
1584673157 DEBUG Pipe.c:136 Buffering a message
1584673157 DEBUG cjdroute2.c:766 Sent [160] bytes to core
1584673157 INFO RandomSeed.c:42 Attempting to seed random number generator
1584673157 INFO RandomSeed.c:50 Trying random seed [/dev/urandom] Success
1584673157 INFO RandomSeed.c:64 Seeding random number generator succeeded with [1] sources
1584673157 INFO LibuvEntropyProvider.c:59 Taking clock samples every [1000]ms for random generator
1584673157 DEBUG Core.c:408 Getting pre-configuration from client
1584673157 DEBUG Pipe.c:233 Pipe [/tmp/cjdns_pipe_client-core-10cgb4blkmvw21v2xu6vbx75m63vqf] established connection
1584673157 DEBUG Pipe.c:233 Pipe [/tmp/cjdns_pipe_client-core-10cgb4blkmvw21v2xu6vbx75m63vqf] established connection
1584673157 DEBUG Pipe.c:255 Sending buffered message
1584673157 DEBUG Core.c:411 Finished getting pre-configuration from client
1584673157 DEBUG UDPAddrIface.c:279 Binding to address [127.0.0.1:11234]
1584673157 DEBUG UDPAddrIface.c:318 Bound to address [127.0.0.1:11234]
1584673157 DEBUG UDPAddrIface.c:318 Bound to address [0.0.0.0:55053]
1584673157 DEBUG AdminClient.c:333 Connecting to [127.0.0.1:11234]
1584673157 DEBUG SubnodePathfinder.c:119 INIT
1584673157 DEBUG UDPAddrIface.c:279 Binding to address [0.0.0.0:36764]
1584673157 DEBUG UDPAddrIface.c:318 Bound to address [0.0.0.0:36764]
1584673157 DEBUG UDPAddrIface.c:279 Binding to address [0.0.0.0:64512]
1584673157 DEBUG UDPAddrIface.c:318 Bound to address [0.0.0.0:64512]
1584673157 INFO Configurator.c:197 Setting beacon mode UDPInterface to [2].
1584673157 DEBUG InterfaceController.c:938 InterfaceController_beaconState(UDP/IPv4/0.0.0.0:36764, SEND)
1584673157 DEBUG InterfaceController.c:883 sendBeacon(UDP/IPv4/0.0.0.0:36764)
1584673157 DEBUG InterfaceController.c:890 SEND BEACON CONTENT[000000149d6147e8ae932a206108d930252322bffbea42d81155c3d78ea3bd4257e8fb3a536859a182cd48ef88e614b79f52ef5c03c79f02]
1584673157 DEBUG Pathfinder.c:168 INIT
1584673157 DEBUG NodeStore.c:565 Linking [fc50:ea86:2dab:bd1d:bd68:084b:8f05:6a0d] with [fc50:ea86:2dab:bd1d:bd68:084b:8f05:6a0d] with label fragment [0000.0000.0000.0001]
1584673158 DEBUG Janitor.c:637 Could not find anything to do
1584673158 DEBUG Janitor.c:665 Global Mean Response Time: 5000 nodes [1] links [1]
1584673159 DEBUG ReachabilityCollector.c:277 All [0] peers have been queried
1584673159 DEBUG Janitor.c:637 Could not find anything to do
1584673159 DEBUG Janitor.c:665 Global Mean Response Time: 5000 nodes [1] links [1]
1584673160 DEBUG Janitor.c:637 Could not find anything to do
1584673160 DEBUG Janitor.c:665 Global Mean Response Time: 5000 nodes [1] links [1]
1584673161 DEBUG ReachabilityCollector.c:277 All [0] peers have been queried
1584673161 DEBUG Janitor.c:637 Could not find anything to do
1584673161 DEBUG Janitor.c:665 Global Mean Response Time: 5000 nodes [1] links [1]
1584673162 CRITICAL Configurator.c:97 Failed to make function call [Timed out waiting for a response], error: [UDPInterface_beginConnection]
1584673162 CRITICAL Configurator.c:57 enable Log_LEVEL=KEYS to see message content.
1584673162 INFO Core.c:136 Got request to exit
1584673162 CRITICAL Configurator.c:71 Aborting.
@kpcyrd
Copy link
Member

kpcyrd commented Mar 20, 2020

There's a configuration packet limit that you might be exceeding, try reducing the number of optional fields you have in your peer configuration.

@0x4d6165
Copy link
Author

Hmm I removed some lines which seemed to fix that problem but gave me a new error:

1584819619 DEBUG ETHInterface_darwin.c:295 ioctl(BIOCGBLEN) -> bufLen=4096
1584819619 INFO Configurator.c:458 Setting beacon mode on ETHInterface to [2].
1584819619 DEBUG InterfaceController.c:938 InterfaceController_beaconState(ETH/en6, SEND)
1584819619 DEBUG InterfaceController.c:883 sendBeacon(ETH/en6)
1584819619 DEBUG InterfaceController.c:890 SEND BEACON CONTENT[00000014b3879d2600d2e3ef0a7e622bc8cd33f7fb2a2a671155c3d78ea3bd4257e8fb3a536859a182cd48ef88e614b79f52ef5c03c79f02]
1584819619 DEBUG ETHInterface_darwin.c:110 Error writing to eth device [Device not configured]
1584819619 DEBUG ETHInterface_darwin.c:112 message sent
1584819619 INFO Configurator.c:497 Creating new ETHInterface [en1]
1584819619 DEBUG ETHInterface_darwin.c:295 ioctl(BIOCGBLEN) -> bufLen=4096
1584819619 INFO Configurator.c:458 Setting beacon mode on ETHInterface to [2].
1584819619 DEBUG InterfaceController.c:938 InterfaceController_beaconState(ETH/en1, SEND)
1584819619 DEBUG InterfaceController.c:883 sendBeacon(ETH/en1)
1584819619 DEBUG InterfaceController.c:890 SEND BEACON CONTENT[00000014b3879d2600d2e3ef0a7e622bc8cd33f7fb2a2a671155c3d78ea3bd4257e8fb3a536859a182cd48ef88e614b79f52ef5c03c79f02]
1584819619 DEBUG ETHInterface_darwin.c:110 Error writing to eth device [Device not configured]
1584819619 DEBUG ETHInterface_darwin.c:112 message sent
1584819619 INFO Configurator.c:497 Creating new ETHInterface [en2]
1584819619 DEBUG ETHInterface_darwin.c:295 ioctl(BIOCGBLEN) -> bufLen=4096
1584819619 INFO Configurator.c:458 Setting beacon mode on ETHInterface to [2].
1584819619 DEBUG InterfaceController.c:938 InterfaceController_beaconState(ETH/en2, SEND)
1584819619 DEBUG InterfaceController.c:883 sendBeacon(ETH/en2)
1584819619 DEBUG InterfaceController.c:890 SEND BEACON CONTENT[00000014b3879d2600d2e3ef0a7e622bc8cd33f7fb2a2a671155c3d78ea3bd4257e8fb3a536859a182cd48ef88e614b79f52ef5c03c79f02]
1584819619 DEBUG ETHInterface_darwin.c:110 Error writing to eth device [Device not configured]
1584819619 DEBUG ETHInterface_darwin.c:112 message sent
1584819619 INFO Configurator.c:497 Creating new ETHInterface [en3]
1584819619 DEBUG ETHInterface_darwin.c:295 ioctl(BIOCGBLEN) -> bufLen=4096
1584819619 INFO Configurator.c:458 Setting beacon mode on ETHInterface to [2].
1584819619 DEBUG InterfaceController.c:938 InterfaceController_beaconState(ETH/en3, SEND)
1584819619 DEBUG InterfaceController.c:883 sendBeacon(ETH/en3)
1584819619 DEBUG InterfaceController.c:890 SEND BEACON CONTENT[00000014b3879d2600d2e3ef0a7e622bc8cd33f7fb2a2a671155c3d78ea3bd4257e8fb3a536859a182cd48ef88e614b79f52ef5c03c79f02]
1584819619 DEBUG ETHInterface_darwin.c:110 Error writing to eth device [Device not configured]
1584819619 DEBUG ETHInterface_darwin.c:112 message sent
1584819619 INFO Configurator.c:497 Creating new ETHInterface [en4]
1584819619 DEBUG ETHInterface_darwin.c:295 ioctl(BIOCGBLEN) -> bufLen=4096
1584819619 INFO Configurator.c:458 Setting beacon mode on ETHInterface to [2].
1584819619 DEBUG InterfaceController.c:938 InterfaceController_beaconState(ETH/en4, SEND)
1584819619 DEBUG InterfaceController.c:883 sendBeacon(ETH/en4)
1584819619 DEBUG InterfaceController.c:890 SEND BEACON CONTENT[00000014b3879d2600d2e3ef0a7e622bc8cd33f7fb2a2a671155c3d78ea3bd4257e8fb3a536859a182cd48ef88e614b79f52ef5c03c79f02]
1584819619 DEBUG ETHInterface_darwin.c:110 Error writing to eth device [Device not configured]
1584819619 DEBUG ETHInterface_darwin.c:112 message sent
1584819619 INFO Configurator.c:497 Creating new ETHInterface [bridge0]
1584819619 DEBUG ETHInterface_darwin.c:295 ioctl(BIOCGBLEN) -> bufLen=4096
1584819619 INFO Configurator.c:458 Setting beacon mode on ETHInterface to [2].
1584819619 DEBUG InterfaceController.c:938 InterfaceController_beaconState(ETH/bridge0, SEND)
1584819619 DEBUG InterfaceController.c:883 sendBeacon(ETH/bridge0)
1584819619 DEBUG InterfaceController.c:890 SEND BEACON CONTENT[00000014b3879d2600d2e3ef0a7e622bc8cd33f7fb2a2a671155c3d78ea3bd4257e8fb3a536859a182cd48ef88e614b79f52ef5c03c79f02]
1584819619 DEBUG ETHInterface_darwin.c:112 message sent
1584819619 DEBUG InterfaceController.c:628 RECV BEACON CONTENT[00000014b3879d2600d2e3ef0a7e622bc8cd33f7fb2a2a671155c3d78ea3bd4257e8fb3a536859a182cd48ef88e614b79f52ef5c03c79f02]
1584819619 INFO Configurator.c:497 Creating new ETHInterface [en0]
1584819619 DEBUG ETHInterface_darwin.c:295 ioctl(BIOCGBLEN) -> bufLen=4096
1584819619 INFO Configurator.c:458 Setting beacon mode on ETHInterface to [2].
1584819619 DEBUG InterfaceController.c:938 InterfaceController_beaconState(ETH/en0, SEND)
1584819619 DEBUG InterfaceController.c:883 sendBeacon(ETH/en0)
1584819619 DEBUG InterfaceController.c:890 SEND BEACON CONTENT[00000014b3879d2600d2e3ef0a7e622bc8cd33f7fb2a2a671155c3d78ea3bd4257e8fb3a536859a182cd48ef88e614b79f52ef5c03c79f02]
1584819619 DEBUG ETHInterface_darwin.c:112 message sent
1584819619 DEBUG InterfaceController.c:628 RECV BEACON CONTENT[00000014b3879d2600d2e3ef0a7e622bc8cd33f7fb2a2a671155c3d78ea3bd4257e8fb3a536859a182cd48ef88e614b79f52ef5c03c79f02]
1584819619 INFO Configurator.c:497 Creating new ETHInterface [p2p0]
1584819619 DEBUG ETHInterface_darwin.c:295 ioctl(BIOCGBLEN) -> bufLen=4096
1584819619 INFO Configurator.c:458 Setting beacon mode on ETHInterface to [2].
1584819619 DEBUG InterfaceController.c:938 InterfaceController_beaconState(ETH/p2p0, SEND)
1584819619 DEBUG InterfaceController.c:883 sendBeacon(ETH/p2p0)
1584819619 DEBUG InterfaceController.c:890 SEND BEACON CONTENT[00000014b3879d2600d2e3ef0a7e622bc8cd33f7fb2a2a671155c3d78ea3bd4257e8fb3a536859a182cd48ef88e614b79f52ef5c03c79f02]
1584819619 DEBUG ETHInterface_darwin.c:110 Error writing to eth device [Device not configured]
1584819619 DEBUG ETHInterface_darwin.c:112 message sent
1584819619 INFO Configurator.c:497 Creating new ETHInterface [awdl0]
1584819624 CRITICAL Configurator.c:97 Failed to make function call [Timed out waiting for a response], error: [ETHInterface_new]
1584819624 CRITICAL Configurator.c:57 enable Log_LEVEL=KEYS to see message content.

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