phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From F21 <>
Subject How do I query the phoenix query server?
Date Thu, 24 Mar 2016 00:57:21 GMT
I am interested in building a Go client to query the phoenix query 
server using protocol buffers.

The query server is running on http://localhost:8765, so I tried POSTing 
to localhost:8765  with the marshalled protocol buffer as the body.

Unfortunately, the server responds with:
                 <meta http-equiv="Content-Type" 
                 <title>Error 500 </title>
                 <h2>HTTP ERROR: 500</h2>
                 <p>Problem accessing /. Reason:
                 <pre>    Cannot find parser for 123456</pre></p>
                 <hr /><i><small>Powered by Jetty://</small></i>

"123456" is my connection-id.

There doesn't seem to be any documentation on how to query the query 
server (i.e, which endpoints and how the marshalled protocol buffer 
should be sent). If someone could point me in the right direction, that 
would be awesome!

View raw message