i have discovered a problematic feature of the nip-42 auth system that interferes a bit with the operation of a chatbot
authentication is per subscription
#coracle at least seems to try to open several subscriptions and maybe i have to make the relay drop the connections properly when auth fails or something, but it jams up the chat bot because it's trying to send events without the auth being there and when it finds no auth it says neigh
i'm not 100% certain what's going on but concurrency bugs are on the horizon again, because sometimes it works, sometimes it gets stuck for a while, and other times it doesn't work, so this kinda makes it consistent with a concurrency race condition problem, i'm looking at this code and it looks like i'm removing yet another goroutine, not sure yet, need to look closer, but this will be the third goroutine i have removed from khatru relay code
#devstr