-
Notifications
You must be signed in to change notification settings - Fork 52
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
Support for go-ipfs v0.5 #62
Comments
Can confirm it does not work with 0.5. However, in my read, the code is structure nicely that making them use a POST doesn't look wildly complicated, however I suspect more work would be needed to perhaps know the version the server runs? |
I don't believe checking version is needed: old versions of go-ipfs support POST already. |
@richardschneider it would be great to get this fix as currently the FileSystem.GetAsync method fails as method not supported. It needs to be a POST and not a GET from now on so it seems. |
Block.GetAsync() is suffering from the same issue it seems... |
Sensing that this has been abandoned - 2021 - GET is still broken - getting 405 method not allowed - and adding GET to http methods on ipfs node allow list - does not resolve. |
Yup- that’s what I did in the end- but if support for this project is on hold I might move to an alternative c# library. |
@Baaleos can you recommend an alternative and actively maintained client library for .NET/C# that we could link to from https://github.com/ipfs/ipfs/#http-client-libraries? Right now both C# libs listed there seem to be abandoned. |
Really this project just needs someone to pick it back up. Ideally someone with write access to the repo and the ability to push to nuget. An active fork would do just as well, but visibility would be poor if the author doesn't (or can't) link to a maintained version. @richardschneider You still around buddy? |
POST-only HTTP API
go-ipfs 0.5 will block
GET
commands on the API port (ipfs/kubo#7097), requiring every command (RPC) to be sent as HTTPPOST
request.See API reference docs: https://docs.ipfs.io/reference/api/http/
This is potentially a breaking change,
double check if this project uses
POST
for every RPC call.Testing
Download links for v0.5-rc* are available at ipfs/kubo#7109
You can also test using an ephemeral Docker container:
$ docker run --rm -it --net=host ipfs/go-ipfs:v0.5.0-rc1
The text was updated successfully, but these errors were encountered: