Giter VIP home page Giter VIP logo

jbosstools-livereload's People

Contributors

adietish avatar alexeykazakov avatar bdshadow avatar dazarov avatar dgolovin avatar fbricon avatar jeffmaury avatar kmarmaliykov avatar maxandersen avatar mickaelistria avatar nickboldt avatar odockal avatar rawagner avatar robstryker avatar sbouchet avatar xcoulon avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jbosstools-livereload's Issues

Large pages (chunked) return Bad Gateway response

If i have a large JSF-page that is sent in chunks to the client, it get HTTP Response 502 BAD_GATEWAY. If i make the content of the same page smaller so it can be sent in a single response with Conent-Length, all is fine.

curl -i --verbose "http://localhost:53086/cf/cashhistory.xhtml"                   
* About to connect() to localhost port 53086 (#0)
*   Trying ::1...
* Connection refused
*   Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 53086 (#0)
> GET /cf/cashhistory.xhtml HTTP/1.1
> User-Agent: curl/7.29.0
> Host: localhost:53086
> Accept: */*
> 
< HTTP/1.1 502 Bad Gateway
HTTP/1.1 502 Bad Gateway
< Date: Tue, 17 Jul 2018 19:36:23 GMT
Date: Tue, 17 Jul 2018 19:36:23 GMT
< Set-Cookie: JSESSIONID=fAHc9pn0tq_1MmBH9lmD0sezj0XaAE27lqQT1SDN.dev; path=/cf
Set-Cookie: JSESSIONID=fAHc9pn0tq_1MmBH9lmD0sezj0XaAE27lqQT1SDN.dev; path=/cf
< Date: Tue, 17 Jul 2018 19:36:23 GMT
Date: Tue, 17 Jul 2018 19:36:23 GMT
< Connection: close
Connection: close
< Cache-Control: must-revalidate,no-cache,no-store
Cache-Control: must-revalidate,no-cache,no-store
< Content-Type: text/html;charset=iso-8859-1
Content-Type: text/html;charset=iso-8859-1
< Content-Length: 341
Content-Length: 341
< Server: Jetty(9.4.10.v20180503)
Server: Jetty(9.4.10.v20180503)

< 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 502 Bad Gateway</title>
</head>
<body><h2>HTTP ERROR 502</h2>
<p>Problem accessing /cf/cashhistory.xhtml. Reason:
<pre>    Bad Gateway</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.10.v20180503</a><hr/>

</body>
</html>
* Closing connection 0

When I enable Jetty logs via adding -Dorg.eclipse.jetty.LEVEL=ALL to the eclipse.ini i can see things like this:

2018-07-17 20:41:25.755:DBUG:oejc.HttpReceiver:LiveReloadScriptInjectionMiddleManServlet-285cb1cf-164: Response failure HttpResponse[HTTP/1.1 200 OK]@60d54129 HttpExchange@71f30650 req=TERMINATED/null@null res=COMPLETED/java.lang.NumberFormatException: null@746016c4 on HttpChannelOverHTTP@a89113d(exchange=HttpExchange@71f30650 req=TERMINATED/null@null res=COMPLETED/java.lang.NumberFormatException: null@746016c4)[send=HttpSenderOverHTTP@2c00de21(req=QUEUED,snd=COMPLETED,failure=null)[HttpGenerator@5171841a{s=START}],recv=HttpReceiverOverHTTP@57e14c13(rsp=FAILURE,failure=java.lang.NumberFormatException: null)[HttpParser{s=CLOSE,16231 of -1}]]: java.lang.NumberFormatException: null

I am not sure what is the issue here and how to solve it. In case someone can point me in the right direction, this would be highly appreciated.

Cheers,
Daniel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.