Projects tigase _server server-core Issues #358
s2s not working for a new VHost added via ad-hoc command (#358)
Artur Hefczyc opened 1 decade ago

Here is a copy of what our tigase.im user sent to me:

bq. I cant add @gmail.com to my registered domains user. User from gmail sends request, request accepted, but user remains not authorized to chat.

Got the message:

Remote server not found.

A remote server or service specified as part or all of the JID of the intended recipient does not exist.

S2S - destination host not found

bq. Found solution, after setting S2S secret, issue was solved.

Apparently s2s does not work if s2s secret is not set for the vhost. It might be related to a cluster mode only.

Andrzej Wójcik (Tigase) commented 1 decade ago

When we initialy added s2sSecret we assumed that anyone would set S2SSecret and we also added autogeneration on S2SSecret on vhosts if s2ssecret is not set during initialization of VHostRepository.

Now I added autogeneration and autosuggestion of S2SSecret when new vhost is added. I also added validation for non-null value of S2SSecret in vhost configuration, so if user would clear this field then vhost validation will fail and item would not be added and error will be reported to a user.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
2148
Spent time
9h
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#358
Please wait...
Page is in error, reload to recover