-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Discarded Avatar::AvatarFromUrlJob due to a ActiveJob::DeserializationError. #6138
Comments
Update Server logs: in worker log, there's one more error ActiveJob::DeserializationError: E, [2022-12-28T21:44:14.311506 #566269] E, [2022-12-28T21:44:14.311649 #566269] |
The contact has been deleted from the system, causing the issue, and the job is still running on the sidekiq-server. It will be dead after three retries. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The ActiveJob FacebookEventsJob created a Contact and then enqueued Avatar::AvatarFromUrlJob in another process. However, since the Contact was created within a transaction when AvatarFromUrlJob was executed immediately afterwards, the Contact was not actually present in the database then. Fixes: #6138 #6761
) The ActiveJob FacebookEventsJob created a Contact and then enqueued Avatar::AvatarFromUrlJob in another process. However, since the Contact was created within a transaction when AvatarFromUrlJob was executed immediately afterwards, the Contact was not actually present in the database then. Fixes: chatwoot#6138 chatwoot#6761
Describe the bug
Send message to page from Facebook. It will receive message and Facebook contact name but not profile picture.
![image](https://user-images.githubusercontent.com/87319891/209806233-658355e3-89dd-4e5e-aa65-546a64a4f8b8.png)
Expected behavior
Showing the profile picture of the contact.
![image](https://user-images.githubusercontent.com/87319891/209806369-54d272bb-9819-4aef-88d8-f09458a176c3.png)
Server logs
E, [2022-12-28T09:10:09.878290 #359112] ERROR -- : Discarded Avatar::AvatarFromUrlJob due to a ActiveJob::DeserializationError.
2022-12-28T09:10:09.878Z pid=359112 tid=6pj0 class=Avatar::AvatarFromUrlJob jid=fe5e80723da6607a3a85c899 elapsed=0.005 INFO: done
Environment
self-hosted, Linux VM on Ubuntu 20.04,
Cloud Provider (If applicable)
GCP
The text was updated successfully, but these errors were encountered: