*Hello Team , I am new to puppetdb I run puppet db in a EC2 instance and it 
is running and listening in port 8080*

lsof -i :8080
COMMAND PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
java    851 puppetdb   19u  IPv6  18964      0t0  TCP localhost:webcache 
(LISTEN)


*I installed apache on the same box and configured proxy to route all the 
inbound traffic to localhost:8080*


 more reverse-proxy.conf
<IfModule mod_proxy.c>
          ProxyRequests Off
          <Proxy *>
                    Require all granted
          </Proxy>
           ProxyPass  / http://localhost:8081
           ProxyPassReverse  / http://localhost:8081
</IfModule>

*when i tried to access from internet I got the below error *

Proxy Error 

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request *GET /pdb/dashboard/index.html 
<http://ec2-54-224-98-246.compute-1.amazonaws.com/pdb/dashboard/index.html>*
.

Reason: *DNS lookup failure for: localhost:8081pdb*



>From Puppetdb-accesslog


localhost - - [30/Apr/2017:19:20:41 +0000] "GET /pdb/meta/v1/version 
HTTP/1.1" 200 25 "-" "Puppet/4.10.0 Ruby/2.1.9-p490 (x86_64-linux)" 50
127.0.0.1 - - [30/Apr/2017:20:37:36 +0000] "GET / HTTP/1.1" 302 0 "-" 
"Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0" 
3
127.0.0.1 - - [30/Apr/2017:20:37:41 +0000] "GET / HTTP/1.1" 302 0 "-" 
"Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0" 
1
127.0.0.1 - - [30/Apr/2017:20:49:50 +0000] "GET / HTTP/1.1" 302 0 "-" 
"Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0" 
17
127.0.0.1 - - [30/Apr/2017:21:01:32 +0000] "GET / HTTP/1.1" 302 0 "-" 
"Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0" 
1
127.0.0.1 - - [30/Apr/2017:21:30:25 +0000] "GET / HTTP/1.1" 302 0 "-" 
"Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0" 
1
127.0.0.1 - - [30/Apr/2017:21:35:40 +0000] "GET / HTTP/1.1" 302 0 "-" 
"Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0" 
19


any help is appriciated

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/0dba8bf4-1c28-4bf6-a753-d41679fc695b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to