swisspost / design-system

The Swiss Post Design System pattern library for a consistent and accessible user experience across the web platform.
https://design-system.post.ch
Apache License 2.0
120 stars 14 forks source link

Investigate missing profile/logout component #2049

Closed gfellerph closed 7 months ago

gfellerph commented 11 months ago

There are reports of missing profile (klp-login-widget) or login/logout components for the internet header. The problem is hard to replicate but can prevent users from logging in or accessing their profile.

image

Source: https://teams.microsoft.com/l/message/19:e7fa68fb13eb40b4bf4604edea5f4b3e@thread.tacv2/1695811663979?tenantId=3ae7c479-0cf1-47f4-8f84-929f364eff67&groupId=123c7c9e-052a-40e6-98d3-6cc6d46bad0a&parentMessageId=1695811663979&teamName=Design%20System&channelName=%F0%9F%9A%91%20Support&createdTime=1695811663979&allowXTenantAccess=false

gfellerph commented 10 months ago

Findings: Error happens when a request to https://n.account.post.ch/v1/session/subscribe times out. Provisional headers show not enough info to see what was sent to the backend. As soon as the request times out (~1.3 minutes), the widget is shown in the logged out state.

After being able to reproduce the issue on 18.10., I'm no longer able to do so on the 19.10. Several leads of investigation lead to a dead end.

I'm keeping this on the radar, but am not investigating any further for the moment. Please re-open if the error is reproducible again.

gfellerph commented 10 months ago

Another report from a user within the post net came in (post laptop connected to docking station). Not reproducible for me on Windows/Docking station but on Mac on guest_post.

https://github.com/swisspost/design-system/assets/1659006/cc86374a-c365-43d9-a962-2bfb2bcf5c26

(skip the 1.3 min timeouts)

gfellerph commented 9 months ago

Did a tcpdump on 05.12., waiting for analysis. Seems to be a missing dns route, fix incoming, ETA middle of January 2024

gfellerph commented 7 months ago

Should be fixed by Issue KLPD-20409.