# Installation probleme

**URL:** https://wazo-platform.discourse.group/t/installation-probleme/107
**Category:** Installation/Configuration
**Created:** [December 19, 2019, 12:17pm UTC](https://wazo-platform.discourse.group/t/installation-probleme/107 "2019-12-19T12:17:45Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Nicolas56](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/nicolas56/32/17_2.png) [@Nicolas56](https://wazo-platform.discourse.group/u/Nicolas56)
#### Post date: [December 19, 2019, 12:17pm UTC](https://wazo-platform.discourse.group/t/installation-probleme/107/1 "2019-12-19T12:17:45Z")

</div>

Hello.

i have on error when i try to install Wazo.  
When i type this command :  
`ansible-playbook -i inventories/uc-engine uc-engine.yml`

I have this error :

> ```
> TASK [uc-engine : Setup engine] ********************************************************************************************************************************
> fatal: [localhost]: FAILED! => {"access_control_allow_origin": "*", "changed": false, "connection": "close", "content": "{\"message\": \"Sent data is invalid\", \"error_id\": \"invalid-data\", \"details\": {\"engine_password\": {\"message\": \"Not a valid string.\", \"constraint_id\": \"type\", \"constraint\": \"string\"}}, \"timestamp\": 1576757289.2541664}\n", "content_length": "214", "content_type": "application/json", "date": "Thu, 19 Dec 2019 12:08:09 GMT", "json": {"details": {"engine_password": {"constraint": "string", "constraint_id": "type", "message": "Not a valid string."}}, "error_id": "invalid-data", "message": "Sent data is invalid", "timestamp": 1576757289.2541664}, "msg": "Status code was 400 and not [201]: HTTP Error 400: BAD REQUEST", "redirected": false, "server": "nginx/1.14.2", "status": 400, "url": "https://localhost:443/api/setupd/1.0/setup"}
> to retry, use: --limit @/root/wazo-ansible/uc-engine.retry
> 
> PLAY RECAP *****************************************************************************************************************************************************
> localhost : ok=129 changed=30 unreachable=0 failed=1
> 
> ```

have you one idea for this?

Thank’s you.

---

<div class="post-metadata">

### Author: ![gcamara](https://avatars.discourse-cdn.com/v4/letter/g/71c47a/32.png) [@gcamara](https://wazo-platform.discourse.group/u/gcamara)
#### Post date: [December 27, 2019, 3:54am UTC](https://wazo-platform.discourse.group/t/installation-probleme/107/2 "2019-12-27T03:54:55Z")

</div>

> [@Nicolas56](#):
>
> Hello.
> 
> i have on error when i try to install Wazo.  
> When i type this command :  
> `ansible-playbook -i inventories/uc-engine uc-engine.yml`

I had the same problem when I wanted to install. Could someone have solved this problem.

---

<div class="post-metadata">

### Author: ![quintana](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/quintana/32/916_2.png) [@quintana](https://wazo-platform.discourse.group/u/quintana)
#### Post date: [December 27, 2019, 3:55am UTC](https://wazo-platform.discourse.group/t/installation-probleme/107/3 "2019-12-27T03:55:31Z")

</div>

Please add the log and error if you want someone help you.

---

<div class="post-metadata">

### Author: ![quintana](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/quintana/32/916_2.png) [@quintana](https://wazo-platform.discourse.group/u/quintana)
#### Post date: [December 27, 2019, 3:57am UTC](https://wazo-platform.discourse.group/t/installation-probleme/107/4 "2019-12-27T03:57:03Z")

</div>

I think in mattermost the solution was to use a password less complicated.

---

<div class="post-metadata">

### Author: ![fblackburn](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@fblackburn](https://wazo-platform.discourse.group/u/fblackburn)
#### Post date: [December 27, 2019, 1:07pm UTC](https://wazo-platform.discourse.group/t/installation-probleme/107/5 "2019-12-27T13:07:51Z")

</div>

The following PR should fix the issue: [https://github.com/wazo-platform/wazo-ansible/pull/57](https://github.com/wazo-platform/wazo-ansible/pull/57)

---

<div class="post-metadata">

### Author: ![Nicolas56](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/nicolas56/32/17_2.png) [@Nicolas56](https://wazo-platform.discourse.group/u/Nicolas56)
#### Post date: [December 27, 2019, 1:59pm UTC](https://wazo-platform.discourse.group/t/installation-probleme/107/6 "2019-12-27T13:59:58Z")

</div>

Hello,

I no longer know where I marked it (on the Forum or on Mattermost). But where, the problem is solved by putting a complex password.

It’s good.  
One more security.

Thank you for your feedback.

Have a good day.

---

<div class="post-metadata">

### Author: ![Nicolas56](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/nicolas56/32/17_2.png) [@Nicolas56](https://wazo-platform.discourse.group/u/Nicolas56)
#### Post date: [December 30, 2019, 10:46am UTC](https://wazo-platform.discourse.group/t/installation-probleme/107/7 "2019-12-30T10:46:16Z")

</div>

Hello.

I have a new probléme in the end of installation :

When i type :

> wazo-auth-cli token create --auth-user \<api\_client\_name\> --auth-password \<api\_client\_password\>

I Have this error :

> 401 Client Error: UNAUTHORIZED for url: [https://localhost:9497/0.1/token](https://localhost:9497/0.1/token)

Or, when i type :

> curl -k -X POST -u \<api\_client\_name\>:\<api\_client\_password\> -H ‘Content-Type: application/json’ -d ‘{“expiration”: 3600}’ [https://127.0.0.1/api/auth/0.1/token](https://127.0.0.1/api/auth/0.1/token)

I Have this error :

> {“reason”: [“Authentication Failed”], “timestamp”: [1577702677.6691139], “status\_code”: 401}

Can you help me please?  
Thank’s.

---

<div class="post-metadata">

### Author: ![fblackburn](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@fblackburn](https://wazo-platform.discourse.group/u/fblackburn)
#### Post date: [January 10, 2020, 6:45pm UTC](https://wazo-platform.discourse.group/t/installation-probleme/107/8 "2020-01-10T18:45:33Z")

</div>

This question has been solved in the [mattermost channel](https://mm.wazo.community/wazo-platform/pl/fp5nt6cewfrc9g7wu7iz69181o). I (try) copy paste the response

> fblackburn [06:27 AM]  
> For wazo-auth-cli the argument is `--auth-username` not `--auth-user`

> fblackburn [06:31 AM]  
> But if your curl command doesn’t work, then you have entered a wrong username/password. You can check the username with `wazo-auth-cli user list --recurse` . Otherwise you can create a wazo-auth-cli token with `wazo-auth-cli token create` to update your user password with API

> nicolas56[10:29 AM]  
> Thank’s you.  
> I reset my installation and it’s ok.  
> I have one error witch cut and paste in ssh .

---

<div class="post-metadata">

### Author: ![GC01](https://avatars.discourse-cdn.com/v4/letter/g/b9e5f3/32.png) [@GC01](https://wazo-platform.discourse.group/u/GC01)
#### Post date: [January 21, 2020, 11:17am UTC](https://wazo-platform.discourse.group/t/installation-probleme/107/9 "2020-01-21T11:17:45Z")

</div>

hello

I’m same erreur

# wazo-auth-cli token create --auth-username admin01 --auth-password epsilon

401 Client Error: UNAUTHORIZED for url: [https://localhost:9497/0.1/token](https://localhost:9497/0.1/token)

`wazo-auth-cli user list --recurse`

 ![image](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/97aa040b59ac7df8d592281977c1d16da1b7fcdc.png)
