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

Medium hub doesn't verify intent #159

Open
alesito85 opened this issue Oct 6, 2023 · 2 comments
Open

Medium hub doesn't verify intent #159

alesito85 opened this issue Oct 6, 2023 · 2 comments

Comments

@alesito85
Copy link

alesito85 commented Oct 6, 2023

I'm trying to subscribe to some topics but I have issues because the Medium hub doesn't verify my intent - it doesn't contact my callback to have the challenge returned.

I've verified that the server is reachable and is responding, but no requests are coming through. Should I check something else?

And yes, the request for subscription did return 202.

Is the callback ok to be https?

Also some feeds can't be added at all, returning an error 422 with text Please provide a valid hub.topic (feed) URL that is accepted on this hub. This url could not be fetched. Even though it's a valid user. This happens even after correcting it to the url that the response tells me the topic has to be. For example I did a test with https://yieldguild.medium.com/feed and got response that the topic should be https://medium.com/@yieldguild/feed. But when I set this topic I get error 422.

@julien51
Copy link
Member

Thanks for reporting! We will be investugating! Can you send us an example of full request you are sending? Thanks!

@alesito85
Copy link
Author

I don't currently have it on hand, but what I've found was that I can get it to work if I retry subscribe up to 10 times. Meaning sending the same request and it will eventually work.

I do have another issue that I've somehow circumvented to resolve it. I couldn't get a callback to one domain via HTTPS, while I could get it to another. The resolution ended up being to use HTTP.

I've checked Nginx logs and the request doesn't reach the server at all when using HTTPS.

Both domains are through proxied CloudFlare DNS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants