Fork me on GitHub
Daniel Craig17:12:00

Hi all, I'm using re-graph and Lacinia and seeing the following error: Firefox can't establish a connection to the server at . Everything works when I initialize re-graph like so:

 [::re-graph/init {:ws nil
                   :http {
                          :supported-operations #{:query}
                          :parameters {:with-credentials? false}}}])
but it breaks down if I change this to
(re-frame/dispatch [::re-graph/init {}])
Does this mean that I haven't set up Lacinia properly to use websockets? How can I correct this?

Daniel Craig22:12:47

Thanks! I've been poring over your project today actually @U26FJ5FDM

Daniel Craig22:12:48

Let me try that