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

export_discoveries crash #216

Open
marcorosa opened this issue Nov 10, 2021 · 0 comments
Open

export_discoveries crash #216

marcorosa opened this issue Nov 10, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@marcorosa
Copy link
Member

In some cases, the export_discoveries will crash the UI

Issue experienced when using docker and postgres db. This happens when exporting discoveries of large repos (e.g., credential digger's repo itself that has 7k+ discoveries).

The UI will lag for some time, and then crash. From the loggers it's visible the following message:

credential_digger_backend | psycopg2.errors.StatementTooComplex: stack depth limit exceeded   
credential_digger_backend | HINT:  Increase the configuration parameter "max_stack_depth" (currently 2048kB), 
                                                  after ensuring the platform's stack depth limit is adequate.
credential_digger_backend | 
credential_digger_backend | ERROR:backend.client_ui:There was an ERROR. rollbackthe db and restart. 
credential_digger_backend | ERROR:backend.client_ui:current transaction is aborted, commands ignored until end of transaction block     
@marcorosa marcorosa added bug Something isn't working UI/UX improvement Request to improve the UI/UX and removed UI/UX improvement Request to improve the UI/UX labels Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant