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

Fix VirusTotal results querying: switch to v3 API and offer links to manually check when things fail #4130

Closed

Conversation

pcrama
Copy link
Contributor

@pcrama pcrama commented Oct 6, 2020

virustotal started reporting 429 HTTP errors (related to captchas)

Instead of just reporting an error, provide the URL so that the user may easily check for themselves (especially if their terminal allows clicking URLs).

To avoid the 429 HTTP errors, I also upgraded the querying of the VirusTotal to use their v3 REST API when the API key is configured. This is much more reliable than the old way.

@pcrama pcrama force-pushed the virustotal-exception-handling branch from fa5fea2 to eacb00e Compare November 4, 2020 21:50
@pcrama pcrama changed the title Report exceptions when they happen & offer URL for manual check Fix VirusTotal results querying: switch to v3 API and offer links to manually check when things fail Nov 4, 2020
@pcrama pcrama force-pushed the virustotal-exception-handling branch from eacb00e to ce04fca Compare November 4, 2020 22:08
@pcrama
Copy link
Contributor Author

pcrama commented Nov 9, 2020

I am aware that the AppVeyor checks failed, but I don't see the file I have edited libexec\scoop-virustotal.ps1 in the error messages, so I don't think I caused the errors with this patch, nor that fixing the remaining warnings would belong in this pull request.

@rashil2000
Copy link
Member

Superceded by #4983

@rashil2000 rashil2000 closed this Jun 20, 2022
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

Successfully merging this pull request may close these issues.

2 participants