gomobile-ipfs
gomobile-ipfs copied to clipboard
When I use files/rm or cp, it report Error "sending request failed"
Asking a question, not reporting a bug
- [X] This question is not about a bug
Is there an existing issue for this?
- [X] I have searched the existing issues
Question
do { let res1 = try self.ipfs?.newRequest("files/rm") .with(argument: mfsPath) .send() print("exeRmCmd files/rm res1: ", res1) return res1 }catch let error { print("Error: exeRmCmd Rm: (error) mfsPath:(mfsPath)") }
the msfPath is Exist , can be readed use files/stat but files/rm cp catch Error: Error Domain=IPFS.RequestBuilder Code=6 "sending request failed" UserInfo={NSLocalizedDescription=sending request failed, NSLocalizedFailureReason=The operation couldn’t be completed. (Foundation._GenericObjCError error 0.)}
Context
How to solve this problem?