Skip to content
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

AtomicAuthenticationService Decoding Error #23150

Open
sentry-io bot opened this issue May 3, 2024 · 2 comments
Open

AtomicAuthenticationService Decoding Error #23150

sentry-io bot opened this issue May 3, 2024 · 2 comments

Comments

@sentry-io
Copy link

sentry-io bot commented May 3, 2024

Note

This issue affects the WordPress app.

Sentry Issue: WORDPRESS-IOS-48PQ

WordPressKit.AtomicAuthenticationServiceRemote.ResponseError.decodingFailure(response: ["url": redacted, "cookies": {
    "error_data" =     {
        domain = "redacted";
        expires = "<null>";
        name = "<null>";
        path = "/";
        value = "<null>";
    };
    errors =     {
        domain = "redacted";
        expires = "<null>";
        name = "<null>";
        path = "/";
        value = "<null>";
    };
}])

Notes

This is a handled error that was reported to Sentry through the CrashLogging component. I created this issue because it has affected 5 unique users and may break the user experience.

The code that reports the error has been there since 2020/2021, so there might be a change in the response structure. Since this comes from AtomicAuthenticationService, perhaps it's also possible that the site installed a plugin that modifies the cookie authentication logic or disabled the access to fetch auth cookies from their site.

Based on the Sentry breadcrumbs, it looks like the affected users were trying to view/preview their site by tapping on the site URL link in the My Site tab.

@dangermattic
Copy link
Collaborator

dangermattic commented May 3, 2024

Thanks for reporting! 👍

@dvdchr dvdchr changed the title WordPressKit.AtomicAuthenticationServiceRemote.ResponseError.decodingFailure(response: ["url": ht... AtomicAuthenticationService Decoding Error May 3, 2024
Copy link
Author

sentry-io bot commented May 3, 2024

Sentry Issue: WORDPRESS-IOS-48PP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants