ipfs-shipyard / ipfs-shipyard/net-ipfs-http-client
Running the example code snippet results in the exception "context deadline exceeded"
- Dominant language
- C#
- Stars
- 48
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
Running the code snippet is causing a timeout and the following exception is displayed.
```
Unhandled exception. System.Net.Http.HttpRequestException: context deadline exceeded
at Ipfs.Http.IpfsClient.ThrowOnErrorAsync(HttpResponseMessage response)
at Ipfs.Http.IpfsClient.PostDownloadAsync(String command, CancellationToken cancel, String arg, String[] options)
at Ipfs.Http.FileSystemApi.ReadAllTextAsync(String path, CancellationToken cancel)
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the example code snippet and reviewing the exception stack trace, especially Ipfs.Http.IpfsClient.PostDownloadAsync and Ipfs.Http.FileSystemApi.ReadAllTextAsync. Determine why the request reaches a context deadline and verify that the example completes without the reported exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100