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

Add explicit logging when NIP-05 verification requests fail #199

Closed
wants to merge 1 commit into from

Conversation

danielemery
Copy link
Contributor

Like reported in #130 and #147 I was also having trouble diagnosing why NIP-05 requests were failing.

In my case it was:

  1. Because my server was returning a 404 when the name query string was being provided (I only tested it without a query string)
  2. Because my server wasn't returning a content-length header

I debugged these issues by running this forked version with extra-logging version locally and pointing a client at it.

I thought I would raise a PR with the extra logging in case it makes sense to upstream.

@scsibug
Copy link
Owner

scsibug commented Aug 14, 2024

Thanks, this is now merged. Looks like this will help others troubleshoot NIP-05 documents.

@scsibug scsibug closed this Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants