I think you wanted /pdb/meta/v1/version? This and the other puppetdb 
documentation may help:

https://docs.puppet.com/puppetdb/4.4/api/query/v4/query.html
https://docs.puppet.com/puppetdb/4.4/api/meta/v1/version.html

(Obviously pick your puppetdb version in the drop-down at the top of the page.)

On Wed, Jun 07, 2017 at 03:13:24AM -0700, 'Nishutosh Sharma' via Puppet Users 
wrote:
>    I am facing same issue as above.
>    I got the following response :-
>    <html>
>    <head>
>    <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
>    <title>Error 404 </title>
>    </head>
>    <body>
>    <h2>HTTP ERROR: 404</h2>
>    <p>Problem accessing /v4/version. Reason:
>    <pre>    Not Found</pre></p>
>    <hr /><i><small>Powered by Jetty://</small></i>
>    </body>
>    </html>
>    On Saturday, 30 August 2014 04:23:35 UTC+5:30, Wyatt Alt wrote:
> 
>      Hi Spriya,
> 
>      Can you try accessing your database server directly at the host and port
>      specified in /etc/puppetdb/conf.d/jetty.ini and see if you get the same
>      error?
> 
>      e.g curl [1]http://localhost:8080/v4/version
> 
>      Wyatt
> 
>      On Fri, Aug 29, 2014 at 11:30 AM, Spriya <[2]supriya.u...@gmail.com>
>      wrote:
> 
>        Hi,
> 
>        I installed puppet server using opensource.when i run puppet agent -t
>        i am having this issue:
>        Error: Could not retrieve catalog from remote server: Error 400 on
>        SERVER: Failed to submit 'replace facts' command for [3]example.com to
>        PuppetDB at [4]example.com:8081: [404 Not Found] <html><head><meta
>        http-equiv="Content-Type"
>        content="text/html;charset=ISO-8859-1"/><title>Error 404
>        </title></head><body><h2>HTTP ERROR: 404</h2><p>Problem accessing
>        /v3/commands. Reason:<pre>    Not Found</pre></p><hr
>        /><i><small>Powered by Jetty://</small></i></body></html>
>        Warning: Not using cache on failed catalog
>        Error: Could not retrieve catalog; skipping run
> 
>        Here are my version information:
>        rpm -qa | grep puppet
>        puppetdb-2.2.0-1.el6.noarch
>        puppetlabs-release-6-6.noarch
>        puppet-3.6.2-1.el6.noarch
>        puppet-dashboard-1.2.23-1.el6.noarch
>        puppet-server-3.6.2-1.el6.noarch
>        rubygem-puppet-lint-0.3.2-1.el6.noarch
>        puppetdb-terminus-2.2.0-1.el6.noarch
>        puppetlabs-release-6-10.noarch
> 
>        Please  help me
> 
>        --
>        You received this message because you are subscribed to the Google
>        Groups "Puppet Users" group.
>        To unsubscribe from this group and stop receiving emails from it, send
>        an email to [5]puppet-users...@googlegroups.com.
>        To view this discussion on the web visit
>        
> [6]https://groups.google.com/d/msgid/puppet-users/1166ffe0-eed5-449d-93c9-8d981997ff90%40googlegroups.com.
>        For more options, visit [7]https://groups.google.com/d/optout.
> 
>    --
>    You received this message because you are subscribed to the Google Groups
>    "Puppet Users" group.
>    To unsubscribe from this group and stop receiving emails from it, send an
>    email to [8]puppet-users+unsubscr...@googlegroups.com.
>    To view this discussion on the web visit
>    
> [9]https://groups.google.com/d/msgid/puppet-users/2fdf4012-2740-4964-9e7b-b952cdf6e33b%40googlegroups.com.
>    For more options, visit [10]https://groups.google.com/d/optout.
> 
> References
> 
>    Visible links
>    1. http://localhost:8080/v4/version
>    2. javascript:
>    3. http://example.com/
>    4. http://example.com:8081/
>    5. javascript:
>    6. 
> https://groups.google.com/d/msgid/puppet-users/1166ffe0-eed5-449d-93c9-8d981997ff90%40googlegroups.com?utm_medium=email&utm_source=footer
>    7. https://groups.google.com/d/optout
>    8. mailto:puppet-users+unsubscr...@googlegroups.com
>    9. 
> https://groups.google.com/d/msgid/puppet-users/2fdf4012-2740-4964-9e7b-b952cdf6e33b%40googlegroups.com?utm_medium=email&utm_source=footer
>   10. https://groups.google.com/d/optout

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/20170607134630.GA17191%40iniquitous.heresiarch.ca.
For more options, visit https://groups.google.com/d/optout.

Reply via email to