Puppet/Puppetboard throwing error 'Internal Server Error'

250 views
Skip to first unread message

Manoj Kumar

unread,
Jan 25, 2016, 7:29:27 AM1/25/16
to Puppet Users
Getting following error in apache logs :

[Mon Jan 25 11:44:21.960584 2016] [:error] [pid 13523] ERROR:pypuppetdb.api:Not Found localhost:8080 over HTTP.
[Mon Jan 25 11:44:21.964374 2016] [:error] [pid 13523] ERROR:pypuppetdb.api:Not Found localhost:8080 over HTTP.
[Mon Jan 25 11:44:21.964949 2016] [:error] [pid 13523] ERROR:puppetboard.app:Exception on /favicon.ico/ [GET]
[Mon Jan 25 11:44:21.964967 2016] [:error] [pid 13523] Traceback (most recent call last):
[Mon Jan 25 11:44:21.964974 2016] [:error] [pid 13523]   File "/srv/puppetboard/virtenv-puppetboard/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
[Mon Jan 25 11:44:21.964980 2016] [:error] [pid 13523]     response = self.full_dispatch_request()
[Mon Jan 25 11:44:21.964985 2016] [:error] [pid 13523]   File "/srv/puppetboard/virtenv-puppetboard/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
[Mon Jan 25 11:44:21.964991 2016] [:error] [pid 13523]     rv = self.handle_user_exception(e)
[Mon Jan 25 11:44:21.964997 2016] [:error] [pid 13523]   File "/srv/puppetboard/virtenv-puppetboard/lib/python2.7/site-packages/flask/app.py", line 1370, in handle_user_exception
[Mon Jan 25 11:44:21.965002 2016] [:error] [pid 13523]     return self.handle_http_exception(e)
[Mon Jan 25 11:44:21.965008 2016] [:error] [pid 13523]   File "/srv/puppetboard/virtenv-puppetboard/lib/python2.7/site-packages/flask/app.py", line 1330, in handle_http_exception
[Mon Jan 25 11:44:21.965014 2016] [:error] [pid 13523]     return handler(e)
[Mon Jan 25 11:44:21.965019 2016] [:error] [pid 13523]   File "/srv/puppetboard/puppetboard/puppetboard/app.py", line 110, in not_found
[Mon Jan 25 11:44:21.965024 2016] [:error] [pid 13523]     envs = environments()
[Mon Jan 25 11:44:21.965030 2016] [:error] [pid 13523]   File "/srv/puppetboard/puppetboard/puppetboard/app.py", line 73, in environments
[Mon Jan 25 11:44:21.965035 2016] [:error] [pid 13523]     envs = get_or_abort(puppetdb.environments)
[Mon Jan 25 11:44:21.965040 2016] [:error] [pid 13523]   File "/srv/puppetboard/puppetboard/puppetboard/utils.py", line 26, in get_or_abort
[Mon Jan 25 11:44:21.965045 2016] [:error] [pid 13523]     abort(e.response.status_code)
[Mon Jan 25 11:44:21.965050 2016] [:error] [pid 13523]   File "/srv/puppetboard/virtenv-puppetboard/lib/python2.7/site-packages/werkzeug/exceptions.py", line 576, in __call__
[Mon Jan 25 11:44:21.965056 2016] [:error] [pid 13523]     raise self.mapping[code](*args, **kwargs)
[Mon Jan 25 11:44:21.965061 2016] [:error] [pid 13523] NotFound: 404: Not Found


Can anyone please help on this?

Lowe Schmidt

unread,
Jan 26, 2016, 6:49:39 AM1/26/16
to puppet...@googlegroups.com
Is PuppetDB running?

--
Lowe Schmidt | +46 723 867 157

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/e347bc0d-d1c4-4b9d-be20-5a89e0a45cdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Manoj Kumar

unread,
Jan 27, 2016, 1:59:28 AM1/27/16
to puppet...@googlegroups.com
Yes, puppetdb is running :(

--
You received this message because you are subscribed to a topic in the Google Groups "Puppet Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/DQsVyddNc3w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAC-wWcTVJ3mmjq6Xx-85o-cNSE8TM86ajKetOnWRQEpCfJYQEg%40mail.gmail.com.

Felix Frank

unread,
Feb 11, 2016, 5:55:07 PM2/11/16
to puppet...@googlegroups.com
On 01/27/2016 07:59 AM, Manoj Kumar wrote:
> Yes, puppetdb is running :(
>

OK, next debugging step: What's the output of `ss -tlnp | grep :8080` ?

Thanks,
Felix

Manoj Kumar

unread,
Feb 12, 2016, 2:56:39 AM2/12/16
to puppet...@googlegroups.com
yess I can see that too
--
You received this message because you are subscribed to a topic in the Google Groups "Puppet Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/DQsVyddNc3w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.

Felix Frank

unread,
Feb 12, 2016, 5:59:36 PM2/12/16
to puppet...@googlegroups.com
OK, but seriously, what's it saying?

Also, can you connect to localhost:8080 with netcat? With curl?

Cheers,
Felix

On 02/12/2016 08:56 AM, Manoj Kumar wrote:
> yess I can see that too
>
> Thanks and Regards,
> Manoj Kumar
>

Manoj Kumar

unread,
Feb 13, 2016, 8:17:38 AM2/13/16
to puppet...@googlegroups.com
Yes I was able to connect to that port :(

Thanks and Regards,
Manoj Kumar
--
You received this message because you are subscribed to a topic in the Google Groups "Puppet Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/DQsVyddNc3w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages