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

Fix gateway writable state check #1

Open
fooock opened this issue Mar 30, 2019 · 2 comments
Open

Fix gateway writable state check #1

fooock opened this issue Mar 30, 2019 · 2 comments

Comments

@fooock
Copy link
Owner

fooock commented Mar 30, 2019

See ipfs/public-gateway-checker#3 (comment)

@fooock
Copy link
Owner Author

fooock commented Mar 30, 2019

Seems that Infura has weird behavior when I make a post request to check gateway writable state. If I execute curl -v -X POST https://ipfs.infura.io/ipfs/:

> POST /ipfs/ HTTP/1.1
> Host: ipfs.infura.io
> User-Agent: curl/7.60.0
> Accept: */*
>
< HTTP/1.1 405 Method Not Allowed
< Date: Sat, 30 Mar 2019 18:09:44 GMT
< Content-Type: text/plain; charset=utf-8
< Content-Length: 41
< Connection: keep-alive
< Server: nginx
<
* Connection #0 to host ipfs.infura.io left intact
Method POST not allowed: read only access

But Infura has writable state because I can add files througth the :5001/api/v0/add api service.

@fooock
Copy link
Owner Author

fooock commented Mar 30, 2019

The question in Infura community docs: https://community.infura.io/t/post-request-to-ipfs-gateway-returns-405/454

fooock added a commit that referenced this issue Apr 1, 2019
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

No branches or pull requests

1 participant