-
Notifications
You must be signed in to change notification settings - Fork 1.2k
OperationError: The operation failed for an operation-specific reason on IPFS.create() (iOS 14.7.1) #3878
Comments
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
Finally, remember to use https://discuss.ipfs.io if you just need general support. |
I just updated to iOS 15. which includes a significant update to Safari, and IPFS works as expected with the exact same source code. This bug seems to be specific to iOS/Safari 14.7.1. More testing would be needed to determine if it affects all older iOS versions or just 14.7.1. |
Thanks for reporting. Given new iOS addresses this issue, maintainers aren't going to dig into this issue for 14.7. |
Hi! I just noticed the same problem on iOS 14.[6|8]. Is there any one working on a solution? It does work on iOS 15, but according to figures from last month (here), only ~60% of iPhone users have upgraded to iOS 15, with still 36% of them on iOS 14. It seems difficult to me to consider that a critical bug like this one shouldn't be fixed for such a large user base considering the notoriety IPFS has gained over the years. |
We're starting to hit these issues at fission as well. Has someone made progress on figuring out where this issue is coming from yet? In case we can figure out a fix for this, would you be open to merging a fix for this @BigLep? |
Workaround, change the crypto algorithm for the peer id keypair: IPFS.create({
init: { algorithm: isSafari ? "RSA" : "Ed25519" }
}) |
Seems to be a problem stemming from
SubtleCrypto
since the exception is fromSubtleCrypto.decrypt()
orSubtleCrypto.encrypt()
, so I assume it's somewhere inlibp2p-crypto
https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/decrypt#exceptions
https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt#exceptions
Severity: High - iOS 14 functionality broken
Description:
When trying to use
ipfs-core
on iOS 14.7.1,IPFS.create()
fails to run with the following exception shown in the console:The console log shows the error is from App.js:8 but that isn't reflect when copy/pasting for some reason:
Steps to reproduce the error:
npx create-react-app ipfs-test && cd ipfs-test
npm i ipfs-core
npm start
package-lock.json
package.json
Note: I am running this on the
node:14
docker image behind traefik so I am accessing the site via HTTPSThe text was updated successfully, but these errors were encountered: