# getting 404 error on install

**URL:** <https://forums.percona.com/t/getting-404-error-on-install/3490>\
**Category:** Percona Cloud Tools\
**Created:** [May 21, 2014, 6:43am UTC](https://forums.percona.com/t/getting-404-error-on-install/3490 "2014-05-21T06:43:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![altmannmarcelo](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/altmannmarcelo/32/921_2.png) [@altmannmarcelo](https://forums.percona.com/u/altmannmarcelo)\
**Post date:** [May 21, 2014, 6:43am UTC](https://forums.percona.com/t/getting-404-error-on-install/3490/1 "2014-05-21T06:43:03Z")

</div>

When I’m trying to install the percona-agent it’s exiting due a 404 error:

```auto

[root&#64;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:...&#64;unix(XXX __REMOVED__ XXX)...
MySQL connection OK
Creating new MySQL user for agent...
Agent MySQL user: percona-agent:XXX __REMOVED__ XXX&#64;unix(XXX __REMOVED__ XXX)/?parseTime=true
Failed to get new MySQL instance (status code 404)
Install failed
ERROR: Failed to install percona-agent
[root&#64;blog percona-agent-1.0.1-x86_64]#

```

Do you know what is causing this issue?

---

<div class="post-metadata">

**Author:** ![cunhaefc](https://avatars.discourse-cdn.com/v4/letter/c/47e85d/32.png) [@cunhaefc](https://forums.percona.com/u/cunhaefc)\
**Post date:** [May 26, 2014, 8:36am UTC](https://forums.percona.com/t/getting-404-error-on-install/3490/2 "2014-05-26T08:36:14Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![laacz](https://avatars.discourse-cdn.com/v4/letter/l/ea5d25/32.png) [@laacz](https://forums.percona.com/u/laacz)\
**Post date:** [June 9, 2014, 12:52am UTC](https://forums.percona.com/t/getting-404-error-on-install/3490/3 "2014-06-09T00:52:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Radek\_Havelka](https://avatars.discourse-cdn.com/v4/letter/r/aca169/32.png) [@Radek\_Havelka](https://forums.percona.com/u/Radek_Havelka)\
**Post date:** [June 30, 2014, 6:30am UTC](https://forums.percona.com/t/getting-404-error-on-install/3490/4 "2014-06-30T06:30:23Z")

</div>

Having the same issue …

GET [url][https://v2-cloud-api.percona.com/configs/mm/default-mysql[/url]](https://v2-cloud-api.percona.com/configs/mm/default-mysql%5B/url%5D) error: client.Do: Get [url][https://v2-cloud-api.percona.com/configs/mm/default-mysql:[/url]](https://v2-cloud-api.percona.com/configs/mm/default-mysql:%5B/url%5D) 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 ☹

---

<div class="post-metadata">

**Author:** ![Radek\_Havelka](https://avatars.discourse-cdn.com/v4/letter/r/aca169/32.png) [@Radek\_Havelka](https://forums.percona.com/u/Radek_Havelka)\
**Post date:** [July 3, 2014, 12:35am UTC](https://forums.percona.com/t/getting-404-error-on-install/3490/5 "2014-07-03T00:35:22Z")

</div>

Is there any support here ? Any help ?

---

<div class="post-metadata">

**Author:** ![kamil-dziedzic](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/kamil-dziedzic/32/16873_2.png) [@kamil-dziedzic](https://forums.percona.com/u/kamil-dziedzic)\
**Post date:** [July 4, 2014, 2:35am UTC](https://forums.percona.com/t/getting-404-error-on-install/3490/6 "2014-07-04T02:35:31Z")

</div>

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](https://v2-cloud-api.percona.com/configs/mm/default-mysql) error: client.Do: Get [https://v2-cloud-api.percona.com/con…default-mysql:](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

@Radek Havelka Please request support from our web interface ([https://cloud.percona.com](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:

```auto
time curl -v https://v2-cloud-api.percona.com

```
