ArgumentError: invalid byte sequence in UTF-8 #3176
Unanswered
stef157
asked this question in
Help with using Postal
Replies: 1 comment 7 replies
-
Did you increase the maximum size of the messages in the config file? https://github.com/postalserver/postal/pull/383/files Also unrelated but probably worth an update of your Postal to 3.3.4 |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
When sending a large attachment (30M), I get this message.
If I send a small one, there is no problem.
To Reproduce
Expected behaviour
The mail si send
Postal Environment details
Environment details
Additional information/context
`2024-10-15 13:36:02 +0000 ERROR An error occurred while processing data from a client. trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR ArgumentError: invalid byte sequence in UTF-8 trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/lib/postal/message_db/database.rb:329:in 'query_on_connection' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/lib/postal/message_db/database.rb:234:in 'block in insert' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/lib/postal/message_db/connection_pool.rb:20:in 'use' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/lib/postal/message_db/database.rb:345:in 'with_mysql' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/lib/postal/message_db/database.rb:233:in 'insert' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/lib/postal/message_db/database.rb:126:in 'insert_raw_message' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/lib/postal/message_db/message.rb:278:in 'save_raw_message' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/lib/postal/message_db/message.rb:208:in 'save' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/app/lib/smtp_server/client.rb:506:in 'block in finished' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/app/lib/smtp_server/client.rb:490:in 'each' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/app/lib/smtp_server/client.rb:490:in 'finished' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/app/lib/smtp_server/client.rb:429:in 'block in data' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/app/lib/smtp_server/client.rb:72:in 'handle' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/app/lib/smtp_server/server.rb:204:in 'block (2 levels) in run_event_loop' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/app/lib/smtp_server/server.rb:106:in 'select' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/app/lib/smtp_server/server.rb:106:in 'block in run_event_loop' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/app/lib/smtp_server/server.rb:104:in 'loop' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/app/lib/smtp_server/server.rb:104:in 'run_event_loop' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/app/lib/smtp_server/server.rb:39:in 'block in run' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /usr/local/bundle/gems/klogger-logger-1.4.0/lib/klogger/group_set.rb:18:in 'call_without_id' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /usr/local/bundle/gems/klogger-logger-1.4.0/lib/klogger/logger.rb:72:in 'tagged' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR /opt/postal/app/app/lib/smtp_server/server.rb:37:in 'run' trace_id=VMKGZU2Y component=smtp-server
2024-10-15 13:36:02 +0000 ERROR script/smtp_server.rb:13:in '
' trace_id=VMKGZU2Y component=smtp-server`Beta Was this translation helpful? Give feedback.
All reactions