Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

htmlagilitypack - Operation times out in GitPod #46

Open
zo0o0ot opened this issue Dec 31, 2020 · 6 comments
Open

htmlagilitypack - Operation times out in GitPod #46

zo0o0ot opened this issue Dec 31, 2020 · 6 comments

Comments

@zo0o0ot
Copy link
Contributor

zo0o0ot commented Dec 31, 2020

Unhandled exception. System.Net.WebException: The operation has timed out.
   at System.Net.HttpWebRequest.GetResponse()
   at HtmlAgilityPack.HtmlWeb.Get(Uri uri, String method, String path, HtmlDocument doc, IWebProxy proxy, ICredentials creds)
   at HtmlAgilityPack.HtmlWeb.LoadUrl(Uri uri, String method, WebProxy proxy, NetworkCredential creds)
   at HtmlAgilityPack.HtmlWeb.Load(Uri uri, String method)
   at HtmlAgilityPack.HtmlWeb.Load(String url, String method)
   at HtmlAgilityPack.HtmlWeb.Load(String url)
   at prospectScraper.ProspectScraper.RunTheMockDraft(Boolean parseDate) in /workspace/prospect-scraper-dt2021/src/prospectScraper/ProspectScraper.cs:line 89
   at prospectScraper.Program.Main(String[] args) in /workspace/prospect-scraper-dt2021/src/prospectScraper/Program.cs:line 42

Attempted to run a scrape for a new mock draft, but both the big board and mock draft had this issue tonight. I hope it gets resolved magically, but if not, I'll need to figure out why stuff would magically start timing out when the web page loads fine in a browser.

@zo0o0ot
Copy link
Contributor Author

zo0o0ot commented Dec 31, 2020

Looks like it was a false alarm. I got it working a bit later and have a PR up with #47

@zo0o0ot zo0o0ot closed this as completed Dec 31, 2020
@zo0o0ot
Copy link
Contributor Author

zo0o0ot commented Jan 10, 2021

The issue has returned. I'm not sure of the cause of this intermittent issue of timeouts.

@zo0o0ot zo0o0ot reopened this Jan 10, 2021
@zo0o0ot
Copy link
Contributor Author

zo0o0ot commented Jan 12, 2021

I'm thinking that my GitPod IP was potentially blocked?
I downloaded the code locally and used it without an issue.

@zo0o0ot
Copy link
Contributor Author

zo0o0ot commented Jan 15, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant