App Error

Your application server has encountered an error
Server Log
Debugger listening on ws://10.193.67.251:9229/d793f5fb-d588-4341-8b08-fa05bfd02b70 For help, see: https://nodejs.org/en/docs/inspector RedisOplog - Established connection to redis. Meteor.settings.FHIR_URL https://integracije-test.infonet.si/api/firely Meteor.settings.FHIR_URL https://integracije-test.infonet.si/api/firely (node:988987) Warning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-warnings ...` to show where the warning was created) [mailgun] [info] Webhooks are enabled. [Wed Mar 18 2026 11:25:38 GMT+0100 (Central European Standard Time)] [push] initialize FCM. [Wed Mar 18 2026 11:25:38 GMT+0100 (Central European Standard Time)] [qradar] schedule daily fixCount [Wed Mar 18 2026 11:25:39 GMT+0100 (Central European Standard Time)] [transcoder] Starting up TRANSCODER WORKER! [Wed Mar 18 2026 11:25:39 GMT+0100 (Central European Standard Time)] [transcoder] FFmpeg version detected 4.2.7-0ubuntu0.1 Job server started [3cx] Attempting to connect to WebSocket: wss://miteam.3cx.eu:443/callcontrol/ws [Wed Mar 18 2026 11:25:40 GMT+0100 (Central European Standard Time)] INITIALIZE TINCANJS [endpoint: http://10.10.10.108/data/xAPI, username: 12a84528caec28fd7dae26cfe4630b55289b64c8, password: 7098614799548fdb37ff74a8dac4685e725d0268] [Wed Mar 18 2026 11:25:40 GMT+0100 (Central European Standard Time)] config.directory enabled! Meteor.settings.processEvents [3cx] WebSocket error: Unexpected server response: 401 [3cx] WebSocket connection died unexpectedly: code=1006, reason=No reason provided [3cx] WebSocket keepalive mechanism stopped. Ensuring FHIR subscription for endpoint: https://meteor.mitv.si/fhir-webhook Subscription already exists with ID d4c02470-640e-4972-bbee-5db71a14a822, status = active [Wed Mar 18 2026 11:25:40 GMT+0100 (Central European Standard Time)] [uploader] tmp /home/FCS_Playlist/tmp/ [Wed Mar 18 2026 11:25:40 GMT+0100 (Central European Standard Time)] [formidable] UPLOAD TMP: /home/FCS_Playlist/tmp/ [Wed Mar 18 2026 11:25:40 GMT+0100 (Central European Standard Time)] [worker] Worker environment variables not set. [Wed Mar 18 2026 11:25:40 GMT+0100 (Central European Standard Time)] [worker] Starting up worker! [Wed Mar 18 2026 11:25:40 GMT+0100 (Central European Standard Time)] [worker] Using local JobQueue. [Wed Mar 18 2026 11:25:40 GMT+0100 (Central European Standard Time)] miJobs_RECORDER enabled [Wed Mar 18 2026 11:25:40 GMT+0100 (Central European Standard Time)] Load application specific methods and logic. - EXPORT to hospitals, Hipokrat, Urgis [Wed Mar 18 2026 11:25:40 GMT+0100 (Central European Standard Time)] nodeId: 60b07bdc349ae273faa66c2f85a71b7f22b1b9c6e56caa4828d78f6579669396 already exists [Wed Mar 18 2026 11:25:40 GMT+0100 (Central European Standard Time)] Instance is running in MODE: undefined Started your app. App running at: https://meteor.mitv.si [Wed Mar 18 2026 11:25:41 GMT+0100 (Central European Standard Time)] [sfu] got heartbeat [Wed Mar 18 2026 11:25:41 GMT+0100 (Central European Standard Time)] [sfu] clearCalls... [Wed Mar 18 2026 11:25:41 GMT+0100 (Central European Standard Time)] [sfu] ws opened - sync room data [Wed Mar 18 2026 11:25:41 GMT+0100 (Central European Standard Time)] [sfu] got heartbeat [Wed Mar 18 2026 11:25:41 GMT+0100 (Central European Standard Time)] [sfu] SFU response received. [Wed Mar 18 2026 11:25:41 GMT+0100 (Central European Standard Time)] [sfu] No rooms [Wed Mar 18 2026 11:25:42 GMT+0100 (Central European Standard Time)] [connections] user connected uid: undefined cid: ybYx8Mnk3oLrimHD9 [Wed Mar 18 2026 11:25:42 GMT+0100 (Central European Standard Time)] [LRS] SEND Statement CUSTOM connected. [uid: undefined, asset: ybYx8Mnk3oLrimHD9] [Wed Mar 18 2026 11:25:42 GMT+0100 (Central European Standard Time)] [Error] LAR ASSET Unknown LAR asset: ybYx8Mnk3oLrimHD9 migrated userCache of 114 docs in assets matching {"content_type":"PROFILE"}. It took 2914ms [3cx] Attempting to connect to WebSocket: wss://miteam.3cx.eu:443/callcontrol/ws [3cx] WebSocket error: Unexpected server response: 401 [3cx] WebSocket connection died unexpectedly: code=1006, reason=No reason provided [3cx] WebSocket keepalive mechanism stopped. [Wed Mar 18 2026 11:25:49 GMT+0100 (Central European Standard Time)] [user: null] COUNT ASSET [asset: Ydqp4mnbB2QRaP6kq] [Wed Mar 18 2026 11:25:49 GMT+0100 (Central European Standard Time)] [user: null] COUNT ASSET [asset: Ydqp4mnbB2QRaP6kq] [Wed Mar 18 2026 11:25:49 GMT+0100 (Central European Standard Time)] [LRS] SEND LRS Statement INTERACTED. [uid: undefined, asset: Ydqp4mnbB2QRaP6kq] [Wed Mar 18 2026 11:25:49 GMT+0100 (Central European Standard Time)] [LRS] SEND LRS Statement INTERACTED. [uid: undefined, asset: Ydqp4mnbB2QRaP6kq] [Wed Mar 18 2026 11:25:49 GMT+0100 (Central European Standard Time)] [Error] LAR ASSET Unknown LAR user: guest@mitv.si [Wed Mar 18 2026 11:25:49 GMT+0100 (Central European Standard Time)] [Error] LAR ASSET Unknown LAR user: guest@mitv.si [3cx] Attempting to get Active calls [3cx] Attempting to connect to WebSocket: wss://miteam.3cx.eu:443/callcontrol/ws [3cx] WebSocket error: Unexpected server response: 401 [3cx] WebSocket connection died unexpectedly: code=1006, reason=No reason provided [3cx] WebSocket keepalive mechanism stopped. Error during token acquisition: Failed to get active calls: 401 Unauthorized - meteor://💻app/app/app.js:46661 throw new Error("Failed to get active calls: ".concat(response.status, " ").concat(response.statusText, " - ").concat(errorText)); ^ Error: Failed to get active calls: 401 Unauthorized - at getActiveCalls (server/3cx.js:177:19) at processTicksAndRejections (node:internal/process/task_queues:105:5) at MethodInvocation.getActiveCalls (server/3cx.js:440:19) Node.js v22.22.0 Exited with code: 1 Your application is crashing. Waiting for file change.
Fix the error in your code and save your files. Once your server is running without errors, then reload this page.