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

Auth token (for API) not displayed on creation #18850

Closed
rafaelmaeuer opened this issue Feb 25, 2022 · 3 comments
Closed

Auth token (for API) not displayed on creation #18850

rafaelmaeuer opened this issue Feb 25, 2022 · 3 comments
Labels
answered For when a question was asked and we referred to forum or answered it. worksforme The issue cannot be reproduced and things work as intended.

Comments

@rafaelmaeuer
Copy link

rafaelmaeuer commented Feb 25, 2022

Expected Behavior

When generating an API auth token, the auth_token should be displayed.

Current Behavior

When generating an API auth token, the requests loads (page loading spinner) until there is a timeout.
After refreshing the page one (or sometimes two similar) new entries appear under tokens.
As the one-time token isn't displayed, the created API-access cannot be used.

The same is happening when deleting a token (timeout -> entry is deleted after refresh).

Possible Solution

?

Steps to Reproduce (for Bugs)

Follow these steps in https://matomo.org/faq/general/faq_114/ for Matomo 4 and newer

Context

Trying to connect WP-Matomo Integration (WP-Piwik) with Matomo and therefor needing an auth_token.

Your Environment

  • Matomo Version: 4.7.1
  • PHP Version: 8.0.14
  • Server Operating System: Ubuntu 20.04.1
  • Additionally installed plugins:
  • Browser: Brave / Safari
  • Operating System: macOS 12.1
@rafaelmaeuer rafaelmaeuer added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Feb 25, 2022
@sgiehl
Copy link
Member

sgiehl commented Feb 28, 2022

Hi @rafaelmaeuer. Thanks for creating the issue.
For me that works without issues and after confirming the password it displays a page like
image

Can you see any errors in the error log?

@rafaelmaeuer
Copy link
Author

Hey @sgiehl thanks for confirming the issue is not related to matomo itself, I am using the docker-image from crazy-max/docker-matomo so the problem might lay there... No the logs aren't showing any hints toward the problem, I already enabled the debug-mode, but it didn't gave any further information about any cause...

@rafaelmaeuer
Copy link
Author

Updating Ubuntu and restarting the Server solved the issue...

@sgiehl sgiehl added answered For when a question was asked and we referred to forum or answered it. worksforme The issue cannot be reproduced and things work as intended. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants