Вижу присутствие друзей, могу с ними переписываться. Но мое состояние у них - оффлайн.

Проблема такова: вижу присутствие друзей из своего списка, но они не видят меня, как-бы у меня состояние - оффлайн. Могу спокойно переписываться с ними, но состояние мое у них не меняется, остается - оффлайн. Друзья находятся на jabber.ru и GTalk, а я нахожусь на своем собственном сервере(my_host_name.ru).

В качестве прокси для веб - nginx (для различных jappix и т.п.), вот его конфиг:
---------------------------------------
user www-data;
worker_processes 2;

error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;

events {
worker_connections 1024;
}

http {
include /opt/nginx/conf/mime.types;
default_type application/octet-stream;
sendfile on;
tcp_nopush on;
keepalive_timeout 65;
tcp_nodelay on;
client_header_timeout 70;
client_body_timeout 70;
send_timeout 70;

ignore_invalid_headers on;

server {
listen 80;
server_name dev.local;
server_tokens off;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;

# Все остальное разруливает бекенд - Apache
location / {
proxy_pass http://127.0.0.1:8080;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
}

location ~* ^.+\.(jpg|jpeg|gif|png|svg|swf|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar)$ {
root /var/www;
autoindex on;
expires 24h;
error_page 404 = /404.html;
}

location ~ /\.ht {
deny all;
}

location /profile {
root /var/www;
autoindex on;
expires 24h;
}

location /http-bind/ {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:5280/http-bind/;
}

location /http-poll/ {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:5280/http-poll/;
}

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /var/www;
}
}
}
---------------------------------------

Вот конфиг ежа:

---------------------------------------
override_global.
override_local.
override_acls.
{loglevel, 5}.
{hosts, ["my_host_name.ru"]}.
{listen,
[

{5222, ejabberd_c2s, [
{certfile, "/etc/ejabberd/ssl.pem"}, starttls,
{access, c2s},
{shaper, c2s_shaper},
{max_stanza_size, 65536}
]},
{5223, ejabberd_c2s, [
{access, c2s},
{shaper, c2s_shaper},
{certfile, "/etc/ejabberd/ssl.pem"}, tls,
{max_stanza_size, 65536}
]},
{5269, ejabberd_s2s_in, [
{shaper, s2s_shaper},
{max_stanza_size, 131072}
]},
{5280, ejabberd_http, [
{request_handlers,
[
{["http-bind"], mod_http_bind}
]},
http_poll
]}

]}.

{s2s_use_starttls, optional}.
{s2s_certfile, "/etc/ejabberd/ssl.pem"}.
{auth_method, external}.
{extauth_program, "/etc/ejabberd/auth.pl"}.
{odbc_server, {mysql, "localhost", 3306, "ejabberd", "ejabberd", "*********"}}.
{shaper, normal, {maxrate, 1000}}.
{shaper, fast, {maxrate, 50000}}.
{max_fsm_queue, 1000}.
{acl, admin, {user, "userootname_ejabberd", "my_host_name.ru"}}.
{acl, local, {user_regexp, ""}}.
{access, max_user_sessions, [{10, all}]}.
{access, max_user_offline_messages, [{5000, admin}, {100, all}]}.
{access, local, [{allow, local}]}.
{access, mod_logdb_admin, [{allow, admin}]}.
{access, c2s, [{deny, blocked}, {allow, all}]}.
{access, c2s_shaper, [{none, admin}, {normal, all}]}.
{access, s2s_shaper, [{fast, all}]}.
{access, announce, [{allow, admin}]}.
{access, configure, [{allow, admin}]}.
{access, muc_admin, [{allow, admin}]}.
{access, muc_create, [{allow, all}]}.
{access, muc, [{allow, all}]}.
{access, pubsub_createnode, [{allow, all}]}.
{language, "ru"}.

{modules,
[
{mod_adhoc, []},
{mod_announce, [{access, announce}]},
{mod_blocking,[]},
{mod_caps, []},
{mod_configure,[]},
{mod_disco, []},
%%{mod_echo, [{host, "echo.localhost"}]},
%%{mod_irc, []},
{mod_http_bind, []},
{mod_last_odbc, []},
{mod_muc, [
%%{host, "conference.@HOST@"},
{access, muc},
{access_create, muc_create},
{access_persistent, muc_create},
{access_admin, muc_admin}
]},
%%{mod_muc_log,[]},
{mod_offline_odbc, [{access_max_user_messages, max_user_offline_messages}]},
%%{mod_ping, [{send_pings, true}, {ping_interval, 240}, {timeout_action, kill}]},
{mod_ping, []},
%%{mod_pres_counter,[{count, 5}, {interval, 60}]},
{mod_privacy_odbc, []},
{mod_private_odbc, []},
%%{mod_proxy65,[]},
{mod_pubsub_odbc, [
{access_createnode, pubsub_createnode},
{ignore_pep_from_offline, false},
{last_item_cache, false},
{max_items_node, 1000000},
{plugins, ["flat_odbc", "hometree_odbc", "pep_odbc"]}
]},
{mod_roster_odbc, []},
%%{mod_service_log,[]},
% {mod_shared_roster,[]},
{mod_stats, []},
{mod_time, []},
{mod_vcard_odbc, []},
{mod_logdb, [
{dbs, [
{mysql5, [
{user, "userootname_sql"},
{password, "**********"},
{server, "localhost"},
{port, 3306},
{db, "logdb"}
]}]},
{vhosts, [{"my_host_name.ru", mysql5}]}
]},
{mod_version, []}
]}.
---------------------------------------

Проблема решена. Мой скрипт

Проблема решена. Мой скрипт формирования ростеров работал не правильно

Syndicate content