500 error when trying to log in to jenkins

Keywords: Jenkins - Linux - Technical issue - Other
bnsupport ID: fd7cd001-0222-c0ac-b9de-ca96a12f3d4f
I am on Ubuntu Server using jenkins 2.176.2-0. The apache and tomcat services are running. When I go to myserver.com/jenkins I am shown the login page as normal. However whether or not I enter correct credentials I get taken to myserver.com/jenkins/j_acegi_security_check
with a 500 Internal Server Error

Hi @dcopp.yoomtah,

thank you for the information. I found some error messages in the Apache’s and Tomcat’s logs that are related with that

  • Apache
[Thu Jul 25 04:18:34.534549 2019] [proxy_ajp:error] [pid 3802] (70007)The timeout specified has expired: AH01030: ajp_ilink_receive() can't receive header
[Thu Jul 25 04:18:34.535311 2019] [proxy_ajp:error] [pid 3802] [client] AH00992: ajp_read_header: ajp_ilink_receive failed, referer:
[Thu Jul 25 04:18:34.535562 2019] [proxy_ajp:error] [pid 3802] (70007)The timeout specified has expired: [client] AH00878: read response failed from (localhost), referer:
  • Tomcat
25-Jul-2019 02:50:47.627 INFO [pool-6-thread-2] jenkins.InitReactorRunner$1.onAttained Completed initialization
25-Jul-2019 02:51:00.493 INFO [Jenkins initialization thread] hudson.WebAppMain$3.run Jenkins is fully up and running                                                                                                                                                                                                         25-Jul-2019 02:53:48.664 WARNING [Handling GET /jenkins/login from : ajp-nio-8009-exec-1] hudson.init.impl.InstallUncaughtExceptionHandler.lambda$init$0 null
__javax.servlet.ServletException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
____at org.kohsuke.stapler.Facet$1.dispatch(Facet.java:247)
____at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
____at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
____at org.kohsuke.stapler.Stapler.invoke(Stapler.java:676)
____at org.kohsuke.stapler.Stapler.service(Stapler.java:238)

did you change something in the installation lately? (a configuration change, plugin, stop/start the machine, …)


This is the initial installation of Jenkins. I am trying to log in for the first time. Do you have any idea what might be causing that broken pipe error?

I see there is a timeout error in the Apache log. What is the configuration file I would need to edit this in?

Hi @dcopp.yoomtah

I can’t reproduce the issue. Could you please uninstall Jenkins and install it again?

Was my answer helpful? Click on :heart:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.