Looking through the grails log, I see the following. The request from the browser is being picked up
24 Mar 2017;09:50:40.737 DEBUG org.apache.coyote.http11.Http11InputBuffer - Received [GET /heroes?max=15 HTTP/1.1^M Host: centos64:8080^M User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0^M Accept: application/json, text/plain, */*^M Accept-Language: en-GB,en;q=0.5^M Accept-Encoding: gzip, deflate^M Referer: http://localhost:4200/dashboard^M Origin: http://localhost:4200^M DNT: 1^M Connection: keep-alive^M And then it finds the data 24 Mar 2017;09:50:42.299 DEBUG org.hibernate.engine.internal.Collections - Collection found: [heroes2.Publisher.heroes#1], was: [heroes2.Publisher.heroes#1] (initialized) 24 Mar 2017;09:50:42.299 DEBUG org.hibernate.event.internal.AbstractFlushingEventListener - Flushed: 0 insertions, 0 updates, 0 deletions to 12 objects 24 Mar 2017;09:50:42.300 DEBUG org.hibernate.event.internal.AbstractFlushingEventListener - Flushed: 0 (re)creations, 0 updates, 0 removals to 1 collections 24 Mar 2017;09:50:42.300 DEBUG org.hibernate.internal.util.EntityPrinter - Listing entities: 24 Mar 2017;09:50:42.300 DEBUG org.hibernate.internal.util.EntityPrinter - heroes2.Hero{flight=false, invulnerable=false, strength=false, city=null, name=Iron Man, publisher=null, id=11, version=0} etc etc But then I get an error 24 Mar 2017;09:50:42.305 DEBUG org.grails.web.servlet.mvc.GrailsWebRequestFilter - Cleared Grails thread-bound request context: org.apache.catalina.connector.RequestFacade@1ae7a41a 24 Mar 2017;09:50:42.381 DEBUG org.apache.coyote.http11.Http11Processor - Error parsing HTTP request header java.io.EOFException: null at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1222) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1163) at org.apache.coyote.http11.Http11InputBuffer.fill(Http11InputBuffer.java:742) at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:404) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:994) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) 24 Mar 2017;09:50:42.382 DEBUG org.apache.coyote.http11.Http11Processor - Socket: [org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper@564d6ef5:org.apache.tomcat.util.net.NioChannel@49642f0f:java.nio.channels.SocketChannel[connected local=/192.168.1.81:8080 remote=/192.168.1.71:50944]], Status in: [OPEN_READ], State out: [CLOSED] 24 Mar 2017;09:50:42.382 DEBUG org.apache.tomcat.util.threads.LimitLatch - Counting down[http-nio-8080-exec-2] latch=1 And I am not sure what causes that. -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
