[MXS-93] MaxScale repository set up does not work Created: 2015-04-10 Updated: 2023-05-12 Resolved: 2023-05-12 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Documentation |
| Affects Version/s: | 1.1.0 |
| Fix Version/s: | 1.1.0, N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Michaël de groot | Assignee: | Timofey Turenko |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu 14.04.2 LTS |
||
| Description |
|
APT still gives an authentication error after setting it up using the configuration script: root@linode-london-dev1:~# apt-get update W: Failed to fetch http://code.mariadb.com/mariadb-maxscale/1.1/repo/ubuntu/dists/trusty/main/binary-i386/Packages 401 Authentication required E: Some index files failed to download. They have been ignored, or old ones used instead. |
| Comments |
| Comment by Timofey Turenko [ 2015-04-10 ] |
|
I'm not sure, but my guess is: configure-maxscale-repo puts user name and password into /etc/apt/sources.list.d/maxscale.list in following form: http;//user:password@code.mariadb.com/mariadb-maxscale/1.1/ if user name contains @ maxscale.list file contains: I guess this makes apt-get confused and it gives 401 error. |
| Comment by Timofey Turenko [ 2015-04-10 ] |
|
but are you sure that username is your email? I tried to create mariadb.com account and got an email: timofeyturenko1, Thank you for registering at MariaDB. You will be able to log in at username: timofeyturenko1 |
| Comment by Michaël de groot [ 2015-04-10 ] |
|
You are right, I got an email with my username (which is tbh confusing to me). My username contains non-ascii characters, the URL http://michaëldegroot:....@code.mariadb.com/mariadb-maxscale/1.1/repo/ubuntu does not seem to accept my username. I will open a different issue for that in MDBE JIRA. |
| Comment by Michaël de groot [ 2015-04-10 ] |
|
Ah you are right about that! I just entered my email in the registration process and a username was generated automatically. The username generated automatically contains non-ascii characters, my username is 'michaëldegroot'. When going to the repo URL with a web browser it does not accept my credentials, the credentials are correctly added to the apt config file. So this issue indeed is not a MaxScale issue. Thanks for your help! |
| Comment by Timofey Turenko [ 2023-05-12 ] |
|
reopen to set proper resolution |