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

The built-in test fails when Tor is not usable despite web crawling being available #232

Open
ajoga opened this issue Jul 22, 2024 · 4 comments

Comments

@ajoga
Copy link

ajoga commented Jul 22, 2024

Summary

I understand Lacus can fetch content from both Tor websites and the normal internet.

An installation without configuring Tor will make the built-in test fail, when in reality web content can be fetched.

Step to reproduce

Follow the procedure from https://github.com/ail-project/ail-framework/blob/26f9e84d9796446cefa175eed78a0e89ebfda966/HOWTO.md#crawler

When running the test while you don't have a Tor socks listening, the test output will be the following:
image

One can confirm the web crawling works:

  1. go to Manual crawler, set a public URL and crawler type = web.
  2. go to Web crawler and observe that the URL was crawled (allow 10-30 seconds if that doesn't show right away)

Expected outcome

I would expect not to have the "Error" in red after the test for sure.

Ideally two tests, one for Web and one for Tor: there it would make sense for me to see one pass and one fail. Currently it feels like the whole test was unsuccessful.

@ajoga ajoga changed the title The built-in test fails when Tor is uninstalled The built-in test fails when Tor is not usable despite web crawling being available Jul 22, 2024
@Rafiot Rafiot transferred this issue from ail-project/lacus Jul 22, 2024
@Rafiot
Copy link
Contributor

Rafiot commented Jul 22, 2024

I transferred this issue to AIL because I don't think it is related to lacus (?)

@Rafiot
Copy link
Contributor

Rafiot commented Aug 23, 2024

Hey, I just looked at the error message again, and just making sure of one thing: is tor up and running on the machine where lacus is installed? Because the error messages makes me think lacus cannot connect to the proxy, possibly because it's not there.

@ajoga
Copy link
Author

ajoga commented Aug 23, 2024

is tor up and running on the machine where lacus is installed

No it is not, by design in our case.

@Rafiot
Copy link
Contributor

Rafiot commented Aug 23, 2024

Ok, I'll let @Terrtia take care of it then.

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

2 participants