Bounces not processed anymore after upgrading to version 20.10

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

cdambrosio
Posts: 35
Joined: Thu Oct 08, 2020 5:40 pm

Bounces not processed anymore after upgrading to version 20.10

Post 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
maschoff
Site Admin
Posts: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Bounces not processed anymore after upgrading to version 20.10

Post by maschoff »

Which version of the backend do you use?
OpenEMM Maintainer
cdambrosio
Posts: 35
Joined: Thu Oct 08, 2020 5:40 pm

Re: Bounces not processed anymore after upgrading to version 20.10

Post by cdambrosio »

Hi Martin,
version 20.10.000.085.

Thank you.

Regards,

Carlo
mfreundl
Posts: 24
Joined: Wed Aug 28, 2019 10:01 am

Re: Bounces not processed anymore after upgrading to version 20.10

Post 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
cdambrosio
Posts: 35
Joined: Thu Oct 08, 2020 5:40 pm

Re: Bounces not processed anymore after upgrading to version 20.10

Post by cdambrosio »

Thank you mfreundl, it works!

Regards,

Carlo
mfreundl
Posts: 24
Joined: Wed Aug 28, 2019 10:01 am

Re: Bounces not processed anymore after upgrading to version 20.10

Post 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
cdambrosio
Posts: 35
Joined: Thu Oct 08, 2020 5:40 pm

Re: Bounces not processed anymore after upgrading to version 20.10

Post by cdambrosio »

Thank you very much Marcel, I'll update as soon as possibile!

Regards,

Carlo
Post Reply