Failed to ExecuteAsync in the latest version?
See original GitHub issueMy os: linux. I update the tdlib to the latest version and use yout latest version but it hangs on ExecuteAsync and dont return received result, take a look at log:
11/3/19 12:47:07 PM - enabling tor proxy
[ 3][t 4][1572772627.691557407][Td.cpp:3548][#1][!Td][&td_requests] Receive request 3: addProxy {
server = "127.0.0.1"
port = 9050
enable = true
type = proxyTypeSocks5 {
username = ""
password = ""
}
}
[ 3][t 4][1572772627.691611528][Td.cpp:4672][#1][!Td][&td_requests] Sending result for request 3: proxy {
id = 2
server = "127.0.0.1"
port = 9050
last_used_date = 1572772581
is_enabled = true
type = proxyTypeSocks5 {
username = ""
password = ""
}
}
The log shows that the result sent, but the tdjsonclient does not receive it and ExecuteAsync hang forever.
PS: Everything was fine with 1.3 version.
Issue Analytics
- State:
- Created 4 years ago
- Comments:11
Top Results From Across the Web
ExecuteAsync() causing hard crash with no exception
Based on RestClient's documentation, ExecuteAsync does not throw an exception, but instead populates response.ErrorException and response.
Read more >When awaiting an async method from ExecuteAsync which ...
A background service throwing an error during ExecuteAsync doesn't cause the app to shut down. That's intentional behavior.
Read more >NET 6 breaking change: Exception handling in hosting - .NET
NET versions, when an exception is thrown from a BackgroundService.ExecuteAsync(CancellationToken) override, the host continues to run, ...
Read more >How should a service exit to prevent an error?
In a Windows service, when you stop the service, a cancellation token is generated, and the service's ExecuteAsync method will be called with ......
Read more >DataStax Java Driver - Asynchronous programming
executeAsync returns a dedicated AsyncResultSet that only iterates the current page, the next pages must be fetched explicitly. This greatly simplifies ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for patiently waiting for 1.5. I just updated this repo. If something does not work for you feel free to open another issue.
this is still happening for me with 1.5.1 .dylib on macOS 10.15.1, just gets stuck after async execution.
@x2bool