XMPP Stream Errors;

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

XMPP Stream Errors;

David J.-2
I am trying to connect to my ejabber server and getting stream errors;

I am not sure how to connect this module; I set all the parameters as
follows;

modparam("xmpp", "backend", "component")
#modparam("xmpp", "xmpp_domain", "domain.com")
modparam("xmpp", "xmpp_host","domain.com")
modparam("xmpp", "sip_domain", "domain.com")
modparam("xmpp", "xmpp_port", 5269)
modparam("xmpp", "xmpp_password", "passw0rd")

I start opensips from the command line and see some very fast loop
spitting out stream errors;

Like its trying to connect to the server but fails maybe?

Any help would be appreciated.

Thanks.



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: XMPP Stream Errors;

Anton Zagorskiy
Make logging to a file and set debug=9.






WBR, Anton Zagorskiy
VoIP Developer, Oyster Telecom
Phone.: +7 812 601-0666
Fax: +7 812 601-0593
[hidden email]
www.oyster-telecom.ru



> -----Original Message-----
> From: [hidden email] [mailto:users-
> [hidden email]] On Behalf Of David J.
> Sent: Monday, December 13, 2010 3:11 PM
> To: OpenSIPS users mailling list
> Subject: [OpenSIPS-Users] XMPP Stream Errors;
>
> I am trying to connect to my ejabber server and getting stream errors;
>
> I am not sure how to connect this module; I set all the parameters as
> follows;
>
> modparam("xmpp", "backend", "component")
> #modparam("xmpp", "xmpp_domain", "domain.com")
> modparam("xmpp", "xmpp_host","domain.com")
> modparam("xmpp", "sip_domain", "domain.com")
> modparam("xmpp", "xmpp_port", 5269)
> modparam("xmpp", "xmpp_password", "passw0rd")
>
> I start opensips from the command line and see some very fast loop
> spitting out stream errors;
>
> Like its trying to connect to the server but fails maybe?
>
> Any help would be appreciated.
>
> Thanks.
>
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: XMPP Stream Errors;

David J.-2
Dec 13 12:46:27 [9576] DBG:xmpp:xmpp_component_child_process: server read
[<stream:error><invalid-namespace
xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error>]
Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback:
0: stream:error
Dec 13 12:46:27 [9576] DBG:xmpp:xode_send: xode_send
[<handshake>72117fa8284621f1aa0745039a7a22584b7c901a</handshake>]
Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback:
1: invalid-namespace
Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback:
2: n/a
Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: resolving hyperpbx.com...
Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: connecting to
204.232.210.34:5269...
Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: connected to
204.232.210.34:5269...
Dec 13 12:46:27 [9576] DBG:xmpp:net_printf: net_printf: [<?xml
version='1.0'?><stream:stream xmlns='jabber:component:accept'
to='127.0.0.1' version='1.0'
xmlns:stream='http://etherx.jabber.org/streams'>]
Dec 13 12:46:27 [9576] DBG:xmpp:xmpp_component_child_process: server read
[<stream:error><invalid-namespace
xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error>]
Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback:
0: stream:error
Dec 13 12:46:27 [9576] DBG:xmpp:xode_send: xode_send
[<handshake>72117fa8284621f1aa0745039a7a22584b7c901a</handshake>]
Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback:
1: invalid-namespace
Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback:
2: n/a
Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: resolving hyperpbx.com...
Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: connecting to
204.232.210.34:5269...
Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: connected to
204.232.210.34:5269...
Dec 13 12:46:27 [9576] DBG:xmpp:net_printf: net_printf: [<?xml
version='1.0'?><stream:stream xmlns='jabber:component:accept'
to='127.0.0.1' version='1.0'
xmlns:stream='http://etherx.jabber.org/streams'>]
Dec 13 12:46:27 [9576] DBG:xmpp:xmpp_component_child_process: server read
[<stream:error><invalid-namespace
xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error>]
Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback:
0: stream:error
Dec 13 12:46:27 [9576] DBG:xmpp:xode_send: xode_send
[<handshake>72117fa8284621f1aa0745039a7a22584b7c901a</handshake>]
Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback:
1: invalid-namespace
Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback:
2: n/a
Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: resolving hyperpbx.com...
Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: connecting to
204.232.210.34:5269...
Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: connected to
204.232.210.34:5269...
Dec 13 12:46:27 [9576] DBG:xmpp:net_printf: net_printf: [<?xml
version='1.0'?><stream:stream xmlns='jabber:component:accept'
to='127.0.0.1' version='1.0'
xmlns:stream='http://etherx.jabber.org/streams'>]



On 12/13/10 7:17 AM, Anton Zagorskiy wrote:

> Make logging to a file and set debug=9.
>
>
>
>
>
>
> WBR, Anton Zagorskiy
> VoIP Developer, Oyster Telecom
> Phone.: +7 812 601-0666
> Fax: +7 812 601-0593
> [hidden email]
> www.oyster-telecom.ru
>
>
>
>> -----Original Message-----
>> From: [hidden email] [mailto:users-
>> [hidden email]] On Behalf Of David J.
>> Sent: Monday, December 13, 2010 3:11 PM
>> To: OpenSIPS users mailling list
>> Subject: [OpenSIPS-Users] XMPP Stream Errors;
>>
>> I am trying to connect to my ejabber server and getting stream errors;
>>
>> I am not sure how to connect this module; I set all the parameters as
>> follows;
>>
>> modparam("xmpp", "backend", "component")
>> #modparam("xmpp", "xmpp_domain", "domain.com")
>> modparam("xmpp", "xmpp_host","domain.com")
>> modparam("xmpp", "sip_domain", "domain.com")
>> modparam("xmpp", "xmpp_port", 5269)
>> modparam("xmpp", "xmpp_password", "passw0rd")
>>
>> I start opensips from the command line and see some very fast loop
>> spitting out stream errors;
>>
>> Like its trying to connect to the server but fails maybe?
>>
>> Any help would be appreciated.
>>
>> Thanks.
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> [hidden email]
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: XMPP Stream Errors;

Anca Vamanu-2
Hi David,

Are you sure you have configured ejabber to accept component connection
from OpenSIPS?

You have to edit the /etc/ejabberd/ejabberd.conf and add a block in the
listen list:

  %% External OpenSIPS component
   {5347, ejabberd_service, [
                     {host, "domain.com", [{password, "passw0rd"}]}
                 ]},

Also the port you set in the opensips configuration is not right - the
default port for the component is 5347, you should not set the xmpp_port
parameter and let it use the default one.

Regards,

--
Anca Vamanu
www.voice-system.ro





On 12/13/2010 02:49 PM, David J. wrote:

> Dec 13 12:46:27 [9576] DBG:xmpp:xmpp_component_child_process: server read
> [<stream:error><invalid-namespace
> xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error>]
> Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback:
> 0: stream:error
> Dec 13 12:46:27 [9576] DBG:xmpp:xode_send: xode_send
> [<handshake>72117fa8284621f1aa0745039a7a22584b7c901a</handshake>]
> Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback:
> 1: invalid-namespace
> Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback:
> 2: n/a
> Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: resolving hyperpbx.com...
> Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: connecting to
> 204.232.210.34:5269...
> Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: connected to
> 204.232.210.34:5269...
> Dec 13 12:46:27 [9576] DBG:xmpp:net_printf: net_printf: [<?xml
> version='1.0'?><stream:stream xmlns='jabber:component:accept'
> to='127.0.0.1' version='1.0'
> xmlns:stream='http://etherx.jabber.org/streams'>]
> Dec 13 12:46:27 [9576] DBG:xmpp:xmpp_component_child_process: server read
> [<stream:error><invalid-namespace
> xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error>]
> Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback:
> 0: stream:error
> Dec 13 12:46:27 [9576] DBG:xmpp:xode_send: xode_send
> [<handshake>72117fa8284621f1aa0745039a7a22584b7c901a</handshake>]
> Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback:
> 1: invalid-namespace
> Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback:
> 2: n/a
> Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: resolving hyperpbx.com...
> Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: connecting to
> 204.232.210.34:5269...
> Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: connected to
> 204.232.210.34:5269...
> Dec 13 12:46:27 [9576] DBG:xmpp:net_printf: net_printf: [<?xml
> version='1.0'?><stream:stream xmlns='jabber:component:accept'
> to='127.0.0.1' version='1.0'
> xmlns:stream='http://etherx.jabber.org/streams'>]
> Dec 13 12:46:27 [9576] DBG:xmpp:xmpp_component_child_process: server read
> [<stream:error><invalid-namespace
> xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error>]
> Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback:
> 0: stream:error
> Dec 13 12:46:27 [9576] DBG:xmpp:xode_send: xode_send
> [<handshake>72117fa8284621f1aa0745039a7a22584b7c901a</handshake>]
> Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback:
> 1: invalid-namespace
> Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback:
> 2: n/a
> Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: resolving hyperpbx.com...
> Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: connecting to
> 204.232.210.34:5269...
> Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: connected to
> 204.232.210.34:5269...
> Dec 13 12:46:27 [9576] DBG:xmpp:net_printf: net_printf: [<?xml
> version='1.0'?><stream:stream xmlns='jabber:component:accept'
> to='127.0.0.1' version='1.0'
> xmlns:stream='http://etherx.jabber.org/streams'>]
>

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users