matrix-org / matrix-bifrost

General purpose bridging with a variety of backends including libpurple and xmpp.js
Apache License 2.0
164 stars 31 forks source link

Failed to fetch VCard TypeError: Cannot read property 'write' of null #235

Closed Half-Shot closed 3 years ago

Half-Shot commented 3 years ago
Feb 27 06:38:13 lethe docker-bifrost[15504]: Feb-27 06:38:12.882 WARN XmppJsGateway Failed to fetch VCard TypeError: Cannot read property 'write' of null
Feb 27 06:38:13 lethe docker-bifrost[15504]:     at /app/node_modules/@xmpp/component-core/node_modules/@xmpp/connection/index.js:338:19
Feb 27 06:38:13 lethe docker-bifrost[15504]:     at new Promise (<anonymous>)
Feb 27 06:38:13 lethe docker-bifrost[15504]:     at Component.write (/app/node_modules/@xmpp/component-core/node_modules/@xmpp/connection/index.js:329:12)
Feb 27 06:38:13 lethe docker-bifrost[15504]:     at XmppJsInstance.xmppSend (/app/src/xmppjs/XJSInstance.ts:145:27)
Feb 27 06:38:13 lethe docker-bifrost[15504]:     at XmppJsInstance.getVCard (/app/src/xmppjs/XJSInstance.ts:442:20)
Feb 27 06:38:13 lethe docker-bifrost[15504]:     at XmppJsGateway.getUserInfo (/app/src/xmppjs/XJSGateway.ts:545:41)
Feb 27 06:38:13 lethe docker-bifrost[15504]:     at ProfileSync.updateProfile (/app/src/ProfileSync.ts:50:45)
Feb 27 06:38:13 lethe docker-bifrost[15504]:     at runMicrotasks (<anonymous>)
Feb 27 06:38:13 lethe docker-bifrost[15504]:     at processTicksAndRejections (internal/process/task_queues.js:97:5)
Feb 27 06:38:13 lethe docker-bifrost[15504]:     at GatewayHandler.handleRoomJoin (/app/src/GatewayHandler.ts:194:17)
Feb 27 06:38:13 lethe docker-bifrost[15504]: Feb-27 06:38:12.882 DEBUG ProfileSync getUserInfo got: {
Feb 27 06:38:13 lethe docker-bifrost[15504]:   Nickname: 'fooo',
Feb 27 06:38:13 lethe docker-bifrost[15504]:   Avatar: undefined,
Feb 27 06:38:13 lethe docker-bifrost[15504]:   eventName: 'meh',
Feb 27 06:38:13 lethe docker-bifrost[15504]:   who: 'fooo',
Feb 27 06:38:13 lethe docker-bifrost[15504]:   account: { protocol_id: '', username: '' }
Feb 27 06:38:13 lethe docker-bifrost[15504]: }
Half-Shot commented 3 years ago

This is a symptom of the server closing.