sherlock icon indicating copy to clipboard operation
sherlock copied to clipboard

ERROR: Bad Response

Open Cyph3rByte opened this issue 1 year ago • 2 comments

Installation method

Other (indicate below)

Description

Installation method: via blackarch

when running 'sherlock ' I get the following error output: "A problem occurred while checking for an update: list index out of range ERROR: Bad response while accessing data file URL 'https://raw.githubusercontent.com/sherlock-project/sherlock/master/sherlock/resources/data.json'."

Steps to reproduce

$sherlock jeff.h

A problem occurred while checking for an update: list index out of range ERROR: Bad response while accessing data file URL 'https://raw.githubusercontent.com/sherlock-project/sherlock/master/sherlock/resources/data.json

Additional information

I created a VM with Debian and installed it using pip, then using Docker and it worked without problems. I believe the defect is in the package contained in the Black Arch repository.

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

Cyph3rByte avatar Aug 29 '24 04:08 Cyph3rByte

So, BlackArch is weird. It's the only distro that's still using some esoteric versioning scheme rather than semver, despite many months having passed since Sherlock's adoption of (sorta-)semver. That being said, the BlackArch repo is currently showing version 2460.9e111a3 for 9e111a3 (as of four days ago), so it doesn't seem far behind, despite being odd.

That error message is certainly something you'd see from a 0.14.3 build, though (or maybe 0.14.4).

I have to ask just to be thorough -- are you sure you're up to date?

There are several things wrong with the BlackArch PKGBUILD, but I'm not sure if they would cause issues with distrib. And if they do, I'm not sure where the old version is coming from, considering it's no longer available on the pkgbuild repo.

ppfeister avatar Aug 29 '24 07:08 ppfeister

I also encountered this issue and haven't resolved it yet.

fuze2333 avatar Aug 29 '24 10:08 fuze2333

I found where I was going wrong, my blackarch repository is pointing to a mirror in germany that contains the outdated package, with version 0.14.4. I pointed to a mirror in the US, and the problem was solved. Here's the mirror with the outdated package.

https://ftp.halifax.rwth-aachen.de/blackarch/$repo/os/$arch

Cyph3rByte avatar Aug 29 '24 16:08 Cyph3rByte

Thanks for your attention, and sorry for the silly mistake.

Cyph3rByte avatar Aug 29 '24 16:08 Cyph3rByte