That's the behavior I'd expect -- I believe the issue is you're just not
hitting an endpoint. If you're trying to verify that the service is up
and running, the way we typically do that is with
curl http://localhost:8080/pdb/meta/v1/version
which should return a blob with a version number.
Wyatt
On 07/20/2017 08:28 AM, Alexandre Monteiro wrote:
Hi folks,
I'm installing PuppetDB on my desktop. All configuration of
puppetserver, postgre is OK .. but occurring return 302 in my curl
test. I read many forums and it still did not work ..
Here is the error:
# curl -v http://localhost:8080
* About to connect() to localhost port 8080 (#0)
* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 8080 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.29.0
> Host: localhost:8080
> Accept: */*
>
< HTTP/1.1 302 Found
< Date: Thu, 20 Jul 2017 15:27:18 GMT
< Location: /pdb/dashboard/index.html
< Content-Length: 0
< Server: Jetty(9.2.z-SNAPSHOT)
<
* Connection #0 to host localhost left intact
Has anyone seen this yet?
Tks!!
--
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
<mailto:puppet-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/809eaf77-52b8-4451-be17-5556b8416943%40googlegroups.com
<https://groups.google.com/d/msgid/puppet-users/809eaf77-52b8-4451-be17-5556b8416943%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit 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/0140200f-c5fb-73ca-66b8-0be1344c8bac%40puppet.com.
For more options, visit https://groups.google.com/d/optout.