jsxc
jsxc copied to clipboard
NextCloud and JavaScrip XMPP Client #36
Expected behavior
Normal chat in the Nextcloud with the App JavaScript XMPP Client.
Actual behavior
I can see who is online, but no messages are transmitted
Steps to reproduce the behavior
- Open the Chat
- Open a Chat window with a colleague marked as online
- Send Message (not transmitted)
Environment
- **JSXC version: 3.4.3
- **Host system and version: Nextcloud
- **Browser vendor and version: Google Chrome Version 73.0.3683.86 (Offizieller Build) (64-Bit)
- **Any browser plugins enabled?: Not known
- **XMPP server vendor and version: only internal XMPP server
- **Is your XMPP server working with other clients as expected?: See above
Logs
Javascript
Yes, I can see errors
JSXC
XMPP
Where can I find these?
Host
Where can I find these?
Please attach the javascript log. Press Ctrl+Shift+I, go to the console tab, enter jsxc.enableDebugMode(), reload the page, try to send some messages and post the complete log.
core.js?v=4d0648a6-23:7 JQMIGRATE: Migrate is installed, version 1.4.0
5[Violation] Forced reflow while executing JavaScript took <N>ms
jsxc.js:184 State changed to INITIATING
jsxc.dep.js:51000 i18next: languageChanged de
jsxc.dep.js:51000 i18next: initialized {debug: true, initImmediate: true, ns: Array(1), defaultNS: Array(1), fallbackLng: Array(1), …}
jsxc.js:184 State changed to PREVCONFOUND
jsxc.js:184 check master
?dir=/:1 [DOM] Password forms should have (optionally hidden) username fields for accessibility: (More info: https://goo.gl/9p2vKq) <form id="sudo-login-form" class="hidden">…</form>
search.js?v=4d0648a6-23:67 New search handler registered
10[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
core.js?v=4d0648a6-23:18 [Violation] 'setTimeout' handler took 72ms
merged-template-prepend.js?v=4d0648a6-23:4613 querying Whats New data was successful: nocontent
merged-template-prepend.js?v=4d0648a6-23:4614 undefined
DevTools failed to parse SourceMap: https://nx3582.your-next.cloud/apps/notifications/js/notifications.js.map
?dir=/&fileid=9:1 Failed to decode downloaded font: https://nx3582.your-next.cloud/core/fonts/Nunito-Regular.woff2
?dir=/&fileid=9:1 OTS parsing error: invalid version tag
?dir=/&fileid=9:1 Failed to decode downloaded font: https://nx3582.your-next.cloud/core/fonts/Nunito-Bold.woff2
?dir=/&fileid=9:1 OTS parsing error: invalid version tag
jsxc.js:184 I am master.
jsxc.js:184 State changed to ESTABLISHING
jsxc.js:184 Try to attach
jsxc.js:184 SID: internal
jsxc.js:184 ATTACHED: null
jsxc.js:184 UI State changed to INITIATING
jsxc.js:184 Waiting for server capabilities
jsxc.js:184 Request server capabilities
jsxc.js:166 Send presence <presence xmlns='jabber:client'><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://jsxc.org/' ver='UEMHBlT9XVU7FUwfm/6rl815MUE='/></presence>
jsxc.js:1280 > <body rid="125370" xmlns="http://jabber.org/protocol/httpbind" sid="internal">…</body>
jsxc.js:184 UI State changed to READY
jsxc.js:184 DSA key loaded
jsxc.js:184 State changed to READY
jsxc.js:16 [Violation] 'setTimeout' handler took 173ms
jsxc.js:1277 < <body xmlns="http://jabber.org/protocol/httpbind"><presence xmlns="jabber:client" type="unavailable" from="[email protected]/internal" to="[email protected]/internal"></presence><presence xmlns="jabber:client" type="unavailable" from="[email protected]/internal" to="[email protected]/internal"></presence><presence xmlns="jabber:client" type="unavailable" from="[email protected]/internal" to="[email protected]/internal"></presence><presence xmlns="jabber:client" type="unavailable" from="[email protected]/internal" to="[email protected]/internal"></presence></body>
jsxc.js:166 onPresence <presence xmlns="jabber:client" type="unavailable" from="[email protected]/internal" to="[email protected]/internal"></presence>
jsxc.js:184 Presence ([email protected]/internal): offline
jsxc.js:166 webrtc.onpresence [email protected]/internal
jsxc.js:166 Update icon [email protected]
jsxc.js:166 onPresence <presence xmlns="jabber:client" type="unavailable" from="[email protected]/internal" to="[email protected]/internal"></presence>
jsxc.js:184 Presence ([email protected]/internal): offline
jsxc.js:166 webrtc.onpresence [email protected]/internal
jsxc.js:166 Update icon [email protected]
jsxc.js:166 onPresence <presence xmlns="jabber:client" type="unavailable" from="[email protected]/internal" to="[email protected]/internal"></presence>
jsxc.js:184 Presence ([email protected]/internal): offline
jsxc.js:166 webrtc.onpresence [email protected]/internal
jsxc.js:166 Update icon [email protected]
jsxc.js:166 onPresence <presence xmlns="jabber:client" type="unavailable" from="[email protected]/internal" to="[email protected]/internal"></presence>
jsxc.js:184 Presence ([email protected]/internal): offline
jsxc.js:166 webrtc.onpresence [email protected]/internal
jsxc.js:166 Update icon [email protected]
jsxc.js:1280 > <body rid="125371" xmlns="http://jabber.org/protocol/httpbind" sid="internal">…</body>
jsxc.js:1280 > <body rid="125372" xmlns="http://jabber.org/protocol/httpbind" sid="internal">…</body>
jsxc.js:184 Discover muc service
jsxc.js:184 Update file transfer icons for [email protected]
jsxc.js:184 webrtc.initWindow
jsxc.js:166 Update icon [email protected]
core.js?v=4d0648a6-23:3 [Violation] 'click' handler took 168ms
jsxc.js:1277 < <body xmlns="http://jabber.org/protocol/httpbind"></body>
jsxc.js:1280 > <body rid="125373" xmlns="http://jabber.org/protocol/httpbind" sid="internal">…</body>
jsxc.js:1277 < <body xmlns="http://jabber.org/protocol/httpbind"></body>
jsxc.js:184 Update file transfer icons for [email protected]
jsxc.js:184 webrtc.initWindow
jsxc.js:166 Update icon [email protected]
jsxc.js:1280 > <body rid="125374" xmlns="http://jabber.org/protocol/httpbind" sid="internal">…</body>
jsxc.js:1277 < <body xmlns="http://jabber.org/protocol/httpbind"></body>
jsxc.js:1280 > <body rid="125375" xmlns="http://jabber.org/protocol/httpbind" sid="internal">…</body>
jsxc.js:1277 < <body xmlns="http://jabber.org/protocol/httpbind"></body>
jsxc.js:1280 > <body rid="125376" xmlns="http://jabber.org/protocol/httpbind" sid="internal">…</body>
jsxc.js:1277 < <body xmlns="http://jabber.org/protocol/httpbind"></body>
jsxc.js:1280 > <body rid="125377" xmlns="http://jabber.org/protocol/httpbind" sid="internal">…</body>
jsxc.js:1277 < <body xmlns="http://jabber.org/protocol/httpbind"></body>
jsxc.js:1280 > <body rid="125378" xmlns="http://jabber.org/protocol/httpbind" sid="internal">…</body>
jsxc.js:1277 < <body xmlns="http://jabber.org/protocol/httpbind"></body>
jsxc.js:1280 > <body rid="125379" xmlns="http://jabber.org/protocol/httpbind" sid="internal">…</body>
jsxc.js:1277 < <body xmlns="http://jabber.org/protocol/httpbind"></body>
jsxc.js:1280 > <body rid="125380" xmlns="http://jabber.org/protocol/httpbind" sid="internal">…</body>
jsxc.js:1277 < <body xmlns="http://jabber.org/protocol/httpbind"></body>
jsxc.js:1280 > <body rid="125381" xmlns="http://jabber.org/protocol/httpbind" sid="internal">…</body>
jsxc.js:1277 < <body xmlns="http://jabber.org/protocol/httpbind"></body>
jsxc.js:1280 > <body rid="125382" xmlns="http://jabber.org/protocol/httpbind" sid="internal">…</body>
jsxc.js:1277 < <body xmlns="http://jabber.org/protocol/httpbind"></body>
jsxc.js:1280 > <body rid="125383" xmlns="http://jabber.org/protocol/httpbind" sid="internal">…</body>
jsxc.js:1277 < <body xmlns="http://jabber.org/protocol/httpbind"></body>
jsxc.js:1280 > <body rid="125384" xmlns="http://jabber.org/protocol/httpbind" sid="internal">…</body>
jsxc.js:1277 < <body xmlns="http://jabber.org/protocol/httpbind"></body>
jsxc.js:1280 > <body rid="125385" xmlns="http://jabber.org/protocol/httpbind" sid="internal">…</body>
jsxc.js:1277 < <body xmlns="http://jabber.org/protocol/httpbind"></body>
Sorry, I can't reproduce your issue and the log hides the content part of every stanza. It would be interesting to see if the message arrives as an xml message on the receiver side.