OK, good it was sorted out, body being indeed added in two places with
the first config.
Cheers,
Daniel
On 06.06.18 17:41, Asgaroth wrote:
> Updating the event route to:
>
> event_route[xhttp:request] {
> $var(xhttp_uri) = $(hu{s.tolower});
>
> xlog("L_INFO", "event_route[xhttp:request]
Updating the event route to:
event_route[xhttp:request] {
$var(xhttp_uri) = $(hu{s.tolower});
xlog("L_INFO", "event_route[xhttp:request] : hu = '$hu'
var(xhttp_uri) = '$var(xhttp_uri)'");
if ( $var(xhttp_uri) =~ "^/rpc") {
jsonrpc_dispatch();
} else if (
Hi,
I performed the following:
# kamcmd dbg.trace on
# curl --header 'Content-Type: application/json' \
--data-binary '{\
"jsonrpc": "2.0", \
"method": "ul.lookup", \
"params": [ "location","u...@example.com"], \
"id": 3 }' http://registrar.example.com/rpc
# kamcmd dbg.trace off
And the
Hi Daniel,
Thsnk for the suggestion, I will load the debugger module in the comming
days and come back to you with the information.
Thanks
On 18/05/18 13:52, Daniel-Constantin Mierla wrote:
Hello,
this sounds like the body for reply was already set. Can you enable
cfgtrace in debugger
Hello,
this sounds like the body for reply was already set. Can you enable
cfgtrace in debugger module and see what actions are executed in that
situation?
Cheers,
Daniel
On 17.05.18 18:22, Asgaroth wrote:
> Hi All,
>
> We are trying to query the json rpc server on our registrar for the
>