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

--url= set to use HTTP redirected on HTTPS makes importer fail #261

Closed
Berbe opened this issue Apr 29, 2020 · 1 comment
Closed

--url= set to use HTTP redirected on HTTPS makes importer fail #261

Berbe opened this issue Apr 29, 2020 · 1 comment

Comments

@Berbe
Copy link

Berbe commented Apr 29, 2020

Issue already found reported ages ago on an old tracker: https://issues.matomo.org/6699

  • Matomo version 3.13.5
  • Corresponding imports_logs.py version b3973f3

Steps to reproduce:

  1. --url set to use a HTTP URL
  2. Matomo redirects to a HTTPS URL
  3. Importer retries & eventually fails with the following error:
    [INFO] Error when connecting to Matomo: <urlopen error Matomo returned an invalid response: <!DOCTYPE html> [...]
    
@sgiehl
Copy link
Member

sgiehl commented Apr 29, 2020

Hi @Berbe. Thanks for creating the issue. The old issue actually still exist here. See #42. So closing this as duplicate. If you are familiar with python and have some time to implement the changes needed for it, we are always happy to review and merge pull request 😄

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