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:
                <head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
                <title>Error 500 </title>
                </head>
                <body>
                <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>
                </body>
                </html>

"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!

Reply via email to