Closed stjohann closed 6 years ago
First of all, I suggest you always to use the latest pre-release (that is, v0.6.0-intX6 up till now) because there are some major API changes involved since v0.5.
From the exception description, I suppose there is a time-out happening, so you might want to set WikiClient.Timeout
to a slightly larger value (e.g. 1 minute) and try again.
Finally, you may set WikiClient.Logger
to an ILogger
implementation (you may reference Microsoft.Extensions.Logging.Console
NuGet package, and use ConsoleLogger
, for example), and see what happens exactly. If you have trouble setting up the logger, feel free to leave me a message here.
Sorry for not answering for so long, I found that the problem was local so there nothing to fix in the library. Thank you for your assistance.
Firstly, thank you for writing this library.
Today my Discord bot started failing to link [[wiki links]] with their respective articles. In the code I use this library (v. 0.5.1). The cause of this, as I understand after running testing versions, is because of a time-out from
Site.CreateAsync
.I’ve tried to update the library to last pre-release version internally, but this error is still appearing and I don’t understand the cause. The error wasn’t present before today and Wikipedia API (specifically ru.wikipedia.org) seems to work fine. The stack trace for both versions is nearly the same, but I’ll publish it here for the convenience.
Sorry in advance if I am wasting your time and the error is on my side and not in the library.
0.5.1:
0.6-int6: