-
-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with xmpp chat #1
Comments
I have 2 other users that I tried to login with using IE 10 and Safari, they get loggedin but on the buddy list it does not show any user dough they belong to a openfire xmpp user group. And when I check openfire sessions those 2 users logged in with IE or Safari do not appear in active sessions. Here is log for the Safari user as example: User information language: en-US [WARN] No translation for: Menu Also on Opera browser once logged in it starts generating the key but it just staid like that it never generates the key just shows loading and there are javascript errors appearing in the console log: Uncaught exception: Error: Keys should not be generated without CSPRNG. Inline script thread files:1643 |
Update, I said I had 2 Chrome sessions opened and 2 users loggedin which can't seem to receive each other messages. I logged out from one of the user accounts on a chrome session and loggedin as one of the users i was trying with IE. It logged in properly and i am able to chat with the other chrome session user both ways. So any idea why with the previous user i cannot? Can it be something from sessions, cookies? |
Update: Ok so there is clearly some issue with the sessions and is getting more complicated and frustrating. Here's the log for user nicholasfuplo on firefox: User information [WARN] No translation for: Menu |
First of all, as I understood the original problem is solved. Is that right? Next you have to understand how xmpp works. The first message you will send will go to the bar jid (without resource) and the server routes it to the resource with the highest priority. So please check if there is an other user logged in with the same jid. As I can see you test the message delivery with otr, but please don't do that. Because in some specific cases (if you delete the browser storage) the otr protocol ignores incoming messages. I'm looking for a solution, but for now don't do this kind of tests with otr. Apropos of nothing you don't need to clear the browser storage if you want to use two different users in one browser. |
I close this, because issuer didn't response. |
Hi, i reported few issues on http://apps.owncloud.com/content/show.php?content=162257
You updated the version to 0.5.2 and asked me to post the log here. It seems that now all users get resource key "web" like i've setup in owncloud admin but the messages do not go trough... For example I have 2 users in 2 browser sessions when i write a message from one to the other the receiver never gets the message.
Here's the log for each user, user 1:
User information
product: Gecko
appCodeName: Mozilla
userAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.102 Safari/537.36
platform: Win32
appVersion: 5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.102 Safari/537.36
appName: Netscape
vendorSub:
vendor: Google Inc.
productSub: 20030107
language: en-US
Height: 1080
Width: 1920
jsxc version: 0.5.2
Log
[WARN] No translation for: Menu
[WARN] No translation for: Hide_offline
[WARN] No translation for: About
checkChief
setItem: alive
I am chief.
setItem: alive
setItem: alive_busy
setItem: windowlist
DSA key loaded
setItem: priv_fingerprint
No saved buddylist.
Try to attach
SID: 29184ac7
ATTACHED: null
Load roster:
setItem: buddylist
Send presence:
Roster ready
setItem: iceConfig
setItem: iceValidity
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
onRosterChanged: fuplo
setItem: buddylist
setItem: buddy_birofuplo-fuplo-com
onRosterChanged: fuplo
setItem: buddylist
setItem: buddy_nicholasfuplo-fuplo-com
setItem: alive
setItem: alive
setItem: alive
onRosterChanged: fuplo
setItem: buddylist
setItem: buddy_rishani-fuplo-com
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
onPresence:
setItem: buddy_birofuplo-fuplo-com
setItem: res_birofuplo-fuplo-com
Presence (birofuplo@fuplo.com/web): 0
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
onPresence:
setItem: buddy_birofuplo-fuplo-com
setItem: res_birofuplo-fuplo-com
Presence (birofuplo@fuplo.com/web): 2
setItem: alive
setItem: alive
setItem: alive
setItem: alive
Incoming message: hi raveenth
setItem: windowlist
setItem: window_birofuplo-fuplo-com
setItem: buddy_birofuplo-fuplo-com
setItem: alive
setItem: alive
setItem: alive
setItem: window_birofuplo-fuplo-com
setItem: window_birofuplo-fuplo-com
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: chat_birofuplo-fuplo-com
setItem: alive
setItem: alive
setItem: window_birofuplo-fuplo-com
setItem: window_birofuplo-fuplo-com
setItem: window_birofuplo-fuplo-com
setItem: window_birofuplo-fuplo-com
setItem: window_birofuplo-fuplo-com
setItem: window_birofuplo-fuplo-com
setItem: window_birofuplo-fuplo-com
setItem: window_birofuplo-fuplo-com
setItem: window_birofuplo-fuplo-com
setItem: window_birofuplo-fuplo-com
setItem: alive
setItem: chat_birofuplo-fuplo-com
setItem: otr_birofuplo-fuplo-com
setItem: window_birofuplo-fuplo-com
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: chat_birofuplo-fuplo-com
setItem: otr_birofuplo-fuplo-com
setItem: alive
setItem: alive
setItem: alive
setItem: alive
setItem: alive
User2:
User information
product: Gecko
appCodeName: Mozilla
userAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.102 Safari/537.36
platform: Win32
appVersion: 5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.102 Safari/537.36
appName: Netscape
vendorSub:
vendor: Google Inc.
productSub: 20030107
language: en-US
Height: 1080
Width: 1920
jsxc version: 0.5.2
Log
[WARN] No translation for: Menu
[WARN] No translation for: Hide_offline
[WARN] No translation for: About
checkChief
setItem: alive
I am chief.
setItem: alive
setItem: alive_busy
setItem: windowlist
DSA key loaded
setItem: priv_fingerprint
No saved buddylist.
Try to attach
SID: f23cfcb4
ATTACHED: null
Load roster: fuplofuplofuplo
Send presence:
Roster ready
onPresence:
Presence (raveenthfuplo@fuplo.com/web): 2
Incoming message: ?OTR:dW5kZWZpbmVkAwAAAAACAAAAAgAAAUoE2AAFGgAEdAAG3/ABHpwAd6YACpOAA9DgACKMAFXPABFvwARa4AHRAABDKAATXwADc7ABamwAVcMAF2nABDnQAV8oAB21ABgFQARqwAHuKAADEwAQioAHYxAA+ugAChUAEf1ABWQgAVkYABjvAA0XQAaEcAEeRABKOAAMgsAAD/AB9uAAG9IAANLAAY1AALeAADg2AAp/gAHYUAEyKABkrwAaucACVUAB4TAAdUcAHpFAAGhwAKmUABnNAA7WQALoMAA0XABVIgAen0AFHCABFqQAc00AFpTAAHGwAJM4AA4XABefQADWkAE8yAAvJAALMwABJrAAFgAASTUAF1TAAPCgADdUAH57AAJrAATUIAHdlABgAQAZIgABYAABu1AAbRoAEt6ABsJQADKIAFKLAALoAAOJgADElAB1jAAPzcAEz6ABGGAAMowAAAAAAAAAEQAAAAqCRmjtK+hNbslyl1Q3IklZXUdxZsPnWa/wwjvbTJoAAAAA.
On openfire I can see both users have chat sessions opened with resource key "web" and both users belong to a group. But they cannot communicate with eachother, the message appears in the sender's screen but not the receiver's screen
The text was updated successfully, but these errors were encountered: