scicore-unibas-ch / ansible-modules-guacamole

Ansible modules to interact with the apache guacamole API
20 stars 23 forks source link

HTTP Status 404 – Not Found #26

Closed johnmcavoy closed 2 years ago

johnmcavoy commented 2 years ago

Hi there,

Im using Bitnami's latest Gucamole build but when I try and run the playbook using the Ansible module I'm getting the following error.

- name: Add a new console connection
  scicore.guacamole.guacamole_connection:
    base_url: http://1.2.3.4/guacamole

"msg": "Could not obtain access token from http://192.168.128.206/guacamole/api/tokens: HTTP Error 404: "

Any suggestions?

Thanks

John

pescobar commented 2 years ago

I guess the base_url you are using is not correct.

I would suggest to try to access the used base_url using your browser to verify it's working.

You can also use curl for debugging. You can find some examples here

johnmcavoy commented 2 years ago

thanks for the reply, I rebuild from scratch and it worked fine so maybe something slightly different with the Bitnami build? Thanks for your help.

Regards

pescobar commented 2 years ago

I have never tried the bitnami build.

Glad to hear you got it working