Stackerstan / interfarce

An interface to the Mindmachine
Mozilla Public License 2.0
2 stars 4 forks source link

problem: Cannot connect to local-run mindmachine when useing WSL and windows #3

Closed shaibearary closed 1 year ago

shaibearary commented 1 year ago

My problem is that my mindmachine cannot connect with interface successfully

My mindmachine is running on windows wsl xxxx@LAPTOP-D6KDF79V:~$ sudo lsof -i -P -n | grep LISTEN cliListen 594 qspang 9u IPv4 22706 0t0 TCP 127.0.0.1:1031 (LISTEN)

When I open index.html, the top-right is not spinning, but it only keeps showing welcome page as below. image

It would be great if anyone can help. Thanks!

stanstacks commented 1 year ago

What's the output of the Mindmachine in the terminal? Can you copy/paste here (use a code fence to make it preserve lines)?

shaibearary commented 1 year ago

What's the output of the Mindmachine in the terminal? Can you copy/paste here (use a code fence to make it preserve lines)? Sure When I first run, it posts like below, i guss it runs successfully

2022-12-18 13:36:21 INFO => Initialising the eventpacker at 763535
2022-12-18 13:36:21 INFO => OP_RETURN: 67f722f49cb42d9fbf273c8206659880088d6552cbae4626b465d31ec7bbbf5c
2022-12-18 13:36:21 INFO => Initialising the eventpacker at 763536
2022-12-18 13:36:21 INFO => OP_RETURN: 982a6a9557d54642812b0a8c7c1c9c23516adfdcd52b558c0909db4c996f808b
2022-12-18 13:36:21 INFO => Initialising the eventpacker at 763537
2022-12-18 13:36:21 INFO => OP_RETURN: fcd1df94528f5384b4da2ce154b913c24ba73efd4d6a7b0b24ab77b9dade6561
2022-12-18 13:36:21 INFO => Initialising the eventpacker at 763538
2022-12-18 13:36:21 INFO => OP_RETURN: 64f505bf15f177071bfd7ac2e6baec5508cf9d79d25327004ffa6aad60fcf3cd
2022-12-18 13:36:21 INFO => Initialising the eventpacker at 763539
2022-12-18 13:36:21 INFO => OP_RETURN: 002bede353bc716b55c9efbdffd6e72510a92f0f0b2d5fa64daef8b5cd58c5b1
2022-12-18 13:36:21 INFO => Initialising the eventpacker at 763540

After 5 hours it return this error and exit

2022-12-18 18:06:04 WARN => Get "https://blockchain.info/latestblock": dial tcp: lookup blockchain.info on 172.26.224.1:53: read udp 172.26.227.155:44677->172.26.224.1:53: i/o timeout
2022-12-18 18:06:04 INFO => Conductor: I received terminate signal, shutting down
2022-12-18 18:06:04 INFO => Samizdat Mind has shut down
2022-12-18 18:06:04 INFO => Problem Tracker Mind has shut down
2022-12-18 18:06:04 INFO => Shares Mind has shut down
2022-12-18 18:06:04 INFO => Patches Mind has shut down
2022-12-18 18:06:04 INFO => Sequence Mind has shut down
2022-12-18 18:06:04 INFO => Identity Mind has shut down
2022-12-18 18:06:04 INFO => Doki Mind has shut down
2022-12-18 18:06:04 INFO => Mindmachine Superprotocolo Mind (protocol) has shut down
2022-12-18 18:06:04 INFO => MindState Mind (VPSS) has shut down
2022-12-18 18:06:04 INFO => Conductor: shutdown complete
2022-12-18 18:06:04 INFO => Nostrelay database has shut down
stanstacks commented 1 year ago

Can you try running make reset and post the output for the first 1-2 minutes?

shaibearary commented 1 year ago

Can you try running make reset and post the output for the first 1-2 minutes?

Yes, Please find the output below, it looks weird this time, usually i got more output when i run make reset

xxxx@LAPTOP-E94QJJKL:~/stackerstan/mindmachine$ make reset
cp -R ~/mindmachine/data/nostrelay ~/mindmachine/
rm -rf ~/mindmachine/data
mkdir ~/mindmachine/data
cp -R ~/mindmachine/nostrelay ~/mindmachine/data/
rm -rf ~/mindmachine/nostrelay
go mod tidy
go run cmd/mindmachine/*.go

                        @@&*                          *&@&
                  @@@@@.                                 ,@@@@@
             @@@@@@@@                                       @@@@@@@@
       ^    @@@@@@@                                           @@@@@@@    ^
      &@@  &@@@@@@                                             @@@@@@%  @@%
     @@@@  @@@@@@@                                             @@@@@@&  @@@@
   ,@@@@@@  @@@@@@                                             @@@@@@  @@@@@@.
   @@@@@@@@@ @@@@@@                                           @@@@@@ @@@@@@@@@
 .  @@@@@@@@@@@@@@@@                            ###          @@@@@@@@@@@@@@@@  .
 (&  @@@@@@@@@@@@@#                       @##@@@@             %@@@@@@@@@@@@@  @*
 (@@@  %@@@@@@@@@@ @                   ##@O##@@              @ @@@@@@@@@@#  @@@,
  @@@@@@@ (@@@@@@@ @@#             .#@@@@@@@@@@@           %@@ @@@@@@@/ @@@@@@@
  @@@@@@@@@@@@@@@@  @@@@                 @@@@@@          @@@@ .@@@@@@@@@@@@@@@&
    @@@@@@@@@@@@@@@@  @@@@@             @@@@@@        @@@@@  @@@@@@@@@@@@@@@@
       @@@@@@@@@@@@@@@@ &@@@@@@@      ,@@@@@@    @@@@@@@& @@@@@@@@@@@@@@@@
       &@@&.    *@@@@@@@@@@,@@@@     &@@@@@@@    @@@@,@@@@@@@@@@*    .&@@&
          (@@@@@@@@@@@@@@@@@@@@@@@  @@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@/
              (@@@@@@@ ,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@. @@@@@@@/
                   .@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.
                         `~##~'    @@@@@@@@@@@    `~@@~'
                            *     .@@@@@@@@@@@.     *
                                 @@@@@@@@@@@@@@@
                               @@@@@@@@@@@@@@@@@@@
                              @@@ @@@@@@@@@@@@@ @@@
                              #  @@@@@@@@@@@@@@@ //
                                @@@@@,.@@@* @@@@@
                                @@@@@  @@@  @@@@@.
                                  @@@  @@@  @@@
                                    @  @@@  @%
                                        @,

      ░█▀▀▀█ ▀▀█▀▀  █▀▀█ ░█▀▀█ ░█ ▄▀ ░█▀▀▀ ░█▀▀█ ░█▀▀▀█ ▀▀█▀▀  █▀▀█ ░█▄ ░█
       ▀▀▀▄▄  ░█   ░█▄▄█ ░█    ░█▀▄  ░█▀▀▀ ░█▄▄▀  ▀▀▀▄▄  ░█   ░█▄▄█ ░█░█░█
      ░█▄▄▄█  ░█   ░█ ░█ ░█▄▄█ ░█ ░█ ░█▄▄▄ ░█ ░█ ░█▄▄▄█  ░█   ░█ ░█ ░█  ▀█
             THE UNBREAKABLE PARALLEL CIVILISATION BUILT ON BITCOIN

2022-12-19 11:42:01 INFO => Waiting for terminate signal, press q to quit
Press:
q: to quit
s: to print shares
i: to print identity
w: to print your current wallet
See cliListener.go for more
2022-12-19 11:42:01 INFO => Nostrelay database has started
2022-12-19 11:42:01 INFO => Starting the Event catcher
2022-12-19 11:42:01 INFO => Starting our local Nostr Relay for the frontend
2022-12-19 11:42:01 INFO => listening on 127.0.0.1:1031
2022-12-19 11:42:01 INFO => Initialising the eventpacker at 761151
2022-12-19 11:42:01 INFO => Starting the Conductor service (scum class Mind)
2022-12-19 11:42:01 INFO => Shares Mind has started
2022-12-19 11:42:01 INFO => MindState Mind (VPSS) has started

CREATED IGNITION SHARES:
mindmachine.HashSeq{Hash:"c55f081598d71f2d16dc0382ffa15ef455a2bdb77592b5b0203d46b80c3d51ca", Sequence:1, Mind:"shares", Data:bytes.Buffer{buf:[]uint8(nil), off:0, lastRead:0}, CreatedAt:761151, NailedTo:"", EventID:""}
map[string]shares.Share{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57":shares.Share{LeadTimeLockedShares:1, LeadTime:1, LastLtChange:761151, Expenses:[]shares.Expense(nil), LeadTimeUnlockedShares:0, OpReturnAddresses:[]string(nil), Sequence:1}}
2022-12-19 11:42:01 INFO => Dispatching our hard-coded ignition VPSS
2022-12-19 11:42:01 INFO => Sequence Mind has started
2022-12-19 11:42:01 INFO => Identity Mind has started
2022-12-19 11:42:01 INFO => Nostrelay upserting a0284a96c828e10c869b9099cea3fa47de4ba5a22ef482afa00f6127734e9085

107 message size in bytes
152
2022-12-19 11:42:01 DEBUG => Connecting to relay pool
{da60ce8e7f2cb26cf7e276dcfa55c16ac2d45e44630c28ed800fdd8abb08e306 1 protocol {[] 0 0} 761151  } true
2022-12-19 11:42:01 INFO => Mindmachine Superprotocolo Mind (protocol) has started
2022-12-19 11:42:01 INFO => Problem Tracker Mind has started
2022-12-19 11:42:01 INFO => Nostrelay upserting 8d1732ceb07619634e5b863003504a52c28f5593c10d9e650e4d320a730bfefe

107 message size in bytes
136
2022-12-19 11:42:01 INFO => Patches Mind has started
2022-12-19 11:42:01 INFO => Doki Mind has started
2022-12-19 11:42:01 INFO => Nostrelay upserting b22ddf824cc4fc0824c65393488bd47a3a7ef841ae2f04d91853ee80f08cda66

107 message size in bytes
415
2022-12-19 11:42:01 INFO => Samizdat Mind has started
2022-12-19 11:42:01 INFO => Conductor: I'm now accepting Events
2022-12-19 11:42:01 DEBUG => Connecting to relay pool
{1e353b03cdea45358a79682aab775788c99a3852e773e24b16f0bbfe4d7f2b83 1 problems {[] 0 0} 761151  } true
2022-12-19 11:42:02 INFO => Looking for a kind 640001 Event to catch up to our peers
2022-12-19 11:42:02 DEBUG => Connecting to relay pool

-----------------------------------

-----------------------------------

-----------------------------------
2022-12-19 11:46:36 INFO => User requested to terminate at block: 761151
stanstacks commented 1 year ago

I just patched the Mindmachine, it should probably fix this. Can you pull the latest and try again?

stanstacks commented 1 year ago

FYI you won't be able to connect until after it successfully reproduces the current network state (when it reaches the current Bitcoin block height). So when you see a lot of OP_RETURNS flashing past just wait for it to finish.

It also can sometimes take a while (like 5 mins) to find the latest state, it will stop on Looking for a kind 640001 Event to catch up to our peers until it does.

shaibearary commented 1 year ago

HI I tried the latest version. It has been over 30 minutes and still OP_RETURNS flashing...

2022-12-19 21:11:22 INFO => OP_RETURN: cf0b2ebd6ccde9890530776be5bcb71b61257d237569cc76e323853638a36ef2
2022-12-19 21:11:22 INFO => Initialising the eventpacker at 763737
2022-12-19 21:11:22 INFO => OP_RETURN: 9419fbfce439c150939bf024345c27784d946d9f7d5977a306e8751dfe9f15ba
2022-12-19 21:11:22 INFO => Initialising the eventpacker at 763738
2022-12-19 21:11:23 INFO => OP_RETURN: 4d9328a1c6f74fd11410868739349f7df36ffb44b4c94de4a21150aae1e40507
2022-12-19 21:11:23 INFO => Initialising the eventpacker at 763739
2022-12-19 21:11:23 DEBUG => invalid sequence number on event 0ab8227b8266a2bda4cc4c9153981e5b5d1c0ada029b4f95bd1dd2d1460fda72, current sequence is 408

mindmachine.Event{ID:"0ab8227b8266a2bda4cc4c9153981e5b5d1c0ada029b4f95bd1dd2d1460fda72", PubKey:"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57", CreatedAt:time.Date(2022, time.November, 19, 2, 0, 30, 0, time.Local), Kind:640000, Tags:nostr.Tags{nostr.StringList{"height", "763739"}, nostr.StringList{"sequence", "686"}}, Content:"{\"Mind\":\"doki\",\"Hash\":\"926fcd83e4f14bba5bccd80f0a57cf7fedee9470a17879add1ee6379b3359c9c\",\"sequence\":\"65\",\"ShareHash\":\"c55f081598d71f2d16dc0382ffa15ef455a2bdb77592b5b0203d46b80c3d51ca\",\"height\":\"763733\",\"EventID\":\"7b305c18117adf0900290b921cf11e91e49a896440cf482aec25b2c9589a73b9\"}", Sig:"b4d4c6a6f5128f160f90464e216d6a0216f04806f776cf85091e6d9db4fb2da30e2eab9bf964bf7923a32938d0744b151719e299b75f65629e10ad72a19fddef", Commands:mindmachine.Instructions{List:[]string(nil), Mind:"", Sequence:0}, WitnessedAt:0}
2022-12-19 21:11:23 DEBUG => event in messagepack failed
2022-12-19 21:11:23 INFO => OP_RETURN: 67789e7a234b071c654dfaa1941e447518ebc5ef688ab117d6e117bdda0a5807
2022-12-19 21:11:23 INFO => Initialising the eventpacker at 763740
2022-12-19 21:11:23 INFO => OP_RETURN: 3adbc7af7f3565161f793abb55c7f4b4ca5c44d0cfeceeefb8abb50a0b03e8e0
2022-12-19 21:11:23 INFO => Initialising the eventpacker at 763741
2022-12-19 21:11:23 INFO => OP_RETURN: 1424f491cb2982a4c10e4e8aa69d6818f8360e6127ed898716be9d5a62a3a9c4
2022-12-19 21:11:23 INFO => Initialising the eventpacker at 763742
2022-12-19 21:11:23 INFO => OP_RETURN: 292fa3623bec6d1c5464af69d8e399fb1508bb4e80c86add94883ea7d94880cc
2022-12-19 21:11:23 INFO => Initialising the eventpacker at 763743
2022-12-19 21:11:24 INFO => OP_RETURN: f69ca0b00c61145d790778b9234d1d5ec78d7b9adee46028c8f985b91b41ce69
2022-12-19 21:11:24 INFO => Initialising the eventpacker at 763744
2022-12-19 21:11:24 INFO => OP_RETURN: 6dc90beb52b8c46879d07e2a86b03a93d43e86584a23f4e3ca760296214596af
2022-12-19 21:11:24 INFO => Initialising the eventpacker at 763745
2022-12-19 21:11:24 INFO => OP_RETURN: a9e3ae84bbb38cabd516137999f72eb6e2bed2d696a650fc171ad98df3c3c366
2022-12-19 21:11:24 INFO => Initialising the eventpacker at 763746
2022-12-19 21:11:24 INFO => OP_RETURN: f122d8a718d8925a34afe6e86ab7bb82a46f7bf5336ad1968f2096828a92cff9
2022-12-19 21:11:24 INFO => Initialising the eventpacker at 763747
2022-12-19 21:11:24 INFO => OP_RETURN: 0b30ff8124cbec97f3aebc197406ddbed6103e3e2e80159c7747772970c8ec36
2022-12-19 21:11:24 INFO => Initialising the eventpacker at 763748
2022-12-19 21:11:24 INFO => OP_RETURN: 787607542c5d3cbb6fd96f4d833abd36501415c29353f0b35c7532a71213bf1c
shaibearary commented 1 year ago

It finally returns error and exit 😂

2022-12-19 21:34:50 INFO => Initialising the eventpacker at 768072
2022-12-19 21:34:50 INFO => OP_RETURN: d83798d257e3eab44ab10dfb94f0c3e9521a759ab60926cd745ee9a8b13d194f
2022-12-19 21:34:50 INFO => Initialising the eventpacker at 768073
2022-12-19 21:34:50 INFO => OP_RETURN: d38d2997437799e4a61ebe4de4fb841570c7a95adaef74be3ad8c3222159c285
2022-12-19 21:34:50 INFO => Initialising the eventpacker at 768074
2022-12-19 21:34:51 INFO => OP_RETURN: d6bd57c2ea51b6b9eb26c814a2d7ad36a347804b305e04e1012900834aeaa3c0
2022-12-19 21:34:51 INFO => Initialising the eventpacker at 768075
2022-12-19 21:34:51 INFO => OP_RETURN: 25228c2e7114fd97663f4cf5af846a8ada6f0673449479fdd72a624676972fbf
2022-12-19 21:34:51 INFO => Initialising the eventpacker at 768076
2022-12-19 21:34:52 INFO => OP_RETURN: 95088ccf3c404f180fda3d5690328c424c6606eb43b3a6179c20cfe9fe5d8e25
2022-12-19 21:34:52 INFO => Initialising the eventpacker at 768077
2022-12-19 21:34:52 INFO => OP_RETURN: 1111fe080a64c6a8f1318d3bb6ce2730a6729598a1a4c86bda092100fa490802
2022-12-19 21:34:52 INFO => Initialising the eventpacker at 768078

ours
"172ed176b34ed62969a26a9762b9fd18bda880b716edada8180375d2e5e30dcb"

theirs
"c0b4b9f006adfc4b86d510831330c0e965462a0c100a8b7169786ec0063cea74"

ours
map[string]mindstate.MindState{"doki":mindstate.MindState{Mind:"doki", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"172ed176b34ed62969a26a9762b9fd18bda880b716edada8180375d2e5e30dcb", Height:762244, Sequence:19, Permille:1000}, "identity":mindstate.MindState{Mind:"identity", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"a2fc5471d5fa769eabf639589a28e27cce3dd78c47e79e6ee91a4efb39330652", Height:761234, Sequence:1, Permille:1000}, "problems":mindstate.MindState{Mind:"problems", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"0f0a367cfaa8e5f49f8a21eb87e61165a1f5d4e85e73ad25420ef4dacb6c858b", Height:761780, Sequence:8, Permille:1000}, "protocol":mindstate.MindState{Mind:"protocol", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"3c35f95502a84024bb63df001ce1da1eaf95b58982118cc4f2ed7d2c5f4e0cb9", Height:762552, Sequence:178, Permille:1000}, "shares":mindstate.MindState{Mind:"shares", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"c55f081598d71f2d16dc0382ffa15ef455a2bdb77592b5b0203d46b80c3d51ca", Height:761151, Sequence:1, Permille:1000}}

theirs
map[string]mindstate.MindState{"doki":mindstate.MindState{Mind:"doki", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"c0b4b9f006adfc4b86d510831330c0e965462a0c100a8b7169786ec0063cea74", Height:768030, Sequence:154, Permille:1000}, "identity":mindstate.MindState{Mind:"identity", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"06ffcb24ef5ef8f27bea00ff717ec0dae4bcce364c4622239501ebb9874b6768", Height:767896, Sequence:35, Permille:1000}, "patches":mindstate.MindState{Mind:"patches", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"00d67a838548ed2888e063b117c927765e93456736008a57cf6f96de0f2b538d", Height:767606, Sequence:1, Permille:1000}, "problems":mindstate.MindState{Mind:"problems", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"b05b801802984c396db10068f4485a197d7ef711b1650248e6b12554cff5fe41", Height:764626, Sequence:13, Permille:1000}, "protocol":mindstate.MindState{Mind:"protocol", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"a360086ac62b5f21be28d0a814d6e5f2fb654d66f15ee0435aed21856fcdbe76", Height:763237, Sequence:268, Permille:1000}, "shares":mindstate.MindState{Mind:"shares", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"c55f081598d71f2d16dc0382ffa15ef455a2bdb77592b5b0203d46b80c3d51ca", Height:761151, Sequence:1, Permille:1000}}

2022-12-19 21:34:52 WARN => failed to get to the same state as the eventpack creator, try running make reset and see if it works next time, alternatively there are a few things we could try if this happens, go look at the eventcatcher code

ours
"a2fc5471d5fa769eabf639589a28e27cce3dd78c47e79e6ee91a4efb39330652"

theirs
"06ffcb24ef5ef8f27bea00ff717ec0dae4bcce364c4622239501ebb9874b6768"

ours
map[string]mindstate.MindState{"doki":mindstate.MindState{Mind:"doki", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"172ed176b34ed62969a26a9762b9fd18bda880b716edada8180375d2e5e30dcb", Height:762244, Sequence:19, Permille:1000}, "identity":mindstate.MindState{Mind:"identity", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"a2fc5471d5fa769eabf639589a28e27cce3dd78c47e79e6ee91a4efb39330652", Height:761234, Sequence:1, Permille:1000}, "problems":mindstate.MindState{Mind:"problems", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"0f0a367cfaa8e5f49f8a21eb87e61165a1f5d4e85e73ad25420ef4dacb6c858b", Height:761780, Sequence:8, Permille:1000}, "protocol":mindstate.MindState{Mind:"protocol", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"3c35f95502a84024bb63df001ce1da1eaf95b58982118cc4f2ed7d2c5f4e0cb9", Height:762552, Sequence:178, Permille:1000}, "shares":mindstate.MindState{Mind:"shares", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"c55f081598d71f2d16dc0382ffa15ef455a2bdb77592b5b0203d46b80c3d51ca", Height:761151, Sequence:1, Permille:1000}}

theirs
map[string]mindstate.MindState{"doki":mindstate.MindState{Mind:"doki", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"c0b4b9f006adfc4b86d510831330c0e965462a0c100a8b7169786ec0063cea74", Height:768030, Sequence:154, Permille:1000}, "identity":mindstate.MindState{Mind:"identity", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"06ffcb24ef5ef8f27bea00ff717ec0dae4bcce364c4622239501ebb9874b6768", Height:767896, Sequence:35, Permille:1000}, "patches":mindstate.MindState{Mind:"patches", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"00d67a838548ed2888e063b117c927765e93456736008a57cf6f96de0f2b538d", Height:767606, Sequence:1, Permille:1000}, "problems":mindstate.MindState{Mind:"problems", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"b05b801802984c396db10068f4485a197d7ef711b1650248e6b12554cff5fe41", Height:764626, Sequence:13, Permille:1000}, "protocol":mindstate.MindState{Mind:"protocol", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"a360086ac62b5f21be28d0a814d6e5f2fb654d66f15ee0435aed21856fcdbe76", Height:763237, Sequence:268, Permille:1000}, "shares":mindstate.MindState{Mind:"shares", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"c55f081598d71f2d16dc0382ffa15ef455a2bdb77592b5b0203d46b80c3d51ca", Height:761151, Sequence:1, Permille:1000}}

2022-12-19 21:34:52 WARN => failed to get to the same state as the eventpack creator, try running make reset and see if it works next time, alternatively there are a few things we could try if this happens, go look at the eventcatcher code

ours
""

theirs
"00d67a838548ed2888e063b117c927765e93456736008a57cf6f96de0f2b538d"

ours
map[string]mindstate.MindState{"doki":mindstate.MindState{Mind:"doki", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"172ed176b34ed62969a26a9762b9fd18bda880b716edada8180375d2e5e30dcb", Height:762244, Sequence:19, Permille:1000}, "identity":mindstate.MindState{Mind:"identity", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"a2fc5471d5fa769eabf639589a28e27cce3dd78c47e79e6ee91a4efb39330652", Height:761234, Sequence:1, Permille:1000}, "problems":mindstate.MindState{Mind:"problems", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"0f0a367cfaa8e5f49f8a21eb87e61165a1f5d4e85e73ad25420ef4dacb6c858b", Height:761780, Sequence:8, Permille:1000}, "protocol":mindstate.MindState{Mind:"protocol", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"3c35f95502a84024bb63df001ce1da1eaf95b58982118cc4f2ed7d2c5f4e0cb9", Height:762552, Sequence:178, Permille:1000}, "shares":mindstate.MindState{Mind:"shares", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"c55f081598d71f2d16dc0382ffa15ef455a2bdb77592b5b0203d46b80c3d51ca", Height:761151, Sequence:1, Permille:1000}}

theirs
map[string]mindstate.MindState{"doki":mindstate.MindState{Mind:"doki", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"c0b4b9f006adfc4b86d510831330c0e965462a0c100a8b7169786ec0063cea74", Height:768030, Sequence:154, Permille:1000}, "identity":mindstate.MindState{Mind:"identity", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"06ffcb24ef5ef8f27bea00ff717ec0dae4bcce364c4622239501ebb9874b6768", Height:767896, Sequence:35, Permille:1000}, "patches":mindstate.MindState{Mind:"patches", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"00d67a838548ed2888e063b117c927765e93456736008a57cf6f96de0f2b538d", Height:767606, Sequence:1, Permille:1000}, "problems":mindstate.MindState{Mind:"problems", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"b05b801802984c396db10068f4485a197d7ef711b1650248e6b12554cff5fe41", Height:764626, Sequence:13, Permille:1000}, "protocol":mindstate.MindState{Mind:"protocol", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"a360086ac62b5f21be28d0a814d6e5f2fb654d66f15ee0435aed21856fcdbe76", Height:763237, Sequence:268, Permille:1000}, "shares":mindstate.MindState{Mind:"shares", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"c55f081598d71f2d16dc0382ffa15ef455a2bdb77592b5b0203d46b80c3d51ca", Height:761151, Sequence:1, Permille:1000}}

2022-12-19 21:34:52 WARN => failed to get to the same state as the eventpack creator, try running make reset and see if it works next time, alternatively there are a few things we could try if this happens, go look at the eventcatcher code

ours
"0f0a367cfaa8e5f49f8a21eb87e61165a1f5d4e85e73ad25420ef4dacb6c858b"

theirs
"b05b801802984c396db10068f4485a197d7ef711b1650248e6b12554cff5fe41"

ours
map[string]mindstate.MindState{"doki":mindstate.MindState{Mind:"doki", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"172ed176b34ed62969a26a9762b9fd18bda880b716edada8180375d2e5e30dcb", Height:762244, Sequence:19, Permille:1000}, "identity":mindstate.MindState{Mind:"identity", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"a2fc5471d5fa769eabf639589a28e27cce3dd78c47e79e6ee91a4efb39330652", Height:761234, Sequence:1, Permille:1000}, "problems":mindstate.MindState{Mind:"problems", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"0f0a367cfaa8e5f49f8a21eb87e61165a1f5d4e85e73ad25420ef4dacb6c858b", Height:761780, Sequence:8, Permille:1000}, "protocol":mindstate.MindState{Mind:"protocol", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"3c35f95502a84024bb63df001ce1da1eaf95b58982118cc4f2ed7d2c5f4e0cb9", Height:762552, Sequence:178, Permille:1000}, "shares":mindstate.MindState{Mind:"shares", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"c55f081598d71f2d16dc0382ffa15ef455a2bdb77592b5b0203d46b80c3d51ca", Height:761151, Sequence:1, Permille:1000}}

theirs
map[string]mindstate.MindState{"doki":mindstate.MindState{Mind:"doki", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"c0b4b9f006adfc4b86d510831330c0e965462a0c100a8b7169786ec0063cea74", Height:768030, Sequence:154, Permille:1000}, "identity":mindstate.MindState{Mind:"identity", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"06ffcb24ef5ef8f27bea00ff717ec0dae4bcce364c4622239501ebb9874b6768", Height:767896, Sequence:35, Permille:1000}, "patches":mindstate.MindState{Mind:"patches", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"00d67a838548ed2888e063b117c927765e93456736008a57cf6f96de0f2b538d", Height:767606, Sequence:1, Permille:1000}, "problems":mindstate.MindState{Mind:"problems", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"b05b801802984c396db10068f4485a197d7ef711b1650248e6b12554cff5fe41", Height:764626, Sequence:13, Permille:1000}, "protocol":mindstate.MindState{Mind:"protocol", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"a360086ac62b5f21be28d0a814d6e5f2fb654d66f15ee0435aed21856fcdbe76", Height:763237, Sequence:268, Permille:1000}, "shares":mindstate.MindState{Mind:"shares", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"c55f081598d71f2d16dc0382ffa15ef455a2bdb77592b5b0203d46b80c3d51ca", Height:761151, Sequence:1, Permille:1000}}

2022-12-19 21:34:52 WARN => failed to get to the same state as the eventpack creator, try running make reset and see if it works next time, alternatively there are a few things we could try if this happens, go look at the eventcatcher code

ours
"3c35f95502a84024bb63df001ce1da1eaf95b58982118cc4f2ed7d2c5f4e0cb9"

theirs
"a360086ac62b5f21be28d0a814d6e5f2fb654d66f15ee0435aed21856fcdbe76"

ours
map[string]mindstate.MindState{"doki":mindstate.MindState{Mind:"doki", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"172ed176b34ed62969a26a9762b9fd18bda880b716edada8180375d2e5e30dcb", Height:762244, Sequence:19, Permille:1000}, "identity":mindstate.MindState{Mind:"identity", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"a2fc5471d5fa769eabf639589a28e27cce3dd78c47e79e6ee91a4efb39330652", Height:761234, Sequence:1, Permille:1000}, "problems":mindstate.MindState{Mind:"problems", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"0f0a367cfaa8e5f49f8a21eb87e61165a1f5d4e85e73ad25420ef4dacb6c858b", Height:761780, Sequence:8, Permille:1000}, "protocol":mindstate.MindState{Mind:"protocol", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"3c35f95502a84024bb63df001ce1da1eaf95b58982118cc4f2ed7d2c5f4e0cb9", Height:762552, Sequence:178, Permille:1000}, "shares":mindstate.MindState{Mind:"shares", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"c55f081598d71f2d16dc0382ffa15ef455a2bdb77592b5b0203d46b80c3d51ca", Height:761151, Sequence:1, Permille:1000}}

theirs
map[string]mindstate.MindState{"doki":mindstate.MindState{Mind:"doki", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"c0b4b9f006adfc4b86d510831330c0e965462a0c100a8b7169786ec0063cea74", Height:768030, Sequence:154, Permille:1000}, "identity":mindstate.MindState{Mind:"identity", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"06ffcb24ef5ef8f27bea00ff717ec0dae4bcce364c4622239501ebb9874b6768", Height:767896, Sequence:35, Permille:1000}, "patches":mindstate.MindState{Mind:"patches", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"00d67a838548ed2888e063b117c927765e93456736008a57cf6f96de0f2b538d", Height:767606, Sequence:1, Permille:1000}, "problems":mindstate.MindState{Mind:"problems", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"b05b801802984c396db10068f4485a197d7ef711b1650248e6b12554cff5fe41", Height:764626, Sequence:13, Permille:1000}, "protocol":mindstate.MindState{Mind:"protocol", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"a360086ac62b5f21be28d0a814d6e5f2fb654d66f15ee0435aed21856fcdbe76", Height:763237, Sequence:268, Permille:1000}, "shares":mindstate.MindState{Mind:"shares", SigningAccounts:[]string{"543210b5f6c3071c3135d850449f8bf91efffb5ed1153e5fcbb2d95b79262b57"}, State:"c55f081598d71f2d16dc0382ffa15ef455a2bdb77592b5b0203d46b80c3d51ca", Height:761151, Sequence:1, Permille:1000}}

2022-12-19 21:34:52 WARN => failed to get to the same state as the eventpack creator, try running make reset and see if it works next time, alternatively there are a few things we could try if this happens, go look at the eventcatcher code
goroutine 1 [running]:
runtime/debug.Stack()
        /usr/local/go/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
        /usr/local/go/src/runtime/debug/stack.go:16 +0x19
mindmachine/mindmachine.LogCLI({0x86a520, 0xc000e797f0}, 0x1)
        /home/qspang/mindmachine/mindmachine/logging.go:30 +0xdd
mindmachine/messaging/eventcatcher.fetchEventPack()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:239 +0x194d
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:111 +0x6f
mindmachine/messaging/eventcatcher.Start(0xc00009e600?, 0xc00002b8e0?)
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:43 +0x1aa
main.startMinds(0x86a520?, 0xaabbd0?, 0x4?)
        /home/qspang/mindmachine/cmd/mindmachine/main.go:153 +0x34
main.main()
        /home/qspang/mindmachine/cmd/mindmachine/main.go:106 +0x3f1
2022-12-19 21:34:53 ERROR => We reached a different OP_RETURN to the one provided. We have: 8ded80730b6a36c445db6c4dff4a1334fca0fb14db8c74a7c2a959d19fe42e7d eventpack has: 22f75374e28e508f93653e4e8d7f5c91f84d2c70d7679919398abe88482cdff4
2022-12-19 21:34:53 INFO => Looking for a kind 640001 Event to catch up to our peers
2022-12-19 21:34:53 DEBUG => Connecting to relay pool
2022-12-19 21:34:58 INFO => Looking for a kind 640001 Event to catch up to our peers
2022-12-19 21:34:58 DEBUG => Connecting to relay pool
2022-12-19 21:35:43 DEBUG => error opening websocket to 'wss://nostr.688.org': read tcp 172.26.226.214:50092->108.61.222.226:443: i/o timeout
goroutine 1 [running]:
runtime/debug.Stack()
        /usr/local/go/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
        /usr/local/go/src/runtime/debug/stack.go:16 +0x19
mindmachine/mindmachine.LogCLI({0x8c9740, 0xc0028ec618}, 0x1)
        /home/qspang/mindmachine/mindmachine/logging.go:30 +0xdd
mindmachine/messaging/blocks.fetchLatestBlockFromNetwork()
        /home/qspang/mindmachine/messaging/blocks/blocks.go:114 +0x2c5
mindmachine/messaging/blocks.FetchLatestBlock(...)
        /home/qspang/mindmachine/messaging/blocks/blocks.go:84
mindmachine/messaging/eventcatcher.blocksBehind()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:64 +0x2e
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:116 +0x119
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:119 +0x13f
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:126 +0x185
mindmachine/messaging/eventcatcher.Start(0xc00009e600?, 0xc00002b8e0?)
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:43 +0x1aa
main.startMinds(0x86a520?, 0xaabbd0?, 0x4?)
        /home/qspang/mindmachine/cmd/mindmachine/main.go:153 +0x34
main.main()
        /home/qspang/mindmachine/cmd/mindmachine/main.go:106 +0x3f1
2022-12-19 21:35:44 ERROR => stream error: stream ID 7; INTERNAL_ERROR; received from peer
2022-12-19 21:35:47 INFO => Looking for a kind 640001 Event to catch up to our peers
2022-12-19 21:35:47 DEBUG => Connecting to relay pool
2022-12-19 21:36:32 DEBUG => error opening websocket to 'wss://nostr.688.org': read tcp 172.26.226.214:50094->108.61.222.226:443: i/o timeout
2022-12-19 21:36:35 INFO => Looking for a kind 640001 Event to catch up to our peers
2022-12-19 21:36:35 DEBUG => Connecting to relay pool
2022-12-19 21:36:39 INFO => Looking for a kind 640001 Event to catch up to our peers
2022-12-19 21:36:39 DEBUG => Connecting to relay pool
2022-12-19 21:37:24 DEBUG => error opening websocket to 'wss://nostr.688.org': read tcp 172.26.226.214:50098->108.61.222.226:443: i/o timeout
goroutine 1 [running]:
runtime/debug.Stack()
        /usr/local/go/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
        /usr/local/go/src/runtime/debug/stack.go:16 +0x19
mindmachine/mindmachine.LogCLI({0x86a520, 0xaac090}, 0x1)
        /home/qspang/mindmachine/mindmachine/logging.go:30 +0xdd
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:122 +0x16d
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:119 +0x13f
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:119 +0x13f
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:119 +0x13f
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:119 +0x13f
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:126 +0x185
mindmachine/messaging/eventcatcher.Start(0xc00009e600?, 0xc00002b8e0?)
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:43 +0x1aa
main.startMinds(0x86a520?, 0xaabbd0?, 0x4?)
        /home/qspang/mindmachine/cmd/mindmachine/main.go:153 +0x34
main.main()
        /home/qspang/mindmachine/cmd/mindmachine/main.go:106 +0x3f1
2022-12-19 21:37:25 ERROR => we might be having problems fetching events from relays
goroutine 1 [running]:
runtime/debug.Stack()
        /usr/local/go/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
        /usr/local/go/src/runtime/debug/stack.go:16 +0x19
mindmachine/mindmachine.LogCLI({0x86a520, 0xaac090}, 0x1)
        /home/qspang/mindmachine/mindmachine/logging.go:30 +0xdd
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:122 +0x16d
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:119 +0x13f
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:119 +0x13f
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:119 +0x13f
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:126 +0x185
mindmachine/messaging/eventcatcher.Start(0xc00009e600?, 0xc00002b8e0?)
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:43 +0x1aa
main.startMinds(0x86a520?, 0xaabbd0?, 0x4?)
        /home/qspang/mindmachine/cmd/mindmachine/main.go:153 +0x34
main.main()
        /home/qspang/mindmachine/cmd/mindmachine/main.go:106 +0x3f1
2022-12-19 21:37:25 ERROR => we might be having problems fetching events from relays
goroutine 1 [running]:
runtime/debug.Stack()
        /usr/local/go/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
        /usr/local/go/src/runtime/debug/stack.go:16 +0x19
mindmachine/mindmachine.LogCLI({0x86a520, 0xaac090}, 0x1)
        /home/qspang/mindmachine/mindmachine/logging.go:30 +0xdd
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:122 +0x16d
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:119 +0x13f
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:119 +0x13f
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:126 +0x185
mindmachine/messaging/eventcatcher.Start(0xc00009e600?, 0xc00002b8e0?)
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:43 +0x1aa
main.startMinds(0x86a520?, 0xaabbd0?, 0x4?)
        /home/qspang/mindmachine/cmd/mindmachine/main.go:153 +0x34
main.main()
        /home/qspang/mindmachine/cmd/mindmachine/main.go:106 +0x3f1
2022-12-19 21:37:26 ERROR => we might be having problems fetching events from relays
goroutine 1 [running]:
runtime/debug.Stack()
        /usr/local/go/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
        /usr/local/go/src/runtime/debug/stack.go:16 +0x19
mindmachine/mindmachine.LogCLI({0x86a520, 0xaac090}, 0x1)
        /home/qspang/mindmachine/mindmachine/logging.go:30 +0xdd
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:122 +0x16d
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:119 +0x13f
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:126 +0x185
mindmachine/messaging/eventcatcher.Start(0xc00009e600?, 0xc00002b8e0?)
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:43 +0x1aa
main.startMinds(0x86a520?, 0xaabbd0?, 0x4?)
        /home/qspang/mindmachine/cmd/mindmachine/main.go:153 +0x34
main.main()
        /home/qspang/mindmachine/cmd/mindmachine/main.go:106 +0x3f1
2022-12-19 21:37:26 ERROR => we might be having problems fetching events from relays
goroutine 1 [running]:
runtime/debug.Stack()
        /usr/local/go/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
        /usr/local/go/src/runtime/debug/stack.go:16 +0x19
mindmachine/mindmachine.LogCLI({0x86a520, 0xaac090}, 0x1)
        /home/qspang/mindmachine/mindmachine/logging.go:30 +0xdd
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:122 +0x16d
mindmachine/messaging/eventcatcher.fetchEventPackLooper()
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:126 +0x185
mindmachine/messaging/eventcatcher.Start(0xc00009e600?, 0xc00002b8e0?)
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:43 +0x1aa
main.startMinds(0x86a520?, 0xaabbd0?, 0x4?)
        /home/qspang/mindmachine/cmd/mindmachine/main.go:153 +0x34
main.main()
        /home/qspang/mindmachine/cmd/mindmachine/main.go:106 +0x3f1
2022-12-19 21:37:26 ERROR => we might be having problems fetching events from relays
goroutine 1 [running]:
runtime/debug.Stack()
        /usr/local/go/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
        /usr/local/go/src/runtime/debug/stack.go:16 +0x19
mindmachine/mindmachine.LogCLI({0x86a520, 0xaac070}, 0x1)
        /home/qspang/mindmachine/mindmachine/logging.go:30 +0xdd
mindmachine/messaging/eventcatcher.Start(0xc00009e600?, 0xc00002b8e0?)
        /home/qspang/mindmachine/messaging/eventcatcher/eventcatcher.go:48 +0x26c
main.startMinds(0x86a520?, 0xaabbd0?, 0x4?)
        /home/qspang/mindmachine/cmd/mindmachine/main.go:153 +0x34
main.main()
        /home/qspang/mindmachine/cmd/mindmachine/main.go:106 +0x3f1
2022-12-19 21:37:27 ERROR => looks like the network has stalled and will require someone with Votepower > 0 to recover it. Check the Samizdat tree, telegram group, or try running again later.
2022-12-19 21:37:27 INFO => Starting the Event Producer (eventers)
2022-12-19 21:37:27 INFO => Conductor: I received terminate signal, shutting down
2022-12-19 21:37:27 INFO => Problem Tracker Mind has shut down
2022-12-19 21:37:27 INFO => Sequence Mind has shut down
2022-12-19 21:37:27 INFO => Samizdat Mind has shut down
2022-12-19 21:37:27 INFO => Identity Mind has shut down
2022-12-19 21:37:27 INFO => Shares Mind has shut down
2022-12-19 21:37:27 INFO => Patches Mind has shut down
2022-12-19 21:37:27 INFO => Mindmachine Superprotocolo Mind (protocol) has shut down
2022-12-19 21:37:27 INFO => Doki Mind has shut down
2022-12-19 21:37:27 INFO => MindState Mind (VPSS) has shut down
2022-12-19 21:37:27 INFO => Conductor: shutdown complete
2022-12-19 21:37:27 INFO => Nostrelay database has shut down
qspang@LAPTOP-D6KDF79V:~/mindmachine$
stanstacks commented 1 year ago

Ok, thanks for that.

I'm working on a patch now and will ping you once it looks like this is fixed.

shaibearary commented 1 year ago

Just successfully connected, here is some reference for those who run mindmachine on WSL2 and have interface at windows host. (If running process of mindmachine doesnt have any bug~~~)

  1. change config.yaml to follows, the last line is 0.0.0.0:1031 instead of 127.0.0.1:1031

    blockserver: https://blockchain.info
    devmode: false
    fastsync: true
    firstrun: false
    flatfiledir: data/
    forceblocks: false
    highly_reliable: false
    ignitionheight: 761151
    logactors: true
    loglevel: 4
    optionalrelays:
    - ws://127.0.0.1:8100
    relays:
    - wss://nostr.688.org
    rootdir: /home/qspang/mindmachine/
    websocketaddr: 0.0.0.0:1031
  2. runip a |grep "global eth0" and will get inet xxx.xxx.xxx.xxx/20 brd aaa.aaa.aaa.aaa scope global eth0

  3. Replace var relay = "wss://mindmachine.688.org" with var relay = "ws://xxx.xxx.xxx.xxx:1031"

  4. open index.html

stanstacks commented 1 year ago

@pqingshuang if you have time, could you send a pull request to update the Readme to include this?

shaibearary commented 1 year ago

Sure~

shaibearary commented 1 year ago

pubkey: cc8d072efdcc676fcbac14f6cd6825edc3576e55eb786a2a975ee034a6a026cb Expense: 128888 Sats