silently hanging
See original GitHub issueWhen I try to connect, I do get a silent timeout. My code:
var influxDbClient = new InfluxDbClient("http://mydomain.com:8086/", "user", "pwd", InfluxDbVersion.v_1_0_0);
Console.WriteLine("Pinging..");
var responseP = await influxDbClient.Diagnostics.PingAsync();
Console.WriteLine("Pinging..Done");
I use Windows 10 Home with .net core 2.0 and JetBrains Rider IDE. I downloade the latest InfluxData.Net libraries via “paket”. My server runs influx 1.0.2 on debian stretch linux.
I can connect to my influxdb without any problems via InfluxDB Studio. In my example above, I never get the “Pinging…Done” printout.
Any ideas?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
My friend and I sit in silence when we hang out. Am I boring?
Is silence and quietness good within friendships when you are hanging out? Absolutely! Silence indicates comfort and warmth, and acceptance ...
Read more >Learn how to listen, let the silence hang - Tim Bunting
Let the silence hang, speak when you have something to say. ENJOYED THIS? HAVE MORE. PREVIOUS ...
Read more >The Silent Hanging Gardens | Black Desert Online - YouTube
this quest is defo in my top 10 for badly designed mmo quests. Thanks a lot for your help dude, saved me and...
Read more >Hanging Out in Silence | Heart of the Dreaming
There's this saying about friends and relationships – how the best ones are often punctuated by periods of comfortable silence.
Read more >Jupyter Notebook silently hanging after importing Client in ...
--> Entire notebook hangs now and seems to be unrecoverable. Of specific note: running the exact same commands via. docker exec -it $ ......
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 Free
Top 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

Issue is closed for sure! I kept it open, because I believe that a demo project added to the library would make sense. Otherwise one might end stuck and not start using this fantastic library!
Hi, yes - async functions should return tasks. And using
.Resultshould be avoided. Please see this. Your calling function (the one that’s calling the influxdata.net lib functions) should also await otherwise it will run in a “fire and forget” mode and you’ll end up having strange results (you won’t be able to debug the method when you attach to the process, sometimes you might not get a result, etc…). So the issue you were having is not really specific to the library itself it’s more of the way async/await is supposed to be used.Can I consider this resolved and close the issue?