| Author |
Message |
|
| Guest |
Posted: Wed Oct 04, 2006 3:08 pm |
|
|
|
Guest
|
I have problems with s2s connections, i get incoming messages from other
servers,
but i can't send messages to other servers.
ejabber.cfg:
% Listened ports:
{listen,
[
{5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper},
{max_stanza_size, 65536},
starttls, {certfile, "/etc/jabber/ssl.pem"}]},
{5223, ejabberd_c2s, [{access, c2s},
{max_stanza_size, 65536},
tls, {certfile, "/etc/jabber/ssl.pem"}]},
% Use these two lines instead if TLS support is not compiled
%{5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper}]},
%{5223, ejabberd_c2s, [{access, c2s}, ssl, {certfile, "./ssl.pem"}]},
{5269, ejabberd_s2s_in, [{shaper, s2s_shaper},
{max_stanza_size, 131072}
]},
{5280, ejabberd_http, [http_poll, web_admin]},
{8888, ejabberd_service, [{access, all},
{hosts, ["icq.localhost", "sms.localhost"],
[{password, "secret"}]}]}
]}.
i get error messages in ejabberd.log, but i don't understand them:
=INFO REPORT==== 2006-10-04 16:12:57 ===
I(<0.29307.0>:ejabberd_s2s_out:106): started: {"smsking.is-a-geek.org",
"jabber.org",
{new,"1070035387"}}
=INFO REPORT==== 2006-10-04 16:13:19 ===
I(<0.29307.0>:ejabberd_s2s_out:464): starttls: {"smsking.is-a-geek.org",
"jabber.org"}
=INFO REPORT==== 2006-10-04 16:13:42 ===
I(<0.29307.0>:ejabberd_s2s_out:660): terminated: {badarg,
[{erlang,
port_control,
[#Port<0.7465>,
4,
[60,
63,
120,
<snip>
61,
39,
"jabber.org",
39,
" version='1.0'",
62]]},
{tls,send,2},
{ejabberd_s2s_out,
wait_for_starttls_proceed,
2},
{gen_fsm,handle_msg,7},
{proc_lib,init_p,5}]}
=ERROR REPORT==== 2006-10-04 16:13:42 ===
** State machine <0.29307.0> terminating
** Last event in was {xmlstreamelement,
{xmlelement,"proceed",
[{"xmlns",
"urn:ietf:params:xml:ns:xmpp-tls"}],
[]}}
** When State == wait_for_starttls_proceed
** Data == {state,#Port<0.7463>,
<0.29308.0>,
gen_tcp,
"3454308559",
true,
true,
false,
false,
[{certfile,"/etc/jabber/ssl.pem"},connect],
false,
true,
"smsking.is-a-geek.org",
"jabber.org",
{[{xmlelement,"presence",
[{"from",
"sms-king@smsking.is-a-geek.org"},
{"to","sms-king@jabber.org"},
{"type","subscribed"}],
[]},
{xmlelement,"presence",
[{"from",
"sms-king@smsking.is-a-geek.org"},
{"to","sms-king@jabber.org"},
{"type","subscribed"}],
[]},
{xmlelement,"presence",
[{"from",
"sms-king@smsking.is-a-geek.org"},
{"to","sms-king@jabber.org"},
{"type","subscribe"}],
[]}],
[]}}
[{xmlelement,"message",
[{"from",
"sms-king@smsking.is-a-geek.org/Psi"},
{"to","sms-king@jabber.org/Mobile"},
{"type","chat"},
{"id","aacba"}],
[{xmlelement,
"body",
[],
[{xmlcdata,<<112,105,110,103>>}]},
{xmlelement,
"x",
[{"xmlns","jabber:x:event"}],
[{xmlelement,"composing",[],
[]}]}]}]},
"1070035387",
false,
#Ref<0.0.0.140400>}
** Reason for termination =
** {badarg,[{erlang,port_control,
[#Port<0.7465>,
4,
[60,
63,
120,
<snip>
61,
39,
"jabber.org",
39,
" version='1.0'",
62]]},
{tls,send,2},
{ejabberd_s2s_out,wait_for_starttls_proceed,2},
{gen_fsm,handle_msg,7},
{proc_lib,init_p,5}]}
I have my firewall configured to Accept outgoing and incoming connections to
5269 is that enough, or are there other ports for important for s2s
connections.
--
Micha Krause
Jabber: SMS-King@jabber.org
Email: Micha@krausam.de
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Wed Oct 04, 2006 4:35 pm |
|
|
|
Guest
|
Hello,
* mailinglist@krausam.de <mailinglist@krausam.de> [2006-10-04 17:06:25 +0200]:
> I have problems with s2s connections, i get incoming messages from other
> servers,
> but i can't send messages to other servers.
Which version of ejabberd are you using ?
--
Micka |
|
|
| Back to top |
|
| Guest |
Posted: Wed Oct 04, 2006 4:45 pm |
|
|
|
Guest
|
> Which version of ejabberd are you using ?
ejabberd-1.1.1
--
Micha Krause
Jabber: SMS-King@jabber.org
Email: Micha@krausam.de
Suche Job als Unix/Linux Admin
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Wed Oct 04, 2006 5:04 pm |
|
|
|
Guest
|
* mailinglist@krausam.de <mailinglist@krausam.de> [2006-10-04 18:44:12 +0200]:
> > Which version of ejabberd are you using ?
> ejabberd-1.1.1
Does the problem happens only with one server or with all servers you
have contact in ?
--
Micka |
|
|
| Back to top |
|
| Guest |
Posted: Wed Oct 04, 2006 5:25 pm |
|
|
|
Guest
|
> Does the problem happens only with one server or with all servers you
> have contact in ?
All, i tried jabber.org and swissjabber.org
--
Micha Krause
Jabber: SMS-King@jabber.org
Email: Micha@krausam.de
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Wed Oct 04, 2006 7:22 pm |
|
|
|
Guest
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|