mikedilger / gossip

Gossip is a nostr client
Other
696 stars 77 forks source link

uninstalling and reinstalling doesn't fully reset Gossip ( windows 10 ) #632

Open GretaFrank opened 8 months ago

GretaFrank commented 8 months ago

have been away from Gossip for a while using noStrudel but recently with the whole switch to read and write relays noStrudel is pretty banged up and not really usable so i'm trying to get Gossip to work

i uninstalled the old one and installed the latest one to Windows 10 using MSI file but relays all time out

what bothers me is when i uninstall and reinstall it only asks me for password ( Gossip calls it "passphrase" even though it's clearly just a password ) - it is storing my account info somewhere even when uninstalled.

i did try deleting the the account manually from the Keys menu ( Gossip calls it "delete this identity" ) but even though that does require me to input my NSEC all over again it somehow still shows the bio i used to have months ago back when Gossip used to work for me and not the BIO i currently use which all other clients show.

so a bunch of information related to my account and / or settings is being stored somewhere by Gossip and i don't know how to reset it.

i want to reset everything COMPLETELY and start from scratch.

my real goal is of course just to get relays to connect and Gossip to work but i feel like the prudent thing to do in terms of troubleshooting is a clean, fresh start with nothing but my NSEC and with all settings and any other information wiped.

HELP !

mikedilger commented 8 months ago

Your gossip configuration is stored in your gossip directory which is a subdirectory of your data_dir defined here: https://docs.rs/dirs/latest/dirs/fn.data_dir.html

So something like (use your drive letter and username): C:\Users\Alice\AppData\Roaming\gossip\

You can nuke that entire directory.

When you restart you'll find a new wizard to help get you setup. Let me know if it doesn't work.

mikedilger commented 8 months ago

The term "passphrase" is used in order to encourage users to use longer passwords.

Once you are running, please go to the menu "Relays > Active Relays" at let me know if there are any with green circles, or if they are all showing yellow circles (or if there is nothing in the list). I've heard from one other person that none of the relays were connecting, so I'd be keen to figure out why since it doesn't happen to most people.

GretaFrank commented 8 months ago

first of all the other person who complained about relays not connecting is me ...

now ... i uninstalled again and deleted the directory you mentioned, then reinstalled the latest version from MSI

i logged in with my NSEC and created a new password. in the keys page it correctly recovered my NPUB.

everything is blank now - my entire profile is blank - no name or bio - the relay list is blank ( except purplepages ) and the list of people i'm following is empty ...

i added relay.mostr.pub and restarted gossip

it still says "timeout, retry in ( countdown timer ) seconds" for both purplepages and mostr.pub just as it previously would say for all the relays ... the circles next to relays are YELLOW

so yeah the other person is me so maybe it only happens to me, but that's what i'm getting ...

image

image

GretaFrank commented 8 months ago

trying to post a test note gave no warning and it shows up in my notes, but doesn't actually post when viewed from other clients

image

mikedilger commented 8 months ago

Are you running it from a console window? Do you have the console output? There might be a message in there as to what precisely is happening.

The cause is not obvious. Is there a firewall in the way? I dunno.

When posting a test note it will remember that note locally even if it never sees it from a relay. If you hover over the eye symbol on the right side of the note it shows a list of relays the note was seen on. For you that list is probably empty.

GretaFrank commented 8 months ago

console output after logging in with my "passphrase"

←[2m2024-01-30T01:02:37.449693Z←[0m ←[32m INFO←[0m ←[2mgossip-lib\src\filter.rs←[0m←[2m:←[0m←[2m30:←[0m No spam filter: The system cannot find the file specified. (os error 2) ←[2m2024-01-30T01:02:37.977840Z←[0m ←[32m INFO←[0m ←[2mgossip-bin\src\ui\mod.rs←[0m←[2m:←[0m←[2m492:←[0m DPI (overridden): 200 ←[2m2024-01-30T01:03:26.383526Z←[0m ←[33m WARN←[0m ←[2mC:\Users\Mike.cargo\registry\src\index.crates.io-6f17d22bba15001f\reqwest-0.11.22\src\async_impl\client.rs←[0m←[2m:←[0m←[2m496:←[0m rustls failed to parse DER certificate InvalidCertificate(BadEncoding) Certificate(b"0\x82\x03\xb30\x82\x02\x9b\xa0\x03\x02\x01\x02\x02\x10D\x12\x1f\x1b\x82\xb1B\xacOF\"\xf2+\t\xe2\x800\r\x06\t\x86H\x86\xf7\r\x01\x01\r\x05\00K1$0\"\x06\x03U\x04\x03\x13\x1bRazer Chroma SDK Local Cert1\x0f0\r\x06\x03U\x04\x0b\x13\x06Chroma1\x120\x10\x06\x03U\x04\n\x13\tRazer Inc0\x1e\x17\r231215102109Z\x17\r241215102109Z0K1$0\"\x06\x03U\x04\x03\x13\x1bRazer Chroma SDK Local Cert1\x0f0\r\x06\x03U\x04\x0b\x13\x06Chroma1\x120\x10\x06\x03U\x04\n\x13\tRazer Inc0\x82\x01\"0\r\x06\t\x86H\x86\xf7\r\x01\x01\x01\x05\0\x03\x82\x01\x0f\00\x82\x01\n\x02\x82\x01\x01\0\xbf\xc5x\xb2t7\xac\xdb\x1b\xca\xb1G|7\xcf\x06\xcf\x88\x1e|=fw\xea2\x8e\xa0\xd3\xbcHo\xe6\x85#\x16\xfa\x0b\xb6\xa5\x88\xf8=\xafT\xc7\xda\xc7\x17\xd8\x95\x97\x19\xe8\xe7\xf7O\xaa\x8e\xbb\x93W\x80\n\x9eO2\x05\x02\xea\xa8 \xd6)i1\x8c\x12\xc8+9\xba\xf7\x1b\xd4\x9cr\xfeo^N6\xcb\xa7\x9dK\xcc\xdfZ\x06\x13\xc7\xce]$a\xf4j\x80\xc8\xfd\xf4\xa5\xc0\x82\x8a\xca\xbe\xe2\xafh\x8ei32\xa1R\xcciT2\x10\xc1v\xc8\xb5B\xa0B\x1aec,\xe0\x85Z\xe1\xd8\xc1\x82\x87\x1a\xcd\xcc>(r\xc0-'o\x0f\xcb0Wj:\x98\x0e<\x85\x8f\xd8\xf5\x8a\xaei\xe2\xae\xb2\xd8Lb^\xd8\xfe;L|\xd5\xd8\xe8\xca\xf3\xea\xeeu\xea{\x05T\xddw\xb7\x89FO\xa4\xa3\x15\x92\xf2\xf0\xde\x19\xb9\xab\xacGv=\xffn\xef\xba\xab\xb92!\xda/\xfd\x8c\x97K\xea\xbf\xed\xeb\xc7b\xd3&\xda:\x9d\xd6\x9a=\xc7H\xc8\xc2\xd9\x15+\xd9\x02\x03\x01\0\x01\xa3\x81\x920\x81\x8f0\x1d\x06\x03U\x1d\x0e\x04\x16\x04\x14\x10\xe9[\x05\xd0\xe0\x15\xa4\xc1\x1a\x1f\x8cI\xf7\x05z\xcb:&0\x1f\x06\x03U\x1d#\x04\x180\x16\x80\x14\x10\xe9[\x05\xd0\xe0\x15\xa4\xc1\x1a\x1f\x8cI\xf7\x05z\xcb:&0\x0f\x06\x03U\x1d\x13\x01\x01\xff\x04\x050\x03\x01\x01\xff0\x0e\x06\x03U\x1d\x0f\x01\x01\xff\x04\x04\x03\x02\x01\x060\x14\x06\x03U\x1d\x04\x01\x01\xff\x04\n0\x080\x020\0\x03\x02\x02\x040\x16\x06\x03U\x1d%\x01\x01\xff\x04\x0c0\n\x06\x08+\x06\x01\x05\x05\x07\x03\x010\r\x06\t\x86H\x86\xf7\r\x01\x01\r\x05\0\x03\x82\x01\x01\0X\xa4\xfa0;\x1f\x03\xa9K\x03W=\xe9\xe2\xb2\xbd<\x98\xf2\xed\xf9\0\xa5%\x83\xe6E\xbd\x87o\xf4k\xb9\xad\xb1\x07W\xe5\xb8\xa9\x18\x14\x13\xd64\xdeb\x13\x83M\xca<\xb1\xfc\xf4V\x13j@\x95\xa7\x11\xc4\xd2X\xa6n\xcb\tJ\xea<\x8f\x92\xb2\x7fq\xedr\xab\x84\x1902\xd0\xa6\x05\x17\x85X\xa3\x03\xc3\xc8\x8b(\xced\xd2\x81Z)\x9d\x0b\x85UP2\x8e\xceN\xf4X5\xb1\xe1\x89\xd4\xc2\xd6\xa8\xc8\xb5<\xdc\xaa\xb0\x9c\x81\x18\x01\xee\x15X\xfd\x95#[\xaf\xf3pt\xaa\x94\xbc.\x98\xe0\xd23^g\xb4\xa9\xe2M\x03\xbe\x0c\xfb\xd2\xc0\t:\xd8\xaeQ\x06\x19?;\xae\x18\xf2\x14T\x1e\xd83\xbaW~\xd7\x96\xda\xb6\x9d\xe7\xf1\x88\xc4\xa5(T\xa9S\x9d\x06\xb8jQ\x8eBBk\x8fy@\x04\xc5\0\xe1\rn\xa3\xa2\xb0\xae\x84\x8f\xa1\x96=\x8b\xac\xe8\x81\xd3\xcb0\xa6\xef\xd0\xbe\xe7\xe3n\x85r\x8e\xee\x7f0\xd1`VS\x82CC\x06\xd9\x1b\x14\x08\n") ←[2m2024-01-30T01:03:26.410622Z←[0m ←[33m WARN←[0m ←[2mC:\Users\Mike.cargo\registry\src\index.crates.io-6f17d22bba15001f\reqwest-0.11.22\src\async_impl\client.rs←[0m←[2m:←[0m←[2m496:←[0m rustls failed to parse DER certificate InvalidCertificate(BadEncoding) Certificate(b"0\x82\x03\xb30\x82\x02\x9b\xa0\x03\x02\x01\x02\x02\x10D\x12\x1f\x1b\x82\xb1B\xacOF\"\xf2+\t\xe2\x800\r\x06\t\x86H\x86\xf7\r\x01\x01\r\x05\00K1$0\"\x06\x03U\x04\x03\x13\x1bRazer Chroma SDK Local Cert1\x0f0\r\x06\x03U\x04\x0b\x13\x06Chroma1\x120\x10\x06\x03U\x04\n\x13\tRazer Inc0\x1e\x17\r231215102109Z\x17\r241215102109Z0K1$0\"\x06\x03U\x04\x03\x13\x1bRazer Chroma SDK Local Cert1\x0f0\r\x06\x03U\x04\x0b\x13\x06Chroma1\x120\x10\x06\x03U\x04\n\x13\tRazer Inc0\x82\x01\"0\r\x06\t\x86H\x86\xf7\r\x01\x01\x01\x05\0\x03\x82\x01\x0f\00\x82\x01\n\x02\x82\x01\x01\0\xbf\xc5x\xb2t7\xac\xdb\x1b\xca\xb1G|7\xcf\x06\xcf\x88\x1e|=fw\xea2\x8e\xa0\xd3\xbcHo\xe6\x85#\x16\xfa\x0b\xb6\xa5\x88\xf8=\xafT\xc7\xda\xc7\x17\xd8\x95\x97\x19\xe8\xe7\xf7O\xaa\x8e\xbb\x93W\x80\n\x9eO2\x05\x02\xea\xa8 \xd6)i1\x8c\x12\xc8+9\xba\xf7\x1b\xd4\x9cr\xfeo^N6\xcb\xa7\x9dK\xcc\xdfZ\x06\x13\xc7\xce]$a\xf4j\x80\xc8\xfd\xf4\xa5\xc0\x82\x8a\xca\xbe\xe2\xafh\x8ei32\xa1R\xcciT2\x10\xc1v\xc8\xb5B\xa0B\x1aec,\xe0\x85Z\xe1\xd8\xc1\x82\x87\x1a\xcd\xcc>(r\xc0-'o\x0f\xcb0Wj:\x98\x0e<\x85\x8f\xd8\xf5\x8a\xaei\xe2\xae\xb2\xd8Lb^\xd8\xfe;L|\xd5\xd8\xe8\xca\xf3\xea\xeeu\xea{\x05T\xddw\xb7\x89FO\xa4\xa3\x15\x92\xf2\xf0\xde\x19\xb9\xab\xacGv=\xffn\xef\xba\xab\xb92!\xda/\xfd\x8c\x97K\xea\xbf\xed\xeb\xc7b\xd3&\xda:\x9d\xd6\x9a=\xc7H\xc8\xc2\xd9\x15+\xd9\x02\x03\x01\0\x01\xa3\x81\x920\x81\x8f0\x1d\x06\x03U\x1d\x0e\x04\x16\x04\x14\x10\xe9[\x05\xd0\xe0\x15\xa4\xc1\x1a\x1f\x8cI\xf7\x05z\xcb:&0\x1f\x06\x03U\x1d#\x04\x180\x16\x80\x14\x10\xe9[\x05\xd0\xe0\x15\xa4\xc1\x1a\x1f\x8cI\xf7\x05z\xcb:&0\x0f\x06\x03U\x1d\x13\x01\x01\xff\x04\x050\x03\x01\x01\xff0\x0e\x06\x03U\x1d\x0f\x01\x01\xff\x04\x04\x03\x02\x01\x060\x14\x06\x03U\x1d\x04\x01\x01\xff\x04\n0\x080\x020\0\x03\x02\x02\x040\x16\x06\x03U\x1d%\x01\x01\xff\x04\x0c0\n\x06\x08+\x06\x01\x05\x05\x07\x03\x010\r\x06\t\x86H\x86\xf7\r\x01\x01\r\x05\0\x03\x82\x01\x01\0X\xa4\xfa0;\x1f\x03\xa9K\x03W=\xe9\xe2\xb2\xbd<\x98\xf2\xed\xf9\0\xa5%\x83\xe6E\xbd\x87o\xf4k\xb9\xad\xb1\x07W\xe5\xb8\xa9\x18\x14\x13\xd64\xdeb\x13\x83M\xca<\xb1\xfc\xf4V\x13j@\x95\xa7\x11\xc4\xd2X\xa6n\xcb\tJ\xea<\x8f\x92\xb2\x7fq\xedr\xab\x84\x1902\xd0\xa6\x05\x17\x85X\xa3\x03\xc3\xc8\x8b(\xced\xd2\x81Z)\x9d\x0b\x85UP2\x8e\xceN\xf4X5\xb1\xe1\x89\xd4\xc2\xd6\xa8\xc8\xb5<\xdc\xaa\xb0\x9c\x81\x18\x01\xee\x15X\xfd\x95#[\xaf\xf3pt\xaa\x94\xbc.\x98\xe0\xd23^g\xb4\xa9\xe2M\x03\xbe\x0c\xfb\xd2\xc0\t:\xd8\xaeQ\x06\x19?;\xae\x18\xf2\x14T\x1e\xd83\xbaW~\xd7\x96\xda\xb6\x9d\xe7\xf1\x88\xc4\xa5(T\xa9S\x9d\x06\xb8jQ\x8eBBk\x8fy@\x04\xc5\0\xe1\rn\xa3\xa2\xb0\xae\x84\x8f\xa1\x96=\x8b\xac\xe8\x81\xd3\xcb0\xa6\xef\xd0\xbe\xe7\xe3n\x85r\x8e\xee\x7f0\xd1VS\x82CC\x06\xd9\x1b\x14\x08\n") ←[2m2024-01-30T01:03:26.411315Z←[0m ←[33m WARN←[0m ←[2mC:\Users\Mike\.cargo\registry\src\index.crates.io-6f17d22bba15001f\reqwest-0.11.22\src\async_impl\client.rs←[0m←[2m:←[0m←[2m496:←[0m rustls failed to parse DER certificate InvalidCertificate(BadEncoding) Certificate(b"0\x82\x03\xb30\x82\x02\x9b\xa0\x03\x02\x01\x02\x02\x10D\x12\x1f\x1b\x82\xb1B\xacOF\"\xf2+\t\xe2\x800\r\x06\t*\x86H\x86\xf7\r\x01\x01\r\x05\00K1$0\"\x06\x03U\x04\x03\x13\x1bRazer Chroma SDK Local Cert1\x0f0\r\x06\x03U\x04\x0b\x13\x06Chroma1\x120\x10\x06\x03U\x04\n\x13\tRazer Inc0\x1e\x17\r231215102109Z\x17\r241215102109Z0K1$0\"\x06\x03U\x04\x03\x13\x1bRazer Chroma SDK Local Cert1\x0f0\r\x06\x03U\x04\x0b\x13\x06Chroma1\x120\x10\x06\x03U\x04\n\x13\tRazer Inc0\x82\x01\"0\r\x06\t*\x86H\x86\xf7\r\x01\x01\x01\x05\0\x03\x82\x01\x0f\00\x82\x01\n\x02\x82\x01\x01\0\xbf\xc5x\xb2t7\xac\xdb\x1b\xca\xb1G|7\xcf\x06\xcf\x88\x1e|=fw\xea2\x8e\xa0\xd3\xbcHo\xe6\x85#\x16\xfa\x0b\xb6\xa5\x88\xf8=\xafT\xc7\xda\xc7\x17\xd8\x95\x97\x19\xe8\xe7\xf7O\xaa\x8e\xbb\x93W\x80\n\x9eO2\x05\x02\xea\xa8 \xd6)i1\x8c\x12\xc8+9\xba\xf7\x1b\xd4\x9cr\xfeo^N6\xcb\xa7\x9dK\xcc\xdfZ\x06\x13\xc7\xce]$a\xf4j\x80\xc8\xfd\xf4\xa5\xc0\x82\x8a\xca\xbe\xe2\xafh\x8ei32\xa1R\xcciT2\x10\xc1v\xc8\xb5B\xa0B\x1aec,\xe0\x85Z\xe1\xd8\xc1\x82\x87\x1a\xcd\xcc>(r\xc0-'o\x0f\xcb0Wj:\x98\x0e<\x85\x8f\xd8\xf5\x8a\xaei\xe2\xae\xb2\xd8Lb^\xd8\xfe;L|\xd5\xd8\xe8\xca\xf3\xea\xeeu\xea{\x05T\xddw\xb7\x89FO\xa4\xa3\x15\x92\xf2\xf0\xde\x19\xb9\xab\xacGv=\xffn\xef\xba\xab\xb92!\xda/\xfd\x8c\x97K\xea\xbf\xed\xeb\xc7b\xd3&\xda:\x9d\xd6\x9a=\xc7H\xc8\xc2\xd9\x15+\xd9\x02\x03\x01\0\x01\xa3\x81\x920\x81\x8f0\x1d\x06\x03U\x1d\x0e\x04\x16\x04\x14\x10\xe9[\x05\xd0\xe0\x15\xa4\xc1\x1a\x1f\x8cI\xf7\x05z\xcb*:&0\x1f\x06\x03U\x1d#\x04\x180\x16\x80\x14\x10\xe9[\x05\xd0\xe0\x15\xa4\xc1\x1a\x1f\x8cI\xf7\x05z\xcb*:&0\x0f\x06\x03U\x1d\x13\x01\x01\xff\x04\x050\x03\x01\x01\xff0\x0e\x06\x03U\x1d\x0f\x01\x01\xff\x04\x04\x03\x02\x01\x060\x14\x06\x03U\x1d\x04\x01\x01\xff\x04\n0\x080\x020\0\x03\x02\x02\x040\x16\x06\x03U\x1d%\x01\x01\xff\x04\x0c0\n\x06\x08+\x06\x01\x05\x05\x07\x03\x010\r\x06\t*\x86H\x86\xf7\r\x01\x01\r\x05\0\x03\x82\x01\x01\0X\xa4\xfa0;\x1f\x03\xa9K\x03W=\xe9\xe2\xb2\xbd<\x98\xf2\xed\xf9\0\xa5%\x83\xe6E\xbd\x87o\xf4k\xb9\xad\xb1\x07W\xe5\xb8\xa9\x18\x14\x13\xd64\xdeb\x13\x83M\xca<\xb1\xfc\xf4V\x13j@\x95\xa7\x11\xc4\xd2X\xa6n\xcb\tJ\xea<\x8f\x92\xb2\x7fq\xedr\xab\x84\x1902\xd0\xa6\x05\x17\x85X\xa3\x03\xc3\xc8\x8b(\xced\xd2\x81Z)\x9d\x0b\x85UP2\x8e\xceN\xf4X5\xb1\xe1\x89\xd4\xc2\xd6\xa8\xc8\xb5<\xdc\xaa\xb0\x9c\x81\x18\x01\xee\x15X\xfd\x95#[\xaf\xf3pt\xaa\x94\xbc.\x98\xe0\xd23^g\xb4\xa9\xe2M\x03\xbe\x0c\xfb\xd2\xc0\t:\xd8\xaeQ\x06\x19?;\xae\x18\xf2\x14T\x1e\xd83\xbaW~\xd7\x96\xda\xb6\x9d\xe7\xf1\x88\xc4\xa5(T\xa9S\x9d\x06\xb8jQ\x8eBBk\x8fy@\x04\xc5\0\xe1\rn\xa3\xa2\xb0\xae\x84\x8f\xa1\x96=\x8b\xac\xe8\x81\xd3\xcb0\xa6\xef\xd0\xbe\xe7\xe3n\x85r\x8e\xee\x7f0\xd1VS\x82CC\x06\xd9\x1b\x14\x08\n") ←[2m2024-01-30T01:03:26.656416Z←[0m ←[31mERROR←[0m ←[2mgossip-lib\src\overlord\mod.rs←[0m←[2m:←[0m←[2m408:←[0m Minion wss://relay.mostr.pub/ completed with error: Websocket: TLS error: rustls error: invalid peer certificate: BadEncoding ←[2m2024-01-30T01:03:26.656779Z←[0m ←[32m INFO←[0m ←[2mC:\Users\Mike.cargo\git\checkouts\gossip-relay-picker-6fa537638e7e06ab\360aadc\src\lib.rs←[0m←[2m:←[0m←[2m268:←[0m wss://relay.mostr.pub/ goes into the penalty box for 60 seconds until 1706576666 ←[2m2024-01-30T01:03:26.662521Z←[0m ←[32m INFO←[0m ←[2mgossip-lib\src\overlord\mod.rs←[0m←[2m:←[0m←[2m480:←[0m Minion wss://relay.mostr.pub/ will restart in 60 seconds to continue persistent jobs ←[2m2024-01-30T01:03:26.925972Z←[0m ←[31mERROR←[0m ←[2mgossip-lib\src\overlord\mod.rs←[0m←[2m:←[0m←[2m408:←[0m Minion wss://purplepag.es/ completed with error: Websocket: TLS error: rustls error: invalid peer certificate: BadEncoding ←[2m2024-01-30T01:03:26.926187Z←[0m ←[32m INFO←[0m ←[2mC:\Users\Mike.cargo\git\checkouts\gossip-relay-picker-6fa537638e7e06ab\360aadc\src\lib.rs←[0m←[2m:←[0m←[2m268:←[0m wss://purplepag.es/ goes into the penalty box for 60 seconds until 1706576666 ←[2m2024-01-30T01:03:26.929078Z←[0m ←[32m INFO←[0m ←[2mgossip-lib\src\overlord\mod.rs←[0m←[2m:←[0m←[2m480:←[0m Minion wss://purplepag.es/ will restart in 60 seconds to continue persistent jobs

i don't have any special firewalls except the windows stuff, my Private Internet Access VPN is off and overall i think the configuration is the same as it used to be a few months ago when Gossip worked.

mikedilger commented 8 months ago

There is some TLS problem. If you compile, you can use a different TLS setup. Compiling isn't very difficult but you have to install git and rust:

1) Install git for windows https://gitforwindows.org/ 2) Install rust according to simple instructions here: https://rustup.rs/ 3) right click and start a git shell, then in that shell 4) git clone https://github.com/mikedilger/gossip 5) cd gossip 6) cargo build --release --features="native-tls" 7) Run it from same shell for now to see if it works: "./target/release/gossip"

GretaFrank commented 8 months ago

i'm too stupid for that sort of solution, but thanks anyway.

maybe i will attempt it some day if i'm bored.

i will go now LOL

GretaFrank commented 8 months ago

you know at first i posted just the lines where it was talking about relays and associated errors ... but then i decided to just post the whole thing ...

and i notice it keeps talking about Razer ( i have Razer mouse ) ... i think Razer software killed my entire Windows on my other PC ... it killed it like THREE TIMES but the first two times i was able to do repair, the third time i had to reinstall windows ...

when i see it repeating Razer Chroma SDK over and over and over i get nervous LOL

mikedilger commented 8 months ago

Maybe this Razor Chroma thing added a root certificate to your local certificate store that is somehow corrupt, and now all your SSL connections don't work.

mikedilger commented 8 months ago

In case this still isn't working, the compile options most likely to work are: 1) native-tls : the native TLS code is less strict and might be okay with the Razor certificate 2) rustls-tls : this ignores all native certs, uses webpki roots instead, and is known to work, but you can't install your own cert.

The default, rustls-tls-native uses strict rust code and your native certs, which I put into place so people could install root certificate for onion sites.

bu5hm4nn commented 7 months ago

The title of the issue suggests a feature request to offer the user a mechanism of wiping the data directory. Should we make that a feature request? @dtonon @mikedilger

mikedilger commented 7 months ago

I'll open a separate issue for that.

zberwaldt commented 7 months ago

Regarding the error about a bad certificate encoding here:

←[2m2024-01-30T01:03:26.925972Z←[0m ←[31mERROR←[0m ←[2mgossip-lib\src\overlord\mod.rs←[0m←[2m:←[0m←[2m408:←[0m Minion wss://purplepag.es/ completed with error: Websocket: TLS error: rustls error: invalid peer certificate: BadEncoding

source comment

I had the same issue with the binary I got from this repo. However, after compiling the software myself following these instructions gossip is no longer throwing the error and I can retrieve notes.

mikedilger commented 6 months ago

Yes we figured out that the combination of using rustls with system certificates was highly unreliable because rustls is very strict.

GretaFrank commented 5 months ago

good news Frens ! it works now !

when the new update came out a few hours ago i used windows uninstall tool for the old version, then installed the new one and even though it didn't seem to throw the previous error codes and now seemed to connect to some of the relays it still wouldn't show the timeline.

i then uninstalled again but this time also deleted the roaming\appdata folder and went through the install process from scratch importing NSEC and setting up a password - and this time it worked.

i see the timeline, the notifications and i can post.

time will tell how well it actually works but at least it works finally.

thanks everyone !