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

ipfshttpclient.exceptions.VersionMismatch: Unsupported daemon version '0.8.0' (not in range: 0.4.23 ≤ … < 0.8.0) #282

Closed
avatar-lavventura opened this issue May 26, 2021 · 8 comments

Comments

@avatar-lavventura
Copy link

avatar-lavventura commented May 26, 2021

How could I solve ipfshttpclient.exceptions.VersionMismatch: Unsupported daemon version '0.8.0' (not in range: 0.4.23 ≤ … < 0.8.0) error? What may be the reason of this error?

>>> client = ipfshttpclient.connect()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/alper/venv/lib/python3.8/site-packages/ipfshttpclient/client/__init__.py", line 119, in connect
    assert_version(client.apply_workarounds()["Version"])
  File "/home/alper/venv/lib/python3.8/site-packages/ipfshttpclient/client/__init__.py", line 69, in assert_version
    raise exceptions.VersionMismatch(version, minimum, maximum)
ipfshttpclient.exceptions.VersionMismatch: Unsupported daemon version '0.8.0' (not in range: 0.4.23 ≤ … < 0.8.0)

$ pip freeze | grep ipfs
ipfshttpclient==0.7.0a1

$ pip freeze | grep daemon
daemon==1.2
python-daemon==2.3.0

Can we use py-ipfs-http-client along with ipfs version v0.8.0?

@ntninja
Copy link
Contributor

ntninja commented May 27, 2021

It does talk about the go-IPFS daemon version, yes. 🙂

For now just install the preview version and hope we get to release a proper version soon: pip install ipfshttpclient==0.8.0a1 !

@avatar-lavventura
Copy link
Author

Thanks. Is it also recommended to install the master repo using pip install git+https://github.com/ipfs-shipyard/py-ipfs-http-client or should I stick with 0.8.0a1?

@avatar-lavventura
Copy link
Author

avatar-lavventura commented Jul 17, 2021

It does talk about the go-IPFS daemon version, yes. 🙂

For now just install the preview version and hope we get to release a proper version soon: pip install ipfshttpclient==0.8.0a1 !

This issue is open since May. It will be helpful with a simple guidence to be clear.

Still [master-repo, v0.8.0a1, v0.8.0a2] gives following warning message:

~/venv/lib/python3.8/site-packages/ipfshttpclient/client/__init__.py:75: VersionMismatch: Unsupported daemon version '0.9.0' (not in range: 0.5.0 ≤ … < 0.9.0) warnings.warn(exceptions.VersionMismatch(version, minimum, maximum))

Will we able to use py-ipfs-http-client along with ipfs version 0.9.0? If yes, what is the proper way to do it?

@kasteph
Copy link
Collaborator

kasteph commented May 16, 2023

This actually looks like a duplicate of #313 and it seems to be an ongoing problem whenever kubo upgrades. For any ongoing discussions/issues for this topic, I'd like to defer to the other issue so that it's easier to have the info in one place and focus.

Thanks.

@kasteph kasteph closed this as completed May 16, 2023
@avatar-lavventura
Copy link
Author

avatar-lavventura commented May 16, 2023

@kasteph Since May 26 2021 there is no improvement in this issue, which is actually asked 1 yearbefore the linked issue #313. There has not been any focus in this over 2 years.

@kasteph
Copy link
Collaborator

kasteph commented May 17, 2023

Hi @avatar-lavventura, thanks for your reply. I understand your concern and I have already started working on this issue here.

The decision to keep #313 open was arbitrary. This doesn't mean that this isn't a valid issue, however. I simply think that they are talking about a similar issue and I'm trying to tidy up the issue tracker so that code contributors can focus instead of having to sift through duplicate issues.

@avatar-lavventura
Copy link
Author

@kasteph Thanks I appreciated your help!

@Admski
Copy link

Admski commented May 21, 2023

SOLUTION!:
What worked for me on mac 13.2.1 was de-installing ipfs completly from the system. Deleting all files even on /usr/local/bin. After that installing ipfs version 0.7.0. This was working and looked like this:

Initializing daemon...
go-ipfs version: 0.7.0
Repo version: 10
System version: amd64/darwin
Golang version: go1.14.4

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

4 participants