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

Internal Server Error Server Management #353

Closed
ghost opened this issue May 28, 2019 · 6 comments
Closed

Internal Server Error Server Management #353

ghost opened this issue May 28, 2019 · 6 comments
Assignees

Comments

@ghost
Copy link

ghost commented May 28, 2019

When I click the Server Management button I receive an Internal Server Error
Error i noticed

Screen Shot 2019-05-28 at 09 03 16

@Terrtia
Copy link
Member

Terrtia commented May 28, 2019

hey @ddebast !

It seem there is an issue with an endpoint.
Can you please git pull and restart AIL ?

(use ./LAUNCH -l to launch AIL)

@elbae
Copy link

elbae commented Jun 3, 2019

Hi, same error here (also on /tags/).
I already did git pull and ./LAUNCH -l etc .

/settings/
image

image

/tags/
image

@gausson
Copy link

gausson commented Jun 4, 2019

I found Flask_server.py Line 53 added hiddenServices into ignoreModule list which leads to hiddenServices module is not loaded into Flask. So Flask does not able to resolve hiddenServices blueprints.

Workaround:
Try to set activate_crawler in bin/packages/config.cfg to True. The template rendering works again even other configs in Crawler is not valid values / destinations.

Possible Solution:
Add a condition checking wrapping the url rendering about hiddenServices in all templates

Question:
I can't find any documentation about the usage of splash_url_onion. I assume it is a splash server that proxy to a Tor client. Contributors may briefly explain how it works.

Update:
May be this setup guide is talking about how to setup Crawler correctly

@Terrtia Terrtia closed this as completed in 9cb6312 Jun 4, 2019
@Terrtia Terrtia reopened this Jun 4, 2019
@Terrtia
Copy link
Member

Terrtia commented Jun 4, 2019

Hey !

@gausson Nice catch ! This is an old feature used by all bootstap 3 templates (bug introduced by the bootstrap 4 migration).

Fixed with 9cb6312

The purpose of this guide is to describe how to install/setup the crawler.

You right, we need to have a complete documentation to explain how the crawler work. I will add it in the next few days (1 or 2 days).

The splash_url_onion is used if you want to use a remote Splash server.

@Terrtia Terrtia self-assigned this Jun 4, 2019
@elbae
Copy link

elbae commented Jun 17, 2019

I found Flask_server.py Line 53 added hiddenServices into ignoreModule list which leads to hiddenServices module is not loaded into Flask. So Flask does not able to resolve hiddenServices blueprints.

Workaround:
Try to set activate_crawler in bin/packages/config.cfg to True. The template rendering works again even other configs in Crawler is not valid values / destinations.

Possible Solution:
Add a condition checking wrapping the url rendering about hiddenServices in all templates

Question:
I can't find any documentation about the usage of splash_url_onion. I assume it is a splash server that proxy to a Tor client. Contributors may briefly explain how it works.

Update:
May be this setup guide is talking about how to setup Crawler correctly

This solves the problem for me.
Now, it's not clear why with a new installation the /settings/ link does not exists anymore:
image

@Terrtia
Copy link
Member

Terrtia commented Apr 22, 2021

It should be fixed in the recent version of AIL. Feel free to reopen if this is not case.

@Terrtia Terrtia closed this as completed Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants