graphql

Day Bobby 2020-09-29T16:29:10.008600Z

Hello everyone, I'm new to Clojure. Trying to make a SQL-backed GraphQL API right now to learn (I do the equivalence in typescript at my main job). I'm seeing a lot of these errors in my REPL. They are caused by GraphiQL websocket disconnects I suspect. Is there a way to suppress them? I tried this method but no luck https://github.com/tonsky/grumpy/commit/c6bbcc9590394243e37c2a72a4e569a7c506be7d

ERROR c.w.lacinia.pedestal.subscriptions  - {:event :com.walmartlabs.lacinia.pedestal.subscriptions/error, :line 513}
org.eclipse.jetty.io.EofException: null
	at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:284)
	at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:393)
	at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:277)
	at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:380)
	at org.eclipse.jetty.websocket.common.io.FrameFlusher.flush(FrameFlusher.java:264)
	at org.eclipse.jetty.websocket.common.io.FrameFlusher.process(FrameFlusher.java:193)
	at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241)
	at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224)
	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.outgoingFrame(AbstractWebSocketConnection.java:509)
	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.close(AbstractWebSocketConnection.java:184)
	at org.eclipse.jetty.websocket.common.WebSocketSession.close(WebSocketSession.java:145)
	at org.eclipse.jetty.websocket.common.WebSocketSession.close(WebSocketSession.java:120)
	at io.pedestal.http.jetty.websockets$start_ws_connection$fn__19467$fn__19507$state_machine__13095__auto____19518$fn__19520.invoke(websockets.clj:52)
	at io.pedestal.http.jetty.websockets$start_ws_connection$fn__19467$fn__19507$state_machine__13095__auto____19518.invoke(websockets.clj:47)
	at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:973)
	at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:972)
	at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:977)
	at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:975)
	at clojure.core.async.impl.ioc_macros$take_BANG_$fn__13113.invoke(ioc_macros.clj:986)
	at clojure.core.async.impl.channels.ManyToManyChannel$fn__8787.invoke(channels.clj:265)
	at clojure.lang.AFn.run(AFn.java:22)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.nio.channels.AsynchronousCloseException: null
	at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:501)
	at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:264)
	... 23 common frames omitted