Closed ARoddis closed 8 years ago
Works for me with master on Python 2 and Python 3 (I registered a procedure "foo" and called it via curl
like you do above). I also get back JSON with an "error" key if foo
throws an exception. If you're still having problems, can you either try asking on the mailing-list or IRC or post crossbar version
output and more details?
Hey!
First of all, thank you for this great tool! :D I realy enjoy working with crossbar.io.
I have one little (big) problem though...i configured a HTTP-Bridge-Caller:
The publishers works fine and publishes events to my autobahn-js-clients as expected.
even the authentication method works fine in the browser and php. :)
But if i use the same php-client-lib (guzzle) to do a call (of course i change the bodyjson to include "procedure" etc) the request timesout...
Even if I do it on the cli with curl it times out:
" curl -H "Content-Type: application/json" -d '{"procedure": "dsa_online.public.calls.test", "args": [1, 2]}' http://127.0.0.1:8080/call"
On the log i get (even on debugmode) just this one line:
2016-08-21T12:21:06+0000 [Router 21613 crossbar.adapter.rest.caller.CallerResource] REST bridge request recieved. (path='/call', method=POST)
Thats all....nothing more.
Does anyone know why this problem occurs? Im a bit clueless... :/
Thank you alot! :)