question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IOException: Broken pipe with IntelliJ embedded Tomcat

See original GitHub issue

When starting the Beverage Buddy with Tomcat 9.0.6, BB starts properly but Tomcat prints out IOException: Broken pipe to the log (see this gist for a full log: log ). With Tomcat 8.5.27 the exception is slightly different: log

I thought this to be some integration issue for Tomcat + Flow, however weird thing is that when I try to start the Skeleton Starter using Tomcat 9.0.6, the exception does not show in the log. I thought this is because of Beverage Buddy fetching Polymer templates from the server, but the exception is also present for the Kotlin port of Beverage Buddy which does not use Polymer Templates at all.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mikotincommented, May 21, 2018

Versions Tomcat 9.0.6 and Tomcat 8.5.27 also tested without given exception. This might be something to do with deploy setup with IntelliJ, @mvysny could you make sure that given project (beveragebuddy) is undeployed before it’s gets deployd (by intellij) ?

0reactions
mvysnycommented, May 21, 2018

@mikotin you’re right! When I just drop the beverage-buddy-vok.war into Tomcat’s webapps and access localhost:8080/beverage-buddy-vok, no exceptions are printed out. But if I run Tomcat from Intellij, the IOException: Broken pipe is shown. Tested it with Tomcat 9.0.8 on Linux.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Broken pipe bringing down the embedded tomcat 8 app ...
I am looking at potential solutions so that the server is resilient to a bad behaving client. java.io.IOException: Broken pipe at sun.nio.ch.
Read more >
What does "Connection error: Broken pipe" mean?
Hello Michael, It means that Xdebug suddenly closed the connection for some reason. Is the page that you debug shown in browser completely?...
Read more >
Trying to set up Deploy in Intellij - CodeRanch
In any case, it's not working for me at all with Tomcat 8.5. I guess I'll just have to manually copy the file...
Read more >
Avoid reporting Broken Pipe errors to Sentry in a Spring Boot ...
Coding example for the question Avoid reporting Broken Pipe errors to Sentry in a Spring Boot application-Springboot.
Read more >
解决java.io.IOException: Broken pipe的报错_OnlyQer的博客-CSDN ...
IOException : Broken pipe at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:351) ~[tomcat-embed-core-9.0.35.jar!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found