Unsubscribe link fails for onsite 10.2.5 customer

lock
push_pin
done
Beantwortet
6

An unsite 10.2.5 customer is using Marketing. Their customers get an error, when they try to access the unsubscibe link.

How do I even start do debug this?  

I notice that the token in the url doesn't match the corresponding row in the TemporaryKey table - is this normal?  

5. Jan. 2024 | 11:43 AM

Alle Antworten (6)

Hi,

Is the domain the unsubscribe page is being accessed with the same domain as where SuperOffice runs under (and is configured in the service system settings)?

The hash is generated based on the domain that customer service runs under, so if there is a difference there the hash will fail.

See also reg_id 358 where you can specify additional domains to be allowed for the hash validation.

5. Jan. 2024 | 03:58 PM
Hi David.
Yes both domains should be the same. It worked until about 2 months ago, where it stopped working.

See link for test user below vs. url to SuperOffice

https://crm.strandmollen.dk/Sales/default.aspx?

https://crm.strandmollen.dk/Service/scripts/customer.fcgi?action=updateSubscriptionsFrame&tk=AXUOfQRsD2RsXxFYchBrL1QFFFJ5YHVPe2VrbRt%2BdhVpAGN%2BbBcgTBxFTWFtUnduCGkJfHE%2BcWR1CAYUAA1PAhYSbzZ5Gw%3D%3D&unsubscribe=1
19. Jan. 2024 | 11:37 AM

Hi Kasper, I just checked but if the token is invalid you get a different error, explaining that it is has expired, so the token generation / validation doesnt seem to be the issue.

Notice that you also get the same error if you provide a completely invalid token (https://crm.strandmollen.dk/Service/scripts/customer.fcgi?action=updateSubscriptionsFrame&tk=dummy&unsubscribe=1)

While it should look something like this;

Looks like their is something wrong with the communication between service and crm. Things to check:

  • Service logs
  • NetServer/CRM logs
  • Does other communication between CRM/Service work correctly (CRMScript triggers in CRM for example)
  • Do all the NetServer installation have the same SymmetricKey/SymmetricSecret setup (see web config)
    • And do the one's in service config file match?
19. Jan. 2024 | 11:53 AM
Hi David.
Apparently the rest of Service seem to work. They can send replies on tickets, and the customer portal works as well.
I would expect this not to work, if the symmetric key/secret was wrong.
19. Jan. 2024 | 11:56 AM
Triggers and scripts works as well.
19. Jan. 2024 | 11:57 AM

Got it to work.

Installed service from scratch in a seperate installation, and compared the template folder with the current 10.2.5.

2 files was missing from each language folder - updateSubscriptionFrame2.html and viewKbEntryNoCep.html.

I guess it is the second file missing that coursed the problem :).

19. Jan. 2024 | 02:37 PM

Antwort hinzufügen