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

does not work #61

Open
furesoft opened this issue Dec 16, 2019 · 2 comments
Open

does not work #61

furesoft opened this issue Dec 16, 2019 · 2 comments

Comments

@furesoft
Copy link

can you provide a working version?

@richardschneider
Copy link
Owner

A few more details please

@shamtroon
Copy link

shamtroon commented Sep 24, 2020

can you provide a working version?

+1

@richardschneider I also tried your given example

using Ipfs.Http;
.
.
.
var ipfs = new IpfsClient();

const string filename = "QmXarR6rgkQ2fDSHjSY5nM2kuCXKYGViky5nohtwgF65Ec/about";
string text = await ipfs.FileSystem.ReadAllTextAsync(filename);

but it is not working, also I'am getting exception 'Connection Refused"

here are logs

 at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x001ac] in <b96b4d2a195f4dceb7e5c1beaabcb6a2>:0 \n  at System.Threading.Tasks.ValueTask'1[TResult].get_Result () [0x0001b] in <a17fa1457c5d44f2885ac746c1764ea5>:0 \n  at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00134] in <b96b4d2a195f4dceb7e5c1beaabcb6a2>:0 \n  at System.Threading.Tasks.ValueTask'1[TResult].get_Result () [0x0001b] in <a17fa1457c5d44f2885ac746c1764ea5>:0 \n  at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask'1[TResult] creationTask) [0x000a2] in <b96b4d2a195f4dceb7e5c1beaabcb6a2>:0 \n  at System.Threading.Tasks.ValueTask'1[TResult].get_Result () [0x0001b] in <a17fa1457c5d44f2885ac746c1764ea5>:0 \n  at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x00089] in <b96b4d2a195f4dceb7e5c1beaabcb6a2>:0 \n  at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ba] in <b96b4d2a195f4dceb7e5c1beaabcb6a2>:0 \n  at System.Net.Http.DecompressionHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ca] in <b96b4d2a195f4dceb7e5c1beaabcb6a2>:0 \n  at System.Net.Http.HttpClient.FinishSendAsyncBuffered (System.Threading.Tasks.Task'1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x0017e] in <b96b4d2a195f4dceb7e5c1beaabcb6a2>:0 \n  at Ipfs.Http.IpfsClient.DoCommandAsync (System.String command, System.Threading.CancellationToken cancel, System.String arg, System.String[] options) [0x000c0] in <4821d535fc8149b08b8903028d864bb3>:0 \n  at Ipfs.Http.IpfsClient.DoCommandAsync[T] (System.String command, System.Threading.CancellationToken cancel, System.String arg, System.String[] options) [0x0007a] in <4821d535fc8149b08b8903028d864bb3>:0 \n  at testProject.MainClass.Main (System.String[] args) [0x00029] in /home/Projects/testProject/testProject/Program.cs:15 \n  at testProject.MainClass.<Main> (System.String[] args) [0x0000b] in <6254a7d01e404fb2996852c613b7e10c>:0 

kindly provide a running example

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

3 participants