Oddbean new post about | logout
 I'm trying to integrate negentropy into coracle and running into some mysterious errors. I'm sending the following message to relay.damus.io:

```
["NEG-OPEN","NEG-78170247",{"kinds":[1],"authors":["97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322"]},"6100000216bbca77492e78267aea99c68a7d307ec0dd2b63c419e0be8611a3a669f3db908bf45ea7eee4cada66562498f2c226803c4e9f40161d4d3e33d624a08bbea4197fe00a3eb601abd0931fc2fbd37c21e866b992266deda52d9b50edf0a528a6f89cc53ab8ca7154c92c583071bcd9d96035c5c6c30c1b14015df8d3267ea29e12b8586142c8d0221f8840fa596b033c904bf0e6c37c00b6353acc4e47bba06ab60f94f556fb35469728719cd41a535d84ebf7a89a8a9d396d75ca40fba052401b95ec4470f5b85dc6d52f7fbd703d8fe22d5bd5284262908247f682c6096f6448c7588b5d394b5192b42570122c419a4d30f87efd3a8b9d1f0b26bcfc88f9b26c8e7555dab12c1db5ac948591075fd21005408ec8b6e20b9a92a59d7d80cb733bf32d44eaef840a596c354d2876534f7827c4e1e2c73c6be0372d2b34c7424d8e8d4448ddf614f95acca0e44f4f2403b136b9da6aeed86b8d00befd2c9dd8129ab45cca91f819cd665f0b2d4652ba74c34b223fd0b4c9838da43d157db8929d4a009ffa472b4554c3f57a7b64a65d40003b0c093b52cd84b2e2c9b5ab61f8c37fa37ce3710ccb936bd9776892dc5024ebb9557ef55b060f456852725e47f58743f703f02408373b59d3706a7c8b24f20746eff68626e47b75bd5dbeff429eaba2b1899301206ba198f0f3084b35fe30b3c64d21c42e93b8387a13fc7f063af5fca393e1998424d037c603f823ef8b87794fdca778f31dbd9b5752b0685deadbd5a52506094195e0017c1fefc20eb2d361db0a19f7b75782410360c27224059df257846d13ebdefcafc047706f0e631d25af70288685a6e4b24d69674dd527df9e592f9c41d6bdc8adeea672b588c0f4546615d0b611e1dd6bba9b62c61a27a1b2dac06b885269484114741b471da4c085bd7c1d6028ed7bca7d4a31b787ce802381de6f246e3352078ef1c21522ac628da87521d0e83ffdf1bf562079d2b7ebb0fa"]
```

Damus responds with:

```
["NOTICE","ERROR: negentropy error: negentropy query missing elements"]
```

You can find the bulk of my code below. I'm relying on the latest version of Negentropy.js

https://github.com/coracle-social/welshman/blob/master/packages/net/src/Executor.ts#L94

Any hints? Is it a protocol mismatch? nostr:nprofile1qy88wumn8ghj7mn0wvhxcmmv9uq32amnwvaz7tmjv4kxz7fwv3sk6atn9e5k7tcpremhxue69uhkummnw3ez6ur4vgh8wetvd3hhyer9wghxuet59uq3wamnwvaz7tmrvyh8yetvv9ukzcnvv5hx7un89uq3gamnwvaz7tmjv4kxz7tpvfkx2tn0wfnj7qpqyxprsscnjw2e6myxz73mmzvnqw5kvzd5ffjya9ecjypc5l0gvgkskcrj9w  nostr:nprofile1qyghwumn8ghj7mn0wd68ytnhd9hx2tcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsz9nhwden5te0wfjkccte9ekk7um5wgh8qatz9uqsuamnwvaz7tmwdaejumr0dshszxnhwden5te0v9e8gtnwdaehgunxwfjkz6mn9e3k7mf0qqsr9cvzwc652r4m83d86ykplrnm9dg5gwdvzzn8ameanlvut35wy3gwau2us  nostr:nprofile1qyd8wumn8ghj7urewfsk66ty9enxjct5dfskvtnrdakj7qg3waehxw309ahx7um5wgh8w6twv5hszynhwden5te0dehhxarjw4jjucm0d5hsz8rhwden5te0wdshgetvd35hgefwdpa8yep3xsujucm0d5hsz3thwden5te0xaehyu3hvd58jcekwekxs7nsvvexsmpkd3uh2mn8wek82mmg0fex6aphxe4kyue5ddkhjergwfux7cttdd38zatpvshxcmmrv9kz7qpqye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjstgenpa