I used DotNetWikiBot for many years without problem.
Now I found a problem, possibly caused by migration to .NET framework V.4.7.
To trace down the error I used DotNetWikiBot.cs and debugged it.
The error occurs in call GetWebResource() at line
webResourceText = Bot.webClient.DownloadString(address);
The first time call with address="http://dotnetwikibot.sourceforge.net/info.php" works still fine.
But the second call with address="http://sourceforge.net/p/dotnetwikibot/svn/HEAD/tree/cache/CommonData.xml?format=raw"
throws a WebException which leaves the bot unusable.
The URL exists and I can open it from my browser without problem.
HRESULT of InnerException is 0x80131620
Inner message is "Error in authentication because the other side has closed the transport stream".
I can avoid this error by manually copying several files from "cache" subfolder of DotNetWikiBot's distribution folder to the "cache" subfolder of the bot's working directory, but this is only a kludge.
I'm getting a similar error on version 3.15 running under .NET framework 4.5.1. Same workaround works fine.
Exception: "The underlying connection was closed: An unexpected error occurred on a send."
Inner exception: "Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host."
Inner exception: "An existing connection was forcibly closed by the remote host"