Page 1 of 1

Bounces not processed anymore after upgrading to version 20.10

Posted: Thu Nov 26, 2020 10:44 pm
by cdambrosio
Hi all,
I have a problem after upgrading to version 20.10 (from version 20.04), the bounces aren't processed anymore.

I found a lot of errors in bavd3.log just like the one below:

WARNING/bavd3: UID(version=3, licence_id=0, company_id=0, mailing_id=4, customer_id=0, url_id=0, bit_option=0, prefix=None): failed to retrieve credentials: invalid licence_id 0

How can I solve the problem?

Thank you.

Regards,

Carlo

Re: Bounces not processed anymore after upgrading to version 20.10

Posted: Fri Nov 27, 2020 9:39 am
by maschoff
Which version of the backend do you use?

Re: Bounces not processed anymore after upgrading to version 20.10

Posted: Fri Nov 27, 2020 10:35 am
by cdambrosio
Hi Martin,
version 20.10.000.085.

Thank you.

Regards,

Carlo

Re: Bounces not processed anymore after upgrading to version 20.10

Posted: Fri Nov 27, 2020 12:16 pm
by mfreundl
Hi Carlo,
i can confirm this is a bug.
We are working on a fix which should be available next week.

In the mean time you can try to fix it temporarily by editing /home/openemm/scripts/agn3/uid.py like this:

Code: Select all

@@ -159,3 +159,3 @@
                                                        licence_id = int (ccfg.get_config ('system', 'licence'))
-                                                       if licence_id <= 0:
+                                                       if licence_id < 0:
                                                                raise error (f'invalid licence_id {licence_id} found')
@@ -175,3 +175,3 @@
        def find (self, uid: UID) -> Tuple[UIDCache.Company, UIDCache.Mailing]:
-               if uid.licence_id <= 0:
+               if uid.licence_id < 0:
                        raise error (f'invalid licence_id {uid.licence_id}')
Do not forget to restart OpenEMM afterwards.

Best regards
Marcel

Re: Bounces not processed anymore after upgrading to version 20.10

Posted: Fri Nov 27, 2020 2:27 pm
by cdambrosio
Thank you mfreundl, it works!

Regards,

Carlo

Re: Bounces not processed anymore after upgrading to version 20.10

Posted: Mon Nov 30, 2020 2:35 pm
by mfreundl
Hi Carlo,
the issue has been fixed in version 20.10.000.092.
You can install the update with the OpenEMM Maintenance Tool (OMT).

Thank you for the bug report.

Best regards
Marcel

Re: Bounces not processed anymore after upgrading to version 20.10

Posted: Wed Dec 02, 2020 10:03 pm
by cdambrosio
Thank you very much Marcel, I'll update as soon as possibile!

Regards,

Carlo