squeeze-alexa icon indicating copy to clipboard operation
squeeze-alexa copied to clipboard

Prove / document using squeeze-alexa with HAProxy

Open declension opened this issue 8 years ago • 3 comments

It's a more modern and available generic TLS proxy that shows promise for usage here, and might help cut through the setup complexity...

declension avatar Feb 14 '17 09:02 declension

Wouldn't it be easier to the JSON-RPC interface? You basically send CLI commands to the LMS interface at http://<LMS server>/jsonrpc.js. That would be much easier to proxy, since it is HTTP traffic.

dasos avatar Mar 27 '17 16:03 dasos

@dasos interesting.

I think I considered jsonrpc originally briefly but then forgot all about it. Haven't really used it ever either. Perhaps I thought it was significantly slower but am now thinking it's probably negligible. Can you send multiple commands / lines per web request?

declension avatar Mar 27 '17 17:03 declension

I've found it much faster and more reliable. I'm not aware that you can send multiple commands per request, but I've never needed to.

Sending { "id": 1, "method": "slim.request", "params": ["", ["player", "count", "?"]] }

and getting a response took 21ms according to Postman.

dasos avatar Mar 28 '17 09:03 dasos