I am having difficulties with mod_proxy 65. I am running this within a home network at this time.
Here is my config:
{mod_proxy65, [
{host, "proxy.mac-mini.home"},
{name, "socks5 bytestream"},
{ip, {192, 168, 1, 34}},
{port, 7778}
]},
For some reason port 7777 would not work (perhaps it was taken already, but 7778 seems ok).
The issue is that I can negotiate the streams for both clients at either end (sucessfully) but when I try to activate the stream (final step) I get the error item-not-found error.
According to xep-0065 this tell me that the initiator JID is not the same as the full JID that sent the Activate command... however I have checked this (backwards and forwards) and it is IDENTICAL. I have also set the logs to debug ... and found nothing different there...
Has anyone else seen this and can anyone suggest any remedies. Are there some other settings that I need to make sure are set to make this work.
Any help would be appreciated!
John
SOLVED With the help of a
SOLVED
With the help of a colleague I solved this. I was not adding the hashed SID + Requester JID + TargetJID to the socket stream correctly.
ejabberd gave the incorrect error (according to the sep-0065 documentation). This may have ben intentional to provide additional security, however it would have been useful if this had been documented!