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

Unable to process some dumps #186

Open
FluffyDiscord opened this issue May 28, 2024 · 7 comments
Open

Unable to process some dumps #186

FluffyDiscord opened this issue May 28, 2024 · 7 comments
Assignees
Labels
bug Something isn't working module [var-dump]
Milestone

Comments

@FluffyDiscord
Copy link
Contributor

I was trying to dump a Symfony form. Buggregator fails with the following error in console:

Modules\VarDumper\Exception\InvalidPayloadException: Unable to decode the message. in /app/app/modules/VarDumper/Application/Dump/MessageParser.php at line 22

The base64 encoded payload is indeed 599573 chars long strlen().

Please allow bigger payloads. We should also get some kind of information that buggregator failed to process the payload.

@butschster butschster self-assigned this May 28, 2024
@butschster butschster added bug Something isn't working module [var-dump] labels May 28, 2024
@butschster butschster added this to the 1.0 milestone May 28, 2024
@butschster butschster moved this to In Progress in Buggregator Jun 2, 2024
@butschster
Copy link
Member

Could you provide var-dumper version?

@FluffyDiscord
Copy link
Contributor Author

I am sorry, I don't remember which project it was. But I think it's v7 (7.0.6)

@FluffyDiscord
Copy link
Contributor Author

@butschster it's happening again - I am forced to use older VarDumper version 5.4. I am trying to dump, I guess, larger class(?) and buggregator fails with this message:
2024-12-17T12:55:16.045432788Z 2024-12-17T12:55:16+0000 ERROR app Modules\VarDumper\Exception\InvalidPayloadException: Unable to decode the message. in /app/app/modules/VarDumper/Application/Dump/MessageParser.php at line 27 [] []

@roxblnfk
Copy link
Member

It would be nice if you provide the value of the $message variable when the exception is happened

@FluffyDiscord
Copy link
Contributor Author

Here, the encoded message dumped right before its sent from var-dumper https://github.com/symfony/var-dumper/blob/5.4/Server/Connection.php#L63

lastDump.txt

@roxblnfk
Copy link
Member

@FluffyDiscord This payload decodes correctly. I'm curious how this data looks on the Buggregator side.

@FluffyDiscord
Copy link
Contributor Author

I am using Buggregator docker 1.12.1 (ghcr.io/buggregator/server:1.12.1). You tell me :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module [var-dump]
Projects
Status: In Progress
Development

No branches or pull requests

3 participants