csharp-leaf / Leaf.xNet

HTTP Library. Impoved original xNet.
https://github.com/csharp-leaf
180 stars 52 forks source link

A non-recoverable error occurred during a database lookup #130

Closed SirDeveloperOrg closed 2 years ago

SirDeveloperOrg commented 2 years ago

A non-recoverable error occurred during a database lookup

Idk why but must times I get this error when I trying to connect to:

https://api.proxyscrape.com/v2/?request=getproxies&protocol=http&timeout=10000&country=all&ssl=all&anonymity=all

image

My internet connection is stable and its super fast, and I have no problem when I open the following URL in my browser.

I use the below code:

using (HttpRequest Request = new HttpRequest())
{
Request.UserAgent = Http.ChromeUserAgent();
Request.KeepAlive = false;
Request.ConnectTimeout = 60000;
Request.ReadWriteTimeout = 60000;
return Request.Get("https://api.proxyscrape.com/v2/?request=getproxies&protocol=http&timeout=10000&country=all&ssl=all&anonymity=all").ToString();
}
SirDeveloperOrg commented 2 years ago

Problem fixed by uninstalling my VPN.