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

Sending big file on docker deployment fails #39

Open
EvilOlaf opened this issue Dec 25, 2023 · 2 comments
Open

Sending big file on docker deployment fails #39

EvilOlaf opened this issue Dec 25, 2023 · 2 comments

Comments

@EvilOlaf
Copy link

Hey there,

I have an issue where sending a rather big file via CLI fails with error: Expecting value: line 1 column 1 (char 0).

The issue does not happen when sending the file to bin.sohamsen.me.

yabin -b https://bin.sohamsen.me create report_file.txt
report_file.txt
https://bin.sohamsen.me/ti44j

Tried both with and without reverse proxy.

Smaller files with a few lines work as expected.

Is there a way to enable some debugging in docker logs or are there some settings that could be adjusted?

Cheers

@EvilOlaf
Copy link
Author

EvilOlaf commented Jan 1, 2024

Alright after some try'n'error it seems like there is a limit of 524121 byte. Everything bigger triggers the error.
The issue must be in YABin since there is no SQL query reaching the db server on larger pastes.

@Yureien
Copy link
Owner

Yureien commented May 6, 2024

I have a suspicion that it's due to Prisma, but I'll have to dig further.

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