Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
1845 Lượt xem

Hello Odoo Forum,


V17 Enterprise


I am seeing warnings in my Odoo logs for failed web push notifications due to PayloadTooLarge.


Has anyone else seen this, I'm curious if this is a known potential issue on vanilla Odoo installs or if I need to chase down a potential cause by my own customizations.


This forum butchers everything I try to paste.  The errors are in a comment below.

Ảnh đại diện
Huỷ bỏ
Tác giả

2024-05-09 14:00:48,883 697 INFO pfvt odoo.addons.mail.models.mail_thread: Routing mail from "PERSONS NAME" <email@email.com> to odoomailgate@localhost,"Sales Team Name" <sales@gmywebsite.com> with Message-Id <.XXXXXXXX.PROD.OUTLOOK.COM>: direct reply to msg: model: crm.lead, thread_id: XXXX, custom_values: None, uid: X
2024-05-09 14:00:49,092 697 WARNING database odoo.addons.mail.web_push: Failed push notification https://web.push.apple.com/XXXXXXXXXXXXXXXXXXXXXXXXXXX 413 - {"reason":"PayloadTooLarge"}
2024-05-09 14:00:49,535 697 WARNING database odoo.addons.mail.web_push: Failed push notification https://fcm.googleapis.com/fcm/send/XXXXXXXXXXXXXXXXXXXXXXXXXXX 400 - binary data passed in the request must be less than 4096 bytes.
2024-05-09 14:00:49,560 697 WARNING database odoo.addons.mail.web_push: Failed push notification https://web.push.apple.com/XXXXXXXXXXXXXXXXXXXXXXXXXXX 413 - {"reason":"PayloadTooLarge"}

Tác giả

Has anyone else seen push notifications fail because the payload is too large?

Tác giả Câu trả lời hay nhất

Honestly I am very frustrated that Odoo hasn't fixed this yet.  This is a BUSINESS CRITICAL function, and we should all expect to not have our ERP fail to deliver push notifications.  

I also opened a GitHub ticket for this since I haven't seen anything related to this on GitHub.

https://github.com/odoo/odoo/issues/191266

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

try verifying the log of the odoo 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Absolutely, I have the same kind of error. 

2024-10-18 12:40:06,724 1104022 WARNING odoo odoo.addons.mail.web_push: Failed push notification https://updates.push.services.mozilla.com/wpush/v2/gAAAAABm-pfkDxYeQ8YDxYp7ujJ0pxApI56VV35ddb7Nlo2HJ15IQux7f3P1bXEJ0rNueSd-95BWReSGIe6_piBu38Ic2Sm56ZyIZItJax279bsk7FF4lZgGxz2xcInTgslaxzA7JeffWlIZ6UWTKg_1Zuc5Dhkvgi2n_wMZvVe2Q2q4tL-zE_I 413 - {"code":413,"errno":104,"error":"Payload Too Large","message":"payload reached size [...]


Did you find any fix for this ? 

This seems to be causing problem all the time to my installation.

Ảnh đại diện
Huỷ bỏ
Tác giả

No. This is not resolved yet. I have an open support ticket with Odoo. They have acknowledged the problem and moved my ticket to the bug fix team, but I can't seem to find any open issues or pushes related to the problem on Github.

I have not yet tested if this is resolved on V18.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 23
8524
0
thg 6 24
1220
0
thg 4 21
3958
0
thg 2 22
3411
5
thg 7 25
2519