Not the answer you need?
Register and ask your own question!

getting 404 error on install

altmannmarceloaltmannmarcelo PerconaCurrent User Role Novice
When I'm trying to install the percona-agent it's exiting due a 404 error:
[root@blog percona-agent-1.0.1-x86_64]# ./install 
Detected Linux x86_64
CTRL-C at any time to quit
API host: v2-cloud-api.percona.com
API key: XXX__REMOVED__XXX
Verifying API key XXX__REMOVED__XXX...
API key XXX__REMOVED__XXX is OK
Created server instance: hostname=XXX__REMOVED__XXX id=1
Create MySQL user for agent? ('N' to use existing user) (Y): 
Specify a root/super MySQL user to create a user for the agent
MySQL username: XXX__REMOVED__XXX
MySQL password: 
MySQL host[:port] or socket file (localhost): XXX__REMOVED__XXX
Testing MySQL connection XXX__REMOVED__XXX:...@unix(XXX__REMOVED__XXX)...
MySQL connection OK
Creating new MySQL user for agent...
Agent MySQL user: percona-agent:XXX__REMOVED__XXX@unix(XXX__REMOVED__XXX)/?parseTime=true
Failed to get new MySQL instance (status code 404)
Install failed
ERROR: Failed to install percona-agent
[root@blog percona-agent-1.0.1-x86_64]#

Do you know what is causing this issue?

Comments

  • cunhaefccunhaefc Entrant Inactive User Role Beginner
    Man I'm having pretty much the same problem. I've been looking for a solution for a few days now and still can't figure it out. If I do find a solution, I'll be sure to post it here.
  • laaczlaacz Entrant Inactive User Role Beginner
    I had the same problem. Interestingly, what worked for me, was following command. Then 404 error was gone and agent did install. Now waiting for data to be sent to cloud.

    sudo ./install -api-key="your-api-key-here" -create-mysql-user=false -debug=true
  • Radek HavelkaRadek Havelka Entrant Current User Role Beginner
    Having the same issue ...

    GET https://v2-cloud-api.percona.com/configs/mm/default-mysql error: client.Do: Get https://v2-cloud-api.percona.com/configs/mm/default-mysql: read tcp 162.220.4.204:443: i/o timeout
    WARNING: cannot start MySQL metrics monitor
    Failed to update agent via API (status code 404)
    Install failed
    ERROR: Failed to install percona-agent

    no matter if firewall is running or not, I didnt get to install this thing :(
  • Radek HavelkaRadek Havelka Entrant Current User Role Beginner
    Is there any support here ? Any help ?
  • kamil-dziedzickamil-dziedzic Entrant Inactive User Role Beginner
    Hi everyone,
    Failed to get new MySQL instance (status code 404)

    This should be fixed since 12 June. @altmannmarcelo @cunhaefc @laacz Is this bug still affecting you?
    GET https://v2-cloud-api.percona.com/con.../default-mysql error: client.Do: Get https://v2-cloud-api.percona.com/con...default-mysql: read tcp 162.220.4.204:443: i/o timeout
    WARNING: cannot start MySQL metrics monitor
    Failed to update agent via API (status code 404)
    Install failed
    ERROR: Failed to install percona-agent


    @Radek Havelka Please request support from our web interface (https://cloud.percona.com - there is a "Support" button at the bottom of the page)
    and include description of above problem and output from below cmd:
    time curl -v https://v2-cloud-api.percona.com
    
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.