Invalid stream
We are trying to test the Gajim client against an Openfire server (4.7.4) and when I try to login I get "Invalid Stream Header". the Spark client works without issue. Below is the log:
** (Gajim-Debug.exe:169496): WARNING **: 14:51:22.306: expected enumeration type void, but got PyGLibOptionArg instead Logger gajim level set to 10 Logger nbxmpp level set to 20 Logger omemo_dr level set to 10 2024-01-04T14:51:22 (I) gajim | Gajim Version: 1.8.4
(org.gajim.Gajim:169496): GStreamer-WARNING **: 14:51:22.562: Failed to load plugin 'C:\gajim\lib\gstreamer-1.0\libgstlibav.dll': The specified module could not be found. This usually means Windows was unable to find a DLL dependency of the plugin. Please check that PATH is correct. You can run 'dumpbin -dependents' (provided by the Visual Studio developer prompt) to list the DLL deps of any DLL. There are also some third-party GUIs to list and debug DLL dependencies recursively. 2024-01-04T14:51:22 (I) gajim | English (United States) (en_US) dict available 2024-01-04T14:51:22 (I) gajim | French (fr) dict available 2024-01-04T14:51:22 (I) gajim | German (Germany) (de_DE) dict available 2024-01-04T14:51:22 (I) gajim | FARSTREAM True 2024-01-04T14:51:22 (I) gajim | GST True 2024-01-04T14:51:22 (I) gajim | AV False 2024-01-04T14:51:22 (I) gajim | GEOCLUE False 2024-01-04T14:51:22 (I) gajim | UPNP False 2024-01-04T14:51:22 (I) gajim | GSOUND False 2024-01-04T14:51:22 (I) gajim | GSPELL True 2024-01-04T14:51:22 (I) gajim | IDLE True 2024-01-04T14:51:22 (I) gajim | APPINDICATOR False 2024-01-04T14:51:22 (I) gajim | AYATANA_APPINDICATOR False 2024-01-04T14:51:22 (I) gajim | SENTRY_SDK True 2024-01-04T14:51:22 (I) gajim | Used language: en_US 2024-01-04T14:51:22 (I) gajim.c.settings | Load app settings 2024-01-04T14:51:22 (I) gajim.c.settings | Load soundevents settings 2024-01-04T14:51:22 (I) gajim.c.settings | Load status_presets settings 2024-01-04T14:51:22 (I) gajim.c.settings | Load proxies settings 2024-01-04T14:51:22 (I) gajim.c.settings | Load plugins settings 2024-01-04T14:51:22 (I) gajim.c.settings | Load workspaces settings 2024-01-04T14:51:22 (I) gajim.c.settings | Commit 2024-01-04T14:51:22 (I) gajim.c.passwords | Found keyring backend: keyring.backends.fail.Keyring (priority: 0) 2024-01-04T14:51:22 (I) gajim.c.passwords | Found keyring backend: keyring.backends.chainer.ChainerBackend (priority: -1) 2024-01-04T14:51:22 (I) gajim.c.passwords | Found keyring backend: keyring.backends.Windows.WinVaultKeyring (priority: 5) 2024-01-04T14:51:22 (I) gajim.c.passwords | Select keyring.backends.Windows.WinVaultKeyring (priority: 5) backend 2024-01-04T14:51:22 (I) gajim.c.storage.cache | Connect to C:\gajim\UserData\Cache.db 2024-01-04T14:51:22 (I) gajim.c.storage.cache | 0 DiscoInfo entries loaded 2024-01-04T14:51:22 (D) gajim.c.storage.cache | Execution time for _fill_disco_info_cache: 0 ms 2024-01-04T14:51:22 (D) gajim.c.storage.cache | Execution time for _clean_caps_table: 0 ms 2024-01-04T14:51:22 (D) gajim.c.storage.cache | Execution time for _load_caps_data: 0 ms 2024-01-04T14:51:22 (I) gajim.c.storage.events | Creating in memory 2024-01-04T14:51:22 (I) gajim.c.storage.events | Connect to None 2024-01-04T14:51:22 (I) gajim.c.storage.archive | Connect to C:\gajim\UserData\Logs.db 2024-01-04T14:51:22 (D) gajim.c.storage.archive | Execution time for _get_jid_ids_from_db: 0 ms 2024-01-04T14:51:22 (I) gajim.c.cert_store | 0 Certificates loaded 2024-01-04T14:51:22 (I) gajim.c.preview | Supported mime types for preview 2024-01-04T14:51:22 (I) gajim.c.preview | ['image/avif', 'image/bmp', 'image/emf', 'image/gif', 'image/heic', 'image/heif', 'image/icns', 'image/ico', 'image/icon', 'image/jp2', 'image/jpeg', 'image/mpo', 'image/palm', 'image/png', 'image/qtif', 'image/sgi', 'image/svg', 'image/svg+xml', 'image/svg+xml-compressed', 'image/svg-xml', 'image/tiff', 'image/vnd.adobe.photoshop', 'image/vnd.adobe.svg+xml', 'image/vnd.microsoft.icon', 'image/webp', 'image/wmf', 'image/x-bmp', 'image/x-emf', 'image/x-icns', 'image/x-ico', 'image/x-icon', 'image/x-mgx-emf', 'image/x-ms-bmp', 'image/x-pcx', 'image/x-portable-anymap', 'image/x-portable-bitmap', 'image/x-portable-graymap', 'image/x-portable-pixmap', 'image/x-quicktime', 'image/x-tga', 'image/x-win-bitmap', 'image/x-wmf', 'image/x-xbitmap', 'image/x-xpixmap', 'image/xbm', 'image/xpm'] 2024-01-04T14:51:22 (I) nbxmpp.http | Request(2658796477504): Created 2024-01-04T14:51:22 (I) nbxmpp.http | Request(2658796477504): Request sent, method: GET, uri: ``https://gajim.org/updates.json
2024-01-04T14:51:23 (I) gajim.gtk.css | Activate theme 2024-01-04T14:51:23 (I) gajim.gtk.css | Activate theme 2024-01-04T14:51:23 (I) gajim.gtk.css | Activate theme 2024-01-04T14:51:23 (I) gajim.gtk.css | Activate theme 2024-01-04T14:51:23 (I) gajim.gtk.css | Activate theme 2024-01-04T14:51:23 (I) gajim.c.idle | Set interval: away: 300, xa: 900
(org.gajim.Gajim:169496): Gtk-WARNING **: 14:51:23.323: Theme directory 16x16/actions of theme hicolor has no size field 2024-01-04T14:51:23 (I) gajim.gtk.statusicon | Use GtkStatusIcon backend 2024-01-04T14:51:23 (I) gajim.gtk.emoji_data_gtk | Loading emoji data; application locale is en_US 2024-01-04T14:51:23 (D) gajim.gtk.emoji_data_gtk | Trying locales ['en'] 2024-01-04T14:51:23 (I) gajim.gtk.emoji_data_gtk | Loaded emoji data resource for locale en 2024-01-04T14:51:23 (D) gajim.gtk.emoji_data_gtk | Null codepoint for short name "light skin tone", found U+1F3FB 2024-01-04T14:51:23 (D) gajim.gtk.emoji_data_gtk | Null codepoint for short name "medium-light skin tone", found U+1F3FC 2024-01-04T14:51:23 (D) gajim.gtk.emoji_data_gtk | Null codepoint for short name "medium skin tone", found U+1F3FD 2024-01-04T14:51:23 (D) gajim.gtk.emoji_data_gtk | Null codepoint for short name "medium-dark skin tone", found U+1F3FE 2024-01-04T14:51:23 (D) gajim.gtk.emoji_data_gtk | Null codepoint for short name "dark skin tone", found U+1F3FF 2024-01-04T14:51:23 (I) gajim.gtk.css | Get .gajim-status-online color: rgb(102, 191, 16) 2024-01-04T14:51:23 (I) gajim.gtk.css | Get .gajim-status-away color: rgb(255, 133, 51) 2024-01-04T14:51:23 (I) gajim.gtk.css | Get .gajim-status-dnd color: rgb(230, 46, 0) 2024-01-04T14:51:23 (I) gajim.gtk.css | Get .gajim-status-offline color: rgb(154, 154, 154) 2024-01-04T14:51:23 (D) gajim.c.storage.cache | Execution time for get_unread: 0 ms 2024-01-04T14:51:23 (D) gajim.gtk.util | Get screen geometry: 5120 1440 2024-01-04T14:51:23 (D) gajim.gtk.util | Get screen geometry: 5120 1440 2024-01-04T14:51:23 (D) gajim.c.storage.cache | Execution time for _commit: 0 ms 2024-01-04T14:51:24 (D) gajim.gtk.main | Window state changed: ICONIFIED: False, WITHDRAWN: False 2024-01-04T14:51:24 (I) gajim.c.settings | Set settings: app 2024-01-04T14:51:24 (I) gajim.c.settings | Signal: is_window_visible changed 2024-01-04T14:51:24 (I) gajim.c.settings | Commit 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658796477504): Got Headers: content-length: 187 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658796477504): Sniffed: content-type: application/json 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658796477504): HTTP version: SOUP_HTTP_1_1 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658796477504): Request response received 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658796477504): Start downloading response body 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658796477504): Finished reading 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658796477504): Body received 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658796477504): Message finished 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658796477504): Request status: OK 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658796477504): Set Complete 2024-01-04T14:51:24 (I) gajim.p.repository | Refresh index 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658881081920): Created 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658881081920): Request sent, method: GET, uri: ``https://ftp.gajim.org/plugins/master/package_index.json
2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658796477504): Run cleanup 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658881081920): Got Headers: content-length: 22923 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658881081920): Sniffed: content-type: application/json 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658881081920): HTTP version: SOUP_HTTP_1_1 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658881081920): Request response received 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658881081920): Start downloading response body 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658881081920): Finished reading 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658881081920): Body received 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658881081920): Message finished 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658881081920): Request status: OK 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658881081920): Set Complete 2024-01-04T14:51:24 (I) gajim.p.repository | Ignore not suitable plugin: omemo 2.8.16 2024-01-04T14:51:24 (I) gajim.p.repository | Ignore not suitable plugin: omemo 2.8.17 2024-01-04T14:51:24 (I) gajim.p.repository | Ignore not suitable plugin: omemo 2.8.14 2024-01-04T14:51:24 (I) gajim.p.repository | Ignore not suitable plugin: omemo 2.8.15 2024-01-04T14:51:24 (I) gajim.p.repository | Ignore not suitable plugin: omemo 2.9.0 2024-01-04T14:51:24 (I) gajim.p.repository | Ignore not suitable plugin: now_listen 1.4.1 2024-01-04T14:51:24 (I) gajim.p.repository | Ignore not suitable plugin: now_listen 1.4.3 2024-01-04T14:51:24 (I) gajim.p.repository | Ignore not suitable plugin: now_listen 1.4.2 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658881363584): Created 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658881363584): Request sent, method: GET, uri: ``https://ftp.gajim.org/plugins/master/images.zip
2024-01-04T14:51:24 (I) gajim.p.repository | Refresh successful 2024-01-04T14:51:24 (I) nbxmpp.http | Request(2658881081920): Run cleanup 2024-01-04T14:51:25 (I) nbxmpp.http | Request(2658881363584): Got Headers: content-length: 29440 2024-01-04T14:51:25 (I) nbxmpp.http | Request(2658881363584): Sniffed: content-type: application/zip 2024-01-04T14:51:25 (I) nbxmpp.http | Request(2658881363584): HTTP version: SOUP_HTTP_1_1 2024-01-04T14:51:25 (I) nbxmpp.http | Request(2658881363584): Request response received 2024-01-04T14:51:25 (I) nbxmpp.http | Request(2658881363584): Start downloading response body 2024-01-04T14:51:25 (I) nbxmpp.http | Request(2658881363584): Finished reading 2024-01-04T14:51:25 (I) nbxmpp.http | Request(2658881363584): Body received 2024-01-04T14:51:25 (I) nbxmpp.http | Request(2658881363584): Message finished 2024-01-04T14:51:25 (I) nbxmpp.http | Request(2658881363584): Request status: OK 2024-01-04T14:51:25 (I) nbxmpp.http | Request(2658881363584): Set Complete 2024-01-04T14:51:25 (I) nbxmpp.http | Request(2658881363584): Run cleanup 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Connect 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Set state: StreamState.RESOLVE 2024-01-04T14:51:39 (I) nbxmpp.addresses | Signal: resolved 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Domain resolved 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) ServerAddress(domain='dennish', service=None, host='myserver.com:5221', uri=None, protocol=, type=, proxy=None) 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Set state: StreamState.RESOLVED 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Current address: ServerAddress(domain='dennish', service=None, host='myserver.com:5221', uri=None, protocol=, type=, proxy=None) 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Set state: StreamState.CONNECTING 2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) Set Connection State: TCPState.CONNECTING 2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) Connecting to dennish (192.168.1.20:5221) 2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) Set Connection State: TCPState.CONNECTED 2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) Connected to dennish (192.168.1.20:5221) 2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) Signal: connected 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Set state: StreamState.CONNECTED 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Execute state machine 2024-01-04T14:51:39 (I) nbxmpp.dispatcher | (Account Wizard) Set dispatch callback: > 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Start stream 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Set state: StreamState.WAIT_FOR_STREAM_START 2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) ::::: DATA SENT ::::
?xml version='1.0'?
2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) Signal: data-sent 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Signal: stanza-sent 2024-01-04T14:51:39 (D) gajim.c.ged | Raise event: stanza-sent 2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) Add keepalive timer 2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) ::::: DATA RECEIVED ::::
?xml version='1.0' encoding='UTF-8'?
2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) Signal: data-received 2024-01-04T14:51:39 (I) nbxmpp.dispatcher | (Account Wizard) Signal: before-dispatch 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Signal: stanza-received 2024-01-04T14:51:39 (D) gajim.c.ged | Raise event: stanza-received 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Execute state machine 2024-01-04T14:51:39 (E) nbxmpp.stream | (Account Wizard) Invalid from attr in stream header 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Set error: StreamError.STREAM, stanza-malformed, Invalid stream header 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Set state: StreamState.DISCONNECTING 2024-01-04T14:51:39 (I) nbxmpp.smacks | (Account Wizard) Close session 2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) Remove keepalive timer 2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) Set Connection State: TCPState.DISCONNECTING 2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) Shutdown output 2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) ::::: DATA SENT ::::
</stream:stream>
2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) Signal: data-sent 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Signal: stanza-sent 2024-01-04T14:51:39 (D) gajim.c.ged | Raise event: stanza-sent 2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) Add keepalive timer 2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) ::::: DATA RECEIVED ::::
stream:features
PLAINSCRAM-SHA-1</stream:features></stream:stream>
2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) Signal: data-received 2024-01-04T14:51:39 (I) nbxmpp.dispatcher | (Account Wizard) Signal: before-dispatch 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Signal: stanza-received 2024-01-04T14:51:39 (D) gajim.c.ged | Raise event: stanza-received 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Execute state machine 2024-01-04T14:51:39 (I) nbxmpp.dispatcher | (Account Wizard) End of stream: 2024-01-04T14:51:39 (I) nbxmpp.dispatcher | (Account Wizard) Signal: stream-end 2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) Remove keepalive timer 2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) Shutdown input 2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) Set Connection State: TCPState.DISCONNECTED2024-01-04T14:51:39 (I) nbxmpp.connection | (Account Wizard) Signal: disconnected 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Set state: StreamState.DISCONNECTED 2024-01-04T14:51:39 (I) nbxmpp.stream | (Account Wizard) Signal: disconnected 2024-01-04T14:51:39 (I) nbxmpp.dispatcher | (Account Wizard) Clear IQ callbacks 2024-01-04T14:51:43 (D) gajim.c.ged | Raise event: allow-gajim-update-check 2024-01-04T14:51:43 (D) gajim.c.ged | Call handler _on_allow_gajim_update on