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

simple web2web and web2native examples needed #539

Open
sloev opened this issue Jan 23, 2024 · 0 comments
Open

simple web2web and web2native examples needed #539

sloev opened this issue Jan 23, 2024 · 0 comments
Labels
question Further information is requested

Comments

@sloev
Copy link

sloev commented Jan 23, 2024

Summary

Hi,

Thanks for a great project!!!

i am trying hard to grasp how to establish a simple browser to browser communications example as well as a browser to native example.
I have read the documentation but i understand best through examples.
i have found your example here: https://github.com/RingsNetwork/rings-wasm-p2p but i couldnt get it past the initial handshake and could not send message or list peers.

i think i might need clarification on (and examples on):

  1. how to connect two browser peers together without having to resort to manually exchanging sdp (kind of defeats the purpose of p2p if it relies on external handshaking)
  2. how to connect browser peer to server peer and have bidirectional information

my usecase for rings (or any other p2p) is making simple flows like this:
web clients write to server
server verifies data and adds to distributed db
web clients swarm on distributed db and get updates

for example:
web clients post documents containing "surplys items to be given away for free including a geocordinate of where to find them and an image"
server verifies the image is not NSFW and adds the document to the db
web clients replicate db in some way and gets the last added document

Additional Details

Provide any additional details here.

full rings-wasm-p2p console log ``` rings-wasm-p2p/:179
Rings Node Instance:

Rings DID::

executing

<script> function start() { document.getElementById("loading").style.visibility="visible"; }
function done() {
  document.getElementById("loading").style.visibility="hidden";
}
</script>

Create Offer SDP Accept Offer [SDP] and Create answer SDP Accept Answer [SDP] connect with [DID] list peers node info send message to [DID; MSG]

input

output

<script type="module"> import init, { debug, Provider, BackendBehaviour } from './node_modules/rings-node/dist/rings_node.js'; import { Wallet } from "./node_modules/ethers/dist/ethers.js" // Init wasm module await init(); // message callback const callback = new BackendBehaviour( async (from, message) => { console.log("get custom message %s from %s", message, from) }, async (from, message) => { console.log("get http response message %s from %s", message, from) }, async (from, message) => { console.log("get buildin message %s from %s", message, from) } ) // prepare keypair const account = Wallet.createRandom(); document.getElementById("did").innerText = account.address; // signer // Utility function to convert hex string to Uint8Array function hexToUint8Array(hexString) { // Remove the "0x" prefix if it exists if (hexString.startsWith('0x')) { hexString = hexString.slice(2); } const byteArray = []; for (let i = 0; i < hexString.length; i+=2) { byteArray.push(parseInt(hexString.substr(i, 2), 16)); } return new Uint8Array(byteArray); } let signer = async (proof) => { let sig = await account.signMessage(proof); return hexToUint8Array(sig) } debug(true) // create client window.client = await new Provider( "stun://stun.l.google.com:19302", 100n, // stab timeout account.address, // account "eip191", // account type signer, callback ) await window.client.listen(); console.log(client); </script>

rings-wasm-p2p/:179


Rings Node Instance:

Rings DID::

executing

<script> function start() { document.getElementById("loading").style.visibility="visible"; }
function done() {
  document.getElementById("loading").style.visibility="hidden";
}
</script>

Create Offer SDP Accept Offer [SDP] and Create answer SDP Accept Answer [SDP] connect with [DID] list peers node info send message to [DID; MSG]

input

output

<script type="module"> import init, { debug, Provider, BackendBehaviour } from './node_modules/rings-node/dist/rings_node.js'; import { Wallet } from "./node_modules/ethers/dist/ethers.js" // Init wasm module await init(); // message callback const callback = new BackendBehaviour( async (from, message) => { console.log("get custom message %s from %s", message, from) }, async (from, message) => { console.log("get http response message %s from %s", message, from) }, async (from, message) => { console.log("get buildin message %s from %s", message, from) } ) // prepare keypair const account = Wallet.createRandom(); document.getElementById("did").innerText = account.address; // signer // Utility function to convert hex string to Uint8Array function hexToUint8Array(hexString) { // Remove the "0x" prefix if it exists if (hexString.startsWith('0x')) { hexString = hexString.slice(2); } const byteArray = []; for (let i = 0; i < hexString.length; i+=2) { byteArray.push(parseInt(hexString.substr(i, 2), 16)); } return new Uint8Array(byteArray); } let signer = async (proof) => { let sig = await account.signMessage(proof); return hexToUint8Array(sig) } debug(true) // create client window.client = await new Provider( "stun://stun.l.google.com:19302", 100n, // stab timeout account.address, // account "eip191", // account type signer, callback ) await window.client.listen(); console.log(client); </script>

VM90:57 Provider {__wbg_ptr: 2621464}
VM100:57 Provider {__wbg_ptr: 2621464}
rings_node.js:1187 DEBUG crates/node/src/provider/mod.rs:133 request createOffer params: Array [String("0x432e3b128299d26686893ddb50A8D376a43A04C6")]
rings-wasm-p2p/:1 {offer: '82TFauPiYEj97DVKqvfScq9EGLh9VEEchA4vVh7eeD9DHnr7yE…qYC7YhuNJeJe1E39nZDp5Y3j5Cp9ZZbStxdnfvCL2Y91FCHWK'}
rings_node.js:1187 DEBUG crates/node/src/provider/mod.rs:133 request answerOffer params: Array [String("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")]
rings_node.js:1187 DEBUG crates/transport/src/connections/web_sys_webrtc/mod.rs:164 webrtc_answer_offer, offer: "v=0\r\no=- 1134321010226326305 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 59954 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 77.241.136.144\r\na=candidate:1706697823 1 udp 2113937151 5184edae-62f1-49ea-b2d3-54640746aed4.local 54322 typ host generation 0 network-cost 999\r\na=candidate:35535175 1 udp 2113939711 5ebbb700-9658-457d-8687-02da14fbd67a.local 42628 typ host generation 0 network-cost 999\r\na=candidate:272190976 1 udp 1677732095 2a02:aa7:4626:6f43:2969:6697:417:490a 42628 typ srflx raddr :: rport 0 generation 0 network-cost 999\r\na=candidate:1323797552 1 udp 1677729535 77.241.136.144 59954 typ srflx raddr 0.0.0.0 rport 0 generation 0 network-cost 999\r\na=ice-ufrag:ZXQi\r\na=ice-pwd:kZKXLbC8apS8ChshTuPQRBes\r\na=ice-options:trickle\r\na=fingerprint:sha-256 7A:CE:54:84:64:5A:D5:70:66:87:78:B8:0B:2D:D8:09:7B:45:F6:88:AF:B6:00:25:48:14:3F:89:B0:3C:44:1D\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n"
rings_node.js:1187 DEBUG crates/transport/src/connections/web_sys_webrtc/mod.rs:343 Peer Connection State has changed: Connecting
rings_node.js:1187 DEBUG crates/transport/src/connections/web_sys_webrtc/mod.rs:343 Peer Connection State has changed: Connecting
rings_node.js:1187 DEBUG crates/node/src/rpc_impl.rs:153 connect_peer_via_ice response: MessagePayload { transaction: Transaction { destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), tx_id: 749ce74a-ad2c-435e-b2db-21a441890c10, data: [3, 0, 0, 0, 243, 2, 0, 0, 0, 0, 0, 0, 34, 118, 61, 48, 92, 114, 92, 110, 111, 61, 45, 32, 57, 48, 51, 55, 54, 50, 52, 54, 51, 57, 56, 53, 54, 54, 55, 51, 56, 49, 56, 32, 50, 32, 73, 78, 32, 73, 80, 52, 32, 49, 50, 55, 46, 48, 46, 48, 46, 49, 92, 114, 92, 110, 115, 61, 45, 92, 114, 92, 110, 116, 61, 48, 32, 48, 92, 114, 92, 110, 97, 61, 103, 114, 111, 117, 112, 58, 66, 85, 78, 68, 76, 69, 32, 48, 92, 114, 92, 110, 97, 61, 101, 120, 116, 109, 97, 112, 45, 97, 108, 108, 111, 119, 45, 109, 105, 120, 101, 100, 92, 114, 92, 110, 97, 61, 109, 115, 105, 100, 45, 115, 101, 109, 97, 110, 116, 105, 99, 58, 32, 87, 77, 83, 92, 114, 92, 110, 109, 61, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 32, 57, 32, 85, 68, 80, 47, 68, 84, 76, 83, 47, 83, 67, 84, 80, 32, 119, 101, 98, 114, 116, 99, 45, 100, 97, 116, 97, 99, 104, 97, 110, 110, 101, 108, 92, 114, 92, 110, 99, 61, 73, 78, 32, 73, 80, 52, 32, 48, 46, 48, 46, 48, 46, 48, 92, 114, 92, 110, 97, 61, 99, 97, 110, 100, 105, 100, 97, 116, 101, 58, 51, 52, 55, 49, 51, 56, 49, 49, 57, 55, 32, 49, 32, 117, 100, 112, 32, 50, 49, 49, 51, 57, 51, 55, 49, 53, 49, 32, 54, 97, 49, 56, 50, 50, 51, 101, 45, 51, 56, 51, 101, 45, 52, 102, 57, 97, 45, 56, 52, 98, 102, 45, 49, 52, 54, 100, 48, 55, 48, 98, 51, 56, 98, 51, 46, 108, 111, 99, 97, 108, 32, 53, 56, 54, 52, 56, 32, 116, 121, 112, 32, 104, 111, 115, 116, 32, 103, 101, 110, 101, 114, 97, 116, 105, 111, 110, 32, 48, 32, 110, 101, 116, 119, 111, 114, 107, 45, 99, 111, 115, 116, 32, 57, 57, 57, 92, 114, 92, 110, 97, 61, 99, 97, 110, 100, 105, 100, 97, 116, 101, 58, 51, 48, 56, 50, 55, 51, 51, 49, 52, 50, 32, 49, 32, 117, 100, 112, 32, 50, 49, 49, 51, 57, 51, 57, 55, 49, 49, 32, 56, 55, 51, 99, 52, 53, 56, 48, 45, 48, 51, 51, 48, 45, 52, 56, 49, 50, 45, 57, 102, 55, 99, 45, 101, 102, 100, 57, 56, 55, 99, 99, 100, 53, 101, 52, 46, 108, 111, 99, 97, 108, 32, 53, 53, 57, 49, 54, 32, 116, 121, 112, 32, 104, 111, 115, 116, 32, 103, 101, 110, 101, 114, 97, 116, 105, 111, 110, 32, 48, 32, 110, 101, 116, 119, 111, 114, 107, 45, 99, 111, 115, 116, 32, 57, 57, 57, 92, 114, 92, 110, 97, 61, 105, 99, 101, 45, 117, 102, 114, 97, 103, 58, 114, 107, 110, 118, 92, 114, 92, 110, 97, 61, 105, 99, 101, 45, 112, 119, 100, 58, 104, 99, 71, 53, 106, 100, 85, 109, 69, 120, 86, 51, 122, 111, 117, 108, 70, 80, 117, 57, 102, 48, 69, 112, 92, 114, 92, 110, 97, 61, 105, 99, 101, 45, 111, 112, 116, 105, 111, 110, 115, 58, 116, 114, 105, 99, 107, 108, 101, 92, 114, 92, 110, 97, 61, 102, 105, 110, 103, 101, 114, 112, 114, 105, 110, 116, 58, 115, 104, 97, 45, 50, 53, 54, 32, 69, 50, 58, 55, 67, 58, 57, 57, 58, 65, 50, 58, 70, 69, 58, 69, 55, 58, 55, 67, 58, 51, 48, 58, 54, 54, 58, 55, 65, 58, 51, 52, 58, 57, 48, 58, 55, 69, 58, 56, 55, 58, 70, 68, 58, 70, 56, 58, 70, 68, 58, 55, 48, 58, 67, 49, 58, 51, 67, 58, 50, 50, 58, 55, 56, 58, 48, 65, 58, 55, 56, 58, 52, 48, 58, 55, 52, 58, 70, 51, 58, 49, 55, 58, 69, 70, 58, 69, 50, 58, 69, 68, 58, 69, 69, 92, 114, 92, 110, 97, 61, 115, 101, 116, 117, 112, 58, 97, 99, 116, 105, 118, 101, 92, 114, 92, 110, 97, 61, 109, 105, 100, 58, 48, 92, 114, 92, 110, 97, 61, 115, 99, 116, 112, 45, 112, 111, 114, 116, 58, 53, 48, 48, 48, 92, 114, 92, 110, 97, 61, 109, 97, 120, 45, 109, 101, 115, 115, 97, 103, 101, 45, 115, 105, 122, 101, 58, 50, 54, 50, 49, 52, 52, 92, 114, 92, 110, 34] }, relay: MessageRelay { path: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], next_hop: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6) } }
rings-wasm-p2p/:1 {answer: '82TFauPiYEj97DVKqvfScq9EGLh9VEEchA4vVh7eeD9DHnr7yE…nHRr1yWrvqy54M4yRNWxCL3dUuPxWnsYoTRZL5xAdzPMskTDE'}
rings_node.js:1187 DEBUG crates/node/src/provider/mod.rs:133 request acceptAnswer params: Array [String("82TFauPiYEj97DVKqvfScq9EGLh9VEEchA4vVh7eeD9DHnr7yEh3GYaAEdX7sP4pP5HbURJ2kgZDZ112153somQwCGaDAfomyqA324Rqptx3aP1112VeXEo5T111111113d7BEcKx6JVutG8Yn6UuWVUsb9jX7BRmqggdAEWaFkJrX6oDG9paKVdiqn9Q9v8FbetYQGTrF67m16buL8SqoGE8RzXGTrF67JKPx5KeHnepiFnYBDkv4F6MYJX7HGMCC6TTUMD8bFQEGiMgPeJeCFcdpxmx1HGMGAar4JUAHxyMJSdSHTF6QkQktooEG5KGmEMM8stJWHJS7bUV5XmqFGCKniRaqY68v7d4ofPEhrHU4V6s5RTKyHHnjuDYy6aFGTrF67MHLDj6QDfTqDef4b8j5qhx9UhfTHGMB9jT8TbHHJS5VwUF1xU9Ztp7hF5v6U6RtYgYRTJ889Zw2c18PFEPA6YwsazkZGQ8ZVr7vMmupqAbevvUpAaVz9ELikm3wxZP9ZuEX9ZwihYHJ7uHY44CjZ6RrXfCbZvoLLRaFUoxz55JLULmZPGkS3FHyEvd4JVyazKeDRdg5b22FL8Sqm7uKsojHo7uqLLwJFc94noaq4xKMV9PHPY7CwgP99Pvkk29rF1x9EDwGn3jW7u9uJ9dyJW7Wo8ZY3bYSvohfAGKywhstYKqAGLSqDTuCysK8xUL8PW5vUAZqWHxwU3LKJU9vH8Hc9TKHyALiU1V1hH93ta26ez8iMJvkjdThniMeAa9RDhLxi8UJdQ6RAVNZpLJGSkHKyC4mPGThVZWpSBNCKp4keoNtYh2Jo8q4vaQwvJMUn3WXzbG24J6Mi4fnuBvMHGME9FLziUwLULmZRPrse1JdQ9XZNYeeXKTpiibMeEVrL9CqNyo9sA2JTcYZk4PHzU9QGb5xEmj29BuV7x67hhK4AjmUiNMxLX7A55H8xReUY1AZoLrCT8XjcAkLTRKDe2ZTCQthJLecFLD9aK4tKT3NuDAjW5MWkzaNP94sF2eStR9b9ETM8QtthwFAkJFwSiQXz9GThVZX5GkJxKmkevhBt8TnGTrF67JKQQQHmLALyzQZx4BH9edpFjLZtL9M9KA8AjoHL8Sqm7uPEdD8bhiXLAFgUk8bvwQsBFxjf9PvnEo7sKdF6iSBezzUAYF12qXv6HPVLg96YLgC1msmvHHk5w3xpMEVHnrWP9XHqYCAGQSnXJmZwD9G7zewZyGX31111111111qM78T9oqiDdr9QC9cfxBaYDA4zsfKNekoMHRjpvZC1FNEA6YyMgzzdVcA2u3bLQQtQw198AskcFfVH1111111111113TsEaBhZyH198uXDVRdmeiz3a17Wp4NqcKu2q9KjC5BicLTUk1CirtNKRyjSDqXjgdz1ePizLtMsJLVnBKQ2YALVBqSi6XJeyXeeqcwM8hhhZ111ggqZx7BE11111111111111ZNMJ2yKM112HZ87WDh4agwyhvskaUUDF7msd8XywpUYd3FxQFGhxYyYiqdvYhDF2hL6n3kSsCjTrQWyAkcTZuhsJSMjxqSwVJbDx9Jr6fCs11115jqKrzb11116UAitc1Hvmsow83HTNAbmZrH5gw19AZvJHxPkExYAS4uLTz3QznHFrCW9hTALX1111111HHGF9Zg58bXy9x39QEQfZqmGhmA4zu9RHG1De96LyMtFEYYx9jQudPLUbFF1111111111qM78T9oqiDdr9QC9cfxBaYDA4zsfKNekoMHRjpvZC1FNEA6YyMgzzdVcA4Tdw9NLKtb12qXv6HPVLg96YLgC1msmvHHk5w3xpMEVHnrWP9XHqYCAGQSnXJmZwD9G7zewZyGX31111111111qM78T9oqiDdr9QC9cfxBaYDA4zsfKNekoMHRjpvZC1FNEA6YyMgzzdVcA2u3bLQQtQw198AskcFfVH1111111111113TsEaBhZyH198uXDVRdmeiz3a17Wp4NqcKu2q9KjC5BicLTUk1CirtNKRyjSDqXjgdz1ePizLtMsJLVnBKQ2YALVBqSi6XJeyXeeqcwM8hhhZ111hBik2bhr11111111111111ZNMJ2yKM1133dY1ZcXCJiNiUtsjDoQHzUNPNyUHw2dzPiHivcBAf5KtGSnHRr1yWrvqy54M4yRNWxCL3dUuPxWnsYoTRZL5xAdzPMskTDE")]
rings_node.js:1187 DEBUG crates/core/src/swarm/impls.rs:326 accept_answer: MessagePayload { transaction: Transaction { destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), tx_id: 749ce74a-ad2c-435e-b2db-21a441890c10, data: [3, 0, 0, 0, 243, 2, 0, 0, 0, 0, 0, 0, 34, 118, 61, 48, 92, 114, 92, 110, 111, 61, 45, 32, 57, 48, 51, 55, 54, 50, 52, 54, 51, 57, 56, 53, 54, 54, 55, 51, 56, 49, 56, 32, 50, 32, 73, 78, 32, 73, 80, 52, 32, 49, 50, 55, 46, 48, 46, 48, 46, 49, 92, 114, 92, 110, 115, 61, 45, 92, 114, 92, 110, 116, 61, 48, 32, 48, 92, 114, 92, 110, 97, 61, 103, 114, 111, 117, 112, 58, 66, 85, 78, 68, 76, 69, 32, 48, 92, 114, 92, 110, 97, 61, 101, 120, 116, 109, 97, 112, 45, 97, 108, 108, 111, 119, 45, 109, 105, 120, 101, 100, 92, 114, 92, 110, 97, 61, 109, 115, 105, 100, 45, 115, 101, 109, 97, 110, 116, 105, 99, 58, 32, 87, 77, 83, 92, 114, 92, 110, 109, 61, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 32, 57, 32, 85, 68, 80, 47, 68, 84, 76, 83, 47, 83, 67, 84, 80, 32, 119, 101, 98, 114, 116, 99, 45, 100, 97, 116, 97, 99, 104, 97, 110, 110, 101, 108, 92, 114, 92, 110, 99, 61, 73, 78, 32, 73, 80, 52, 32, 48, 46, 48, 46, 48, 46, 48, 92, 114, 92, 110, 97, 61, 99, 97, 110, 100, 105, 100, 97, 116, 101, 58, 51, 52, 55, 49, 51, 56, 49, 49, 57, 55, 32, 49, 32, 117, 100, 112, 32, 50, 49, 49, 51, 57, 51, 55, 49, 53, 49, 32, 54, 97, 49, 56, 50, 50, 51, 101, 45, 51, 56, 51, 101, 45, 52, 102, 57, 97, 45, 56, 52, 98, 102, 45, 49, 52, 54, 100, 48, 55, 48, 98, 51, 56, 98, 51, 46, 108, 111, 99, 97, 108, 32, 53, 56, 54, 52, 56, 32, 116, 121, 112, 32, 104, 111, 115, 116, 32, 103, 101, 110, 101, 114, 97, 116, 105, 111, 110, 32, 48, 32, 110, 101, 116, 119, 111, 114, 107, 45, 99, 111, 115, 116, 32, 57, 57, 57, 92, 114, 92, 110, 97, 61, 99, 97, 110, 100, 105, 100, 97, 116, 101, 58, 51, 48, 56, 50, 55, 51, 51, 49, 52, 50, 32, 49, 32, 117, 100, 112, 32, 50, 49, 49, 51, 57, 51, 57, 55, 49, 49, 32, 56, 55, 51, 99, 52, 53, 56, 48, 45, 48, 51, 51, 48, 45, 52, 56, 49, 50, 45, 57, 102, 55, 99, 45, 101, 102, 100, 57, 56, 55, 99, 99, 100, 53, 101, 52, 46, 108, 111, 99, 97, 108, 32, 53, 53, 57, 49, 54, 32, 116, 121, 112, 32, 104, 111, 115, 116, 32, 103, 101, 110, 101, 114, 97, 116, 105, 111, 110, 32, 48, 32, 110, 101, 116, 119, 111, 114, 107, 45, 99, 111, 115, 116, 32, 57, 57, 57, 92, 114, 92, 110, 97, 61, 105, 99, 101, 45, 117, 102, 114, 97, 103, 58, 114, 107, 110, 118, 92, 114, 92, 110, 97, 61, 105, 99, 101, 45, 112, 119, 100, 58, 104, 99, 71, 53, 106, 100, 85, 109, 69, 120, 86, 51, 122, 111, 117, 108, 70, 80, 117, 57, 102, 48, 69, 112, 92, 114, 92, 110, 97, 61, 105, 99, 101, 45, 111, 112, 116, 105, 111, 110, 115, 58, 116, 114, 105, 99, 107, 108, 101, 92, 114, 92, 110, 97, 61, 102, 105, 110, 103, 101, 114, 112, 114, 105, 110, 116, 58, 115, 104, 97, 45, 50, 53, 54, 32, 69, 50, 58, 55, 67, 58, 57, 57, 58, 65, 50, 58, 70, 69, 58, 69, 55, 58, 55, 67, 58, 51, 48, 58, 54, 54, 58, 55, 65, 58, 51, 52, 58, 57, 48, 58, 55, 69, 58, 56, 55, 58, 70, 68, 58, 70, 56, 58, 70, 68, 58, 55, 48, 58, 67, 49, 58, 51, 67, 58, 50, 50, 58, 55, 56, 58, 48, 65, 58, 55, 56, 58, 52, 48, 58, 55, 52, 58, 70, 51, 58, 49, 55, 58, 69, 70, 58, 69, 50, 58, 69, 68, 58, 69, 69, 92, 114, 92, 110, 97, 61, 115, 101, 116, 117, 112, 58, 97, 99, 116, 105, 118, 101, 92, 114, 92, 110, 97, 61, 109, 105, 100, 58, 48, 92, 114, 92, 110, 97, 61, 115, 99, 116, 112, 45, 112, 111, 114, 116, 58, 53, 48, 48, 48, 92, 114, 92, 110, 97, 61, 109, 97, 120, 45, 109, 101, 115, 115, 97, 103, 101, 45, 115, 105, 122, 101, 58, 50, 54, 50, 49, 52, 52, 92, 114, 92, 110, 34] }, relay: MessageRelay { path: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], next_hop: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6) } }
rings_node.js:1187 DEBUG crates/transport/src/connections/web_sys_webrtc/mod.rs:187 webrtc_accept_answer, answer: "v=0\r\no=- 9037624639856673818 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=candidate:3471381197 1 udp 2113937151 6a18223e-383e-4f9a-84bf-146d070b38b3.local 58648 typ host generation 0 network-cost 999\r\na=candidate:3082733142 1 udp 2113939711 873c4580-0330-4812-9f7c-efd987ccd5e4.local 55916 typ host generation 0 network-cost 999\r\na=ice-ufrag:rknv\r\na=ice-pwd:hcG5jdUmExV3zoulFPu9f0Ep\r\na=ice-options:trickle\r\na=fingerprint:sha-256 E2:7C:99:A2:FE:E7:7C:30:66:7A:34:90:7E:87:FD:F8:FD:70:C1:3C:22:78:0A:78:40:74:F3:17:EF:E2:ED:EE\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n"
rings-wasm-p2p/:1 {peer: {…}}
rings_node.js:1187 DEBUG crates/transport/src/connections/web_sys_webrtc/mod.rs:343 Peer Connection State has changed: Connected
rings_node.js:1187 DEBUG crates/transport/src/connections/web_sys_webrtc/mod.rs:343 Peer Connection State has changed: Connected
rings_node.js:1187 DEBUG crates/transport/src/connections/web_sys_webrtc/mod.rs:276 New DataChannel rings
rings_node.js:1187 DEBUG crates/transport/src/connections/web_sys_webrtc/mod.rs:276 New DataChannel rings
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:116 START HANDLE MESSAGE: 18053874-302c-4dc0-81fe-e791f9ad87bc JoinDHT(JoinDHT { did: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6) })
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:141 FINISH HANDLE MESSAGE 18053874-302c-4dc0-81fe-e791f9ad87bc
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:173 Handle message handler event: JoinDHT(MessagePayload { transaction: Transaction { destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), tx_id: 18053874-302c-4dc0-81fe-e791f9ad87bc, data: [0, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 52, 51, 50, 101, 51, 98, 49, 50, 56, 50, 57, 57, 100, 50, 54, 54, 56, 54, 56, 57, 51, 100, 100, 98, 53, 48, 97, 56, 100, 51, 55, 54, 97, 52, 51, 97, 48, 52, 99, 54] }, relay: MessageRelay { path: [Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)], next_hop: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e) } }, Did(0x432e3b128299d26686893ddb50a8d376a43a04c6))
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:173 Handle message handler event: SendDirectMessage(FindSuccessorSend(FindSuccessorSend { did: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), strict: false, then: Report(Connect) }), Did(0x432e3b128299d26686893ddb50a8d376a43a04c6))
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:348 Try send MessagePayload { transaction: Transaction { destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), tx_id: 8d8d1f3f-2479-4976-ad5c-a40fa1e26db8, data: [4, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 53, 48, 100, 50, 101, 57, 51, 100, 101, 98, 51, 49, 50, 100, 99, 48, 54, 53, 57, 54, 54, 98, 56, 53, 54, 101, 99, 102, 101, 49, 53, 102, 55, 55, 101, 50, 50, 51, 52, 101, 0, 0, 0, 0, 0, 1, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)], next_hop: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6) } }, to node Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:375 Sent MessagePayload { transaction: Transaction { destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), tx_id: 8d8d1f3f-2479-4976-ad5c-a40fa1e26db8, data: [4, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 53, 48, 100, 50, 101, 57, 51, 100, 101, 98, 51, 49, 50, 100, 99, 48, 54, 53, 57, 54, 54, 98, 56, 53, 54, 101, 99, 102, 101, 49, 53, 102, 55, 55, 101, 50, 50, 51, 52, 101, 0, 0, 0, 0, 0, 1, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)], next_hop: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6) } }, to node Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:116 START HANDLE MESSAGE: 75a7ab39-e361-479b-9f12-ae69120740e5 JoinDHT(JoinDHT { did: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e) })
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:141 FINISH HANDLE MESSAGE 75a7ab39-e361-479b-9f12-ae69120740e5
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:173 Handle message handler event: JoinDHT(MessagePayload { transaction: Transaction { destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), tx_id: 75a7ab39-e361-479b-9f12-ae69120740e5, data: [0, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 53, 48, 100, 50, 101, 57, 51, 100, 101, 98, 51, 49, 50, 100, 99, 48, 54, 53, 57, 54, 54, 98, 56, 53, 54, 101, 99, 102, 101, 49, 53, 102, 55, 55, 101, 50, 50, 51, 52, 101] }, relay: MessageRelay { path: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], next_hop: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6) } }, Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e))
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:173 Handle message handler event: SendDirectMessage(FindSuccessorSend(FindSuccessorSend { did: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), strict: false, then: Report(Connect) }), Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e))
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:348 Try send MessagePayload { transaction: Transaction { destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), tx_id: 7b197d64-de5e-408e-bb71-ba00e4133f39, data: [4, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 52, 51, 50, 101, 51, 98, 49, 50, 56, 50, 57, 57, 100, 50, 54, 54, 56, 54, 56, 57, 51, 100, 100, 98, 53, 48, 97, 56, 100, 51, 55, 54, 97, 52, 51, 97, 48, 52, 99, 54, 0, 0, 0, 0, 0, 1, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], next_hop: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e) } }, to node Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:375 Sent MessagePayload { transaction: Transaction { destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), tx_id: 7b197d64-de5e-408e-bb71-ba00e4133f39, data: [4, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 52, 51, 50, 101, 51, 98, 49, 50, 56, 50, 57, 57, 100, 50, 54, 54, 56, 54, 56, 57, 51, 100, 100, 98, 53, 48, 97, 56, 100, 51, 55, 54, 97, 52, 51, 97, 48, 52, 99, 54, 0, 0, 0, 0, 0, 1, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], next_hop: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e) } }, to node Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)
rings_node.js:1187 DEBUG crates/transport/src/connections/web_sys_webrtc/mod.rs:316 Received DataChannelMessage from 0x50d2e93deb312dc065966b856ecfe15f77e2234e: JsValue(ArrayBuffer)
rings_node.js:1187 DEBUG crates/transport/src/connections/web_sys_webrtc/mod.rs:316 Received DataChannelMessage from 0x432e3b128299d26686893ddb50a8d376a43a04c6: JsValue(ArrayBuffer)
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:92 load message from channel: MessagePayload { transaction: Transaction { destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), tx_id: 8d8d1f3f-2479-4976-ad5c-a40fa1e26db8, data: [4, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 53, 48, 100, 50, 101, 57, 51, 100, 101, 98, 51, 49, 50, 100, 99, 48, 54, 53, 57, 54, 54, 98, 56, 53, 54, 101, 99, 102, 101, 49, 53, 102, 55, 55, 101, 50, 50, 51, 52, 101, 0, 0, 0, 0, 0, 1, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)], next_hop: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6) } }
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:116 START HANDLE MESSAGE: 8d8d1f3f-2479-4976-ad5c-a40fa1e26db8 FindSuccessorSend(FindSuccessorSend { did: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), strict: false, then: Report(Connect) })
rings_node.js:1187 DEBUG crates/core/src/dht/chord.rs:301 find_successor: self: 0x432e3b128299d26686893ddb50a8d376a43a04c6, did: 0x50d2e93deb312dc065966b856ecfe15f77e2234e, successor: SuccessorSeq { did: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), max: 3, successors: RwLock { data: [Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)], poisoned: false, .. } }, result: Ok(Some(Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)))
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:141 FINISH HANDLE MESSAGE 8d8d1f3f-2479-4976-ad5c-a40fa1e26db8
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:173 Handle message handler event: SendReportMessage(MessagePayload { transaction: Transaction { destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), tx_id: 8d8d1f3f-2479-4976-ad5c-a40fa1e26db8, data: [4, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 53, 48, 100, 50, 101, 57, 51, 100, 101, 98, 51, 49, 50, 100, 99, 48, 54, 53, 57, 54, 54, 98, 56, 53, 54, 101, 99, 102, 101, 49, 53, 102, 55, 55, 101, 50, 50, 51, 52, 101, 0, 0, 0, 0, 0, 1, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)], next_hop: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6) } }, FindSuccessorReport(FindSuccessorReport { did: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), handler: Connect }))
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:348 Try send MessagePayload { transaction: Transaction { destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), tx_id: 8d8d1f3f-2479-4976-ad5c-a40fa1e26db8, data: [5, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 53, 48, 100, 50, 101, 57, 51, 100, 101, 98, 51, 49, 50, 100, 99, 48, 54, 53, 57, 54, 54, 98, 56, 53, 54, 101, 99, 102, 101, 49, 53, 102, 55, 55, 101, 50, 50, 51, 52, 101, 1, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], next_hop: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e) } }, to node Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:375 Sent MessagePayload { transaction: Transaction { destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), tx_id: 8d8d1f3f-2479-4976-ad5c-a40fa1e26db8, data: [5, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 53, 48, 100, 50, 101, 57, 51, 100, 101, 98, 51, 49, 50, 100, 99, 48, 54, 53, 57, 54, 54, 98, 56, 53, 54, 101, 99, 102, 101, 49, 53, 102, 55, 55, 101, 50, 50, 51, 52, 101, 1, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], next_hop: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e) } }, to node Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:92 load message from channel: MessagePayload { transaction: Transaction { destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), tx_id: 7b197d64-de5e-408e-bb71-ba00e4133f39, data: [4, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 52, 51, 50, 101, 51, 98, 49, 50, 56, 50, 57, 57, 100, 50, 54, 54, 56, 54, 56, 57, 51, 100, 100, 98, 53, 48, 97, 56, 100, 51, 55, 54, 97, 52, 51, 97, 48, 52, 99, 54, 0, 0, 0, 0, 0, 1, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], next_hop: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e) } }
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:116 START HANDLE MESSAGE: 7b197d64-de5e-408e-bb71-ba00e4133f39 FindSuccessorSend(FindSuccessorSend { did: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), strict: false, then: Report(Connect) })
rings_node.js:1187 DEBUG crates/core/src/dht/chord.rs:301 find_successor: self: 0x50d2e93deb312dc065966b856ecfe15f77e2234e, did: 0x432e3b128299d26686893ddb50a8d376a43a04c6, successor: SuccessorSeq { did: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), max: 3, successors: RwLock { data: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], poisoned: false, .. } }, result: Ok(Some(Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)))
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:141 FINISH HANDLE MESSAGE 7b197d64-de5e-408e-bb71-ba00e4133f39
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:173 Handle message handler event: SendReportMessage(MessagePayload { transaction: Transaction { destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), tx_id: 7b197d64-de5e-408e-bb71-ba00e4133f39, data: [4, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 52, 51, 50, 101, 51, 98, 49, 50, 56, 50, 57, 57, 100, 50, 54, 54, 56, 54, 56, 57, 51, 100, 100, 98, 53, 48, 97, 56, 100, 51, 55, 54, 97, 52, 51, 97, 48, 52, 99, 54, 0, 0, 0, 0, 0, 1, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], next_hop: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e) } }, FindSuccessorReport(FindSuccessorReport { did: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), handler: Connect }))
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:348 Try send MessagePayload { transaction: Transaction { destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), tx_id: 7b197d64-de5e-408e-bb71-ba00e4133f39, data: [5, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 52, 51, 50, 101, 51, 98, 49, 50, 56, 50, 57, 57, 100, 50, 54, 54, 56, 54, 56, 57, 51, 100, 100, 98, 53, 48, 97, 56, 100, 51, 55, 54, 97, 52, 51, 97, 48, 52, 99, 54, 1, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)], next_hop: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6) } }, to node Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:375 Sent MessagePayload { transaction: Transaction { destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), tx_id: 7b197d64-de5e-408e-bb71-ba00e4133f39, data: [5, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 52, 51, 50, 101, 51, 98, 49, 50, 56, 50, 57, 57, 100, 50, 54, 54, 56, 54, 56, 57, 51, 100, 100, 98, 53, 48, 97, 56, 100, 51, 55, 54, 97, 52, 51, 97, 48, 52, 99, 54, 1, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)], next_hop: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6) } }, to node Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)
rings_node.js:1187 DEBUG crates/transport/src/connections/web_sys_webrtc/mod.rs:316 Received DataChannelMessage from 0x432e3b128299d26686893ddb50a8d376a43a04c6: JsValue(ArrayBuffer)
rings_node.js:1187 DEBUG crates/transport/src/connections/web_sys_webrtc/mod.rs:316 Received DataChannelMessage from 0x50d2e93deb312dc065966b856ecfe15f77e2234e: JsValue(ArrayBuffer)
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:92 load message from channel: MessagePayload { transaction: Transaction { destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), tx_id: 8d8d1f3f-2479-4976-ad5c-a40fa1e26db8, data: [5, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 53, 48, 100, 50, 101, 57, 51, 100, 101, 98, 51, 49, 50, 100, 99, 48, 54, 53, 57, 54, 54, 98, 56, 53, 54, 101, 99, 102, 101, 49, 53, 102, 55, 55, 101, 50, 50, 51, 52, 101, 1, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], next_hop: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e) } }
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:116 START HANDLE MESSAGE: 8d8d1f3f-2479-4976-ad5c-a40fa1e26db8 FindSuccessorReport(FindSuccessorReport { did: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), handler: Connect })
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:141 FINISH HANDLE MESSAGE 8d8d1f3f-2479-4976-ad5c-a40fa1e26db8
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:173 Handle message handler event: Connect(Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e))
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:92 load message from channel: MessagePayload { transaction: Transaction { destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), tx_id: 7b197d64-de5e-408e-bb71-ba00e4133f39, data: [5, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 52, 51, 50, 101, 51, 98, 49, 50, 56, 50, 57, 57, 100, 50, 54, 54, 56, 54, 56, 57, 51, 100, 100, 98, 53, 48, 97, 56, 100, 51, 55, 54, 97, 52, 51, 97, 48, 52, 99, 54, 1, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)], next_hop: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6) } }
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:116 START HANDLE MESSAGE: 7b197d64-de5e-408e-bb71-ba00e4133f39 FindSuccessorReport(FindSuccessorReport { did: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), handler: Connect })
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:141 FINISH HANDLE MESSAGE 7b197d64-de5e-408e-bb71-ba00e4133f39
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:173 Handle message handler event: Connect(Did(0x432e3b128299d26686893ddb50a8d376a43a04c6))
rings_node.js:1187 DEBUG crates/node/src/provider/mod.rs:133 request listPeers params: Array []
rings-wasm-p2p/:1 undefined
rings_node.js:1187 DEBUG crates/node/src/provider/mod.rs:133 request createOffer params: Array [String("0x50d2e93deB312Dc065966b856ECfE15f77E2234e")]
rings_node.js:1106 Uncaught (in promise) Error: Internal rpc services error: Server error: Create offer info failed: Found existing transport when answer offer from remote node..
at imports.wbg.__wbindgen_error_new (rings_node.js:1106:21)
at rings_node_bg.wasm:0x18aae3
at rings_node_bg.wasm:0x18db1
at rings_node_bg.wasm:0x148c06
at rings_node_bg.wasm:0x1a5332
at __wbg_adapter_78 (rings_node.js:260:10)
at real (rings_node.js:211:20)
imports.wbg.__wbindgen_error_new @ rings_node.js:1106
$func1369 @ rings_node_bg.wasm:0x18aae3
$func189 @ rings_node_bg.wasm:0x18db1
$func730 @ rings_node_bg.wasm:0x148c06
$_dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hab43ece25b3f66b1 @ rings_node_bg.wasm:0x1a5332
__wbg_adapter_78 @ rings_node.js:260
real @ rings_node.js:211
Promise.then (async)
onclick @ rings-wasm-p2p/:1
Show 7 more frames
Show less
rings_node.js:1187 DEBUG crates/node/src/provider/mod.rs:133 request connectWithDid params: Array [String("0x50d2e93deB312Dc065966b856ECfE15f77E2234e")]
rings_node.js:1187 DEBUG crates/core/src/measure.rs:56 [ConnectBehaviour] in Threadhold: 3, connect: 0, disconn: 0, delta: 0
rings_node.js:1187 DEBUG crates/core/src/swarm/impls.rs:104 [JudgeConnection] Try Connect Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)
rings_node.js:1187 INFO crates/core/src/swarm/impls.rs:408 Record connect Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)
rings_node.js:1187 INFO crates/core/src/swarm/impls.rs:410 [Judgement] Record connect
rings_node.js:1187 INFO crates/core/src/swarm/impls.rs:365 Try connect Did Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)
rings_node.js:1187 DEBUG crates/node/src/processor.rs:293 wait for connection connected
rings-wasm-p2p/:1 {}
rings_node.js:1187 DEBUG crates/node/src/provider/mod.rs:133 request connectWithDid params: Array [String("0x432e3b128299d26686893ddb50A8D376a43A04C6")]
rings_node.js:1187 DEBUG crates/core/src/measure.rs:56 [ConnectBehaviour] in Threadhold: 3, connect: 0, disconn: 0, delta: 0
rings_node.js:1187 DEBUG crates/core/src/swarm/impls.rs:104 [JudgeConnection] Try Connect Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)
rings_node.js:1187 INFO crates/core/src/swarm/impls.rs:408 Record connect Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)
rings_node.js:1187 INFO crates/core/src/swarm/impls.rs:410 [Judgement] Record connect
rings_node.js:1187 INFO crates/core/src/swarm/impls.rs:365 Try connect Did Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)
rings_node.js:1187 DEBUG crates/node/src/processor.rs:293 wait for connection connected
rings-wasm-p2p/:1 {}
rings_node.js:1187 DEBUG crates/core/src/dht/stabilization.rs:161 STABILIZATION notify_predecessor start
rings_node.js:1187 DEBUG crates/core/src/dht/stabilization.rs:88 STABILIZATION notify_predecessor: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:348 Try send MessagePayload { transaction: Transaction { destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), tx_id: a3601296-cd11-40da-b9b1-3dc09fcb167f, data: [6, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 53, 48, 100, 50, 101, 57, 51, 100, 101, 98, 51, 49, 50, 100, 99, 48, 54, 53, 57, 54, 54, 98, 56, 53, 54, 101, 99, 102, 101, 49, 53, 102, 55, 55, 101, 50, 50, 51, 52, 101] }, relay: MessageRelay { path: [Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)], next_hop: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e) } }, to node Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:375 Sent MessagePayload { transaction: Transaction { destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), tx_id: a3601296-cd11-40da-b9b1-3dc09fcb167f, data: [6, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 53, 48, 100, 50, 101, 57, 51, 100, 101, 98, 51, 49, 50, 100, 99, 48, 54, 53, 57, 54, 54, 98, 56, 53, 54, 101, 99, 102, 101, 49, 53, 102, 55, 55, 101, 50, 50, 51, 52, 101] }, relay: MessageRelay { path: [Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)], next_hop: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e) } }, to node Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)
rings_node.js:1187 DEBUG crates/core/src/dht/stabilization.rs:161 STABILIZATION notify_predecessor start
rings_node.js:1187 DEBUG crates/core/src/dht/stabilization.rs:88 STABILIZATION notify_predecessor: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:348 Try send MessagePayload { transaction: Transaction { destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), tx_id: 6be81808-b719-4963-9cae-f6bbe2815786, data: [6, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 52, 51, 50, 101, 51, 98, 49, 50, 56, 50, 57, 57, 100, 50, 54, 54, 56, 54, 56, 57, 51, 100, 100, 98, 53, 48, 97, 56, 100, 51, 55, 54, 97, 52, 51, 97, 48, 52, 99, 54] }, relay: MessageRelay { path: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], next_hop: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6) } }, to node Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:375 Sent MessagePayload { transaction: Transaction { destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), tx_id: 6be81808-b719-4963-9cae-f6bbe2815786, data: [6, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 52, 51, 50, 101, 51, 98, 49, 50, 56, 50, 57, 57, 100, 50, 54, 54, 56, 54, 56, 57, 51, 100, 100, 98, 53, 48, 97, 56, 100, 51, 55, 54, 97, 52, 51, 97, 48, 52, 99, 54] }, relay: MessageRelay { path: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], next_hop: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6) } }, to node Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)
rings_node.js:1187 DEBUG crates/transport/src/connections/web_sys_webrtc/mod.rs:316 Received DataChannelMessage from 0x50d2e93deb312dc065966b856ecfe15f77e2234e: JsValue(ArrayBuffer)
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:92 load message from channel: MessagePayload { transaction: Transaction { destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), tx_id: a3601296-cd11-40da-b9b1-3dc09fcb167f, data: [6, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 53, 48, 100, 50, 101, 57, 51, 100, 101, 98, 51, 49, 50, 100, 99, 48, 54, 53, 57, 54, 54, 98, 56, 53, 54, 101, 99, 102, 101, 49, 53, 102, 55, 55, 101, 50, 50, 51, 52, 101] }, relay: MessageRelay { path: [Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)], next_hop: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e) } }
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:116 START HANDLE MESSAGE: a3601296-cd11-40da-b9b1-3dc09fcb167f NotifyPredecessorSend(NotifyPredecessorSend { did: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e) })
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:141 FINISH HANDLE MESSAGE a3601296-cd11-40da-b9b1-3dc09fcb167f
rings_node.js:1187 DEBUG crates/core/src/dht/stabilization.rs:165 STABILIZATION notify_predecessor end
rings_node.js:1187 DEBUG crates/core/src/dht/stabilization.rs:166 STABILIZATION fix_fingers start
rings_node.js:1187 DEBUG crates/core/src/dht/chord.rs:301 find_successor: self: 0x50d2e93deb312dc065966b856ecfe15f77e2234e, did: 0x0000000000000000000000000000000000000002, successor: SuccessorSeq { did: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), max: 3, successors: RwLock { data: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], poisoned: false, .. } }, result: Ok(Some(Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)))
rings_node.js:1187 DEBUG crates/core/src/dht/finger.rs:69 set finger table index: 1 did: 0x432e3b128299d26686893ddb50a8d376a43a04c6
rings_node.js:1187 DEBUG crates/core/src/dht/stabilization.rs:170 STABILIZATION fix_fingers end
rings_node.js:1187 DEBUG crates/core/src/dht/stabilization.rs:171 STABILIZATION clean_unavailable_connections start
rings_node.js:1187 DEBUG crates/core/src/dht/stabilization.rs:178 STABILIZATION clean_unavailable_connections end
rings_node.js:1187 DEBUG crates/transport/src/connections/web_sys_webrtc/mod.rs:316 Received DataChannelMessage from 0x432e3b128299d26686893ddb50a8d376a43a04c6: JsValue(ArrayBuffer)
rings_node.js:1187 DEBUG crates/core/src/dht/stabilization.rs:165 STABILIZATION notify_predecessor end
rings_node.js:1187 DEBUG crates/core/src/dht/stabilization.rs:166 STABILIZATION fix_fingers start
rings_node.js:1187 DEBUG crates/core/src/dht/chord.rs:301 find_successor: self: 0x432e3b128299d26686893ddb50a8d376a43a04c6, did: 0x0000000000000000000000000000000000000002, successor: SuccessorSeq { did: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), max: 3, successors: RwLock { data: [Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)], poisoned: false, .. } }, result: Ok(RemoteAction(Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), FindSuccessor(Did(0x0000000000000000000000000000000000000002))))
rings_node.js:1187 DEBUG crates/core/src/dht/stabilization.rs:112 STABILIZATION fix_fingers: Did(0x0000000000000000000000000000000000000002)
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:348 Try send MessagePayload { transaction: Transaction { destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), tx_id: 56fb708e-4ea1-4c4e-846c-38e76bfa4676, data: [4, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 50, 0, 0, 0, 0, 0, 2, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], next_hop: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e) } }, to node Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:375 Sent MessagePayload { transaction: Transaction { destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), tx_id: 56fb708e-4ea1-4c4e-846c-38e76bfa4676, data: [4, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 50, 0, 0, 0, 0, 0, 2, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], next_hop: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e) } }, to node Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)
rings_node.js:1187 DEBUG crates/transport/src/connections/web_sys_webrtc/mod.rs:316 Received DataChannelMessage from 0x432e3b128299d26686893ddb50a8d376a43a04c6: JsValue(ArrayBuffer)
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:92 load message from channel: MessagePayload { transaction: Transaction { destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), tx_id: 6be81808-b719-4963-9cae-f6bbe2815786, data: [6, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 52, 51, 50, 101, 51, 98, 49, 50, 56, 50, 57, 57, 100, 50, 54, 54, 56, 54, 56, 57, 51, 100, 100, 98, 53, 48, 97, 56, 100, 51, 55, 54, 97, 52, 51, 97, 48, 52, 99, 54] }, relay: MessageRelay { path: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], next_hop: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6) } }
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:116 START HANDLE MESSAGE: 6be81808-b719-4963-9cae-f6bbe2815786 NotifyPredecessorSend(NotifyPredecessorSend { did: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6) })
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:141 FINISH HANDLE MESSAGE 6be81808-b719-4963-9cae-f6bbe2815786
rings_node.js:1187 DEBUG crates/core/src/dht/stabilization.rs:170 STABILIZATION fix_fingers end
rings_node.js:1187 DEBUG crates/core/src/dht/stabilization.rs:171 STABILIZATION clean_unavailable_connections start
rings_node.js:1187 DEBUG crates/core/src/dht/stabilization.rs:178 STABILIZATION clean_unavailable_connections end
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:92 load message from channel: MessagePayload { transaction: Transaction { destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), tx_id: 56fb708e-4ea1-4c4e-846c-38e76bfa4676, data: [4, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 50, 0, 0, 0, 0, 0, 2, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], next_hop: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e) } }
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:116 START HANDLE MESSAGE: 56fb708e-4ea1-4c4e-846c-38e76bfa4676 FindSuccessorSend(FindSuccessorSend { did: Did(0x0000000000000000000000000000000000000002), strict: false, then: Report(FixFingerTable) })
rings_node.js:1187 DEBUG crates/core/src/dht/chord.rs:301 find_successor: self: 0x50d2e93deb312dc065966b856ecfe15f77e2234e, did: 0x0000000000000000000000000000000000000002, successor: SuccessorSeq { did: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), max: 3, successors: RwLock { data: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], poisoned: false, .. } }, result: Ok(Some(Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)))
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:141 FINISH HANDLE MESSAGE 56fb708e-4ea1-4c4e-846c-38e76bfa4676
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:173 Handle message handler event: SendReportMessage(MessagePayload { transaction: Transaction { destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), tx_id: 56fb708e-4ea1-4c4e-846c-38e76bfa4676, data: [4, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 50, 0, 0, 0, 0, 0, 2, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)], next_hop: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e), destination: Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e) } }, FindSuccessorReport(FindSuccessorReport { did: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), handler: FixFingerTable }))
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:348 Try send MessagePayload { transaction: Transaction { destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), tx_id: 56fb708e-4ea1-4c4e-846c-38e76bfa4676, data: [5, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 52, 51, 50, 101, 51, 98, 49, 50, 56, 50, 57, 57, 100, 50, 54, 54, 56, 54, 56, 57, 51, 100, 100, 98, 53, 48, 97, 56, 100, 51, 55, 54, 97, 52, 51, 97, 48, 52, 99, 54, 2, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)], next_hop: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6) } }, to node Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:375 Sent MessagePayload { transaction: Transaction { destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), tx_id: 56fb708e-4ea1-4c4e-846c-38e76bfa4676, data: [5, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 52, 51, 50, 101, 51, 98, 49, 50, 56, 50, 57, 57, 100, 50, 54, 54, 56, 54, 56, 57, 51, 100, 100, 98, 53, 48, 97, 56, 100, 51, 55, 54, 97, 52, 51, 97, 48, 52, 99, 54, 2, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)], next_hop: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6) } }, to node Did(0x432e3b128299d26686893ddb50a8d376a43a04c6)
rings_node.js:1187 DEBUG crates/transport/src/connections/web_sys_webrtc/mod.rs:316 Received DataChannelMessage from 0x50d2e93deb312dc065966b856ecfe15f77e2234e: JsValue(ArrayBuffer)
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:92 load message from channel: MessagePayload { transaction: Transaction { destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), tx_id: 56fb708e-4ea1-4c4e-846c-38e76bfa4676, data: [5, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 48, 120, 52, 51, 50, 101, 51, 98, 49, 50, 56, 50, 57, 57, 100, 50, 54, 54, 56, 54, 56, 57, 51, 100, 100, 98, 53, 48, 97, 56, 100, 51, 55, 54, 97, 52, 51, 97, 48, 52, 99, 54, 2, 0, 0, 0] }, relay: MessageRelay { path: [Did(0x50d2e93deb312dc065966b856ecfe15f77e2234e)], next_hop: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), destination: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6) } }
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:116 START HANDLE MESSAGE: 56fb708e-4ea1-4c4e-846c-38e76bfa4676 FindSuccessorReport(FindSuccessorReport { did: Did(0x432e3b128299d26686893ddb50a8d376a43a04c6), handler: FixFingerTable })
rings_node.js:1187 DEBUG crates/core/src/message/handlers/mod.rs:141 FINISH HANDLE MESSAGE 56fb708e-4ea1-4c4e-846c-38e76bfa4676
rings_node.js:1187 DEBUG crates/core/src/swarm/mod.rs:173 Handle message handler event: Connect(Did(0x432e3b128299d26686893ddb50a8d376a43a04c6))
rings_node.js:1187 DEBUG crates/node/src/provider/mod.rs:133 request listPeers params: Array []
rings-wasm-p2p/:1 undefined
rings_node.js:1187 DEBUG crates/node/src/provider/mod.rs:133 request listPeers params: Array []
rings-wasm-p2p/:1 undefined
rings_node.js:1187 DEBUG crates/node/src/provider/mod.rs:133 request listPeers params: Array []
rings-wasm-p2p/:1 undefined
rings_node.js:1187 DEBUG crates/node/src/provider/mod.rs:133 request nodeInfo params: Array []
rings-wasm-p2p/:1 undefined
rings_node.js:1187 DEBUG crates/node/src/provider/mod.rs:133 request sendSimpleText params: Array [String("0x432e3b128299d26686893ddb50A8D376a43A04C6"), String(" lolcat")]
rings_node.js:1106 Uncaught (in promise) Error: Internal rpc services error: Method not found: method sendSimpleText is not found.
at imports.wbg.__wbindgen_error_new (rings_node.js:1106:21)
at rings_node_bg.wasm:0x18aae3
at rings_node_bg.wasm:0x18db1
at rings_node_bg.wasm:0x148c06
at rings_node_bg.wasm:0x1a5332
at __wbg_adapter_78 (rings_node.js:260:10)
at real (rings_node.js:211:20)
imports.wbg.__wbindgen_error_new @ rings_node.js:1106
$func1369 @ rings_node_bg.wasm:0x18aae3
$func189 @ rings_node_bg.wasm:0x18db1
$func730 @ rings_node_bg.wasm:0x148c06
$_dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hab43ece25b3f66b1 @ rings_node_bg.wasm:0x1a5332
__wbg_adapter_78 @ rings_node.js:260
real @ rings_node.js:211
Promise.then (async)
onclick @ rings-wasm-p2p/:1
Show 7 more frames
Show less

</details>
@sloev sloev added the question Further information is requested label Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant