App Error

Your application server has encountered an error
Server Log
--------------------------------polling----------------------------- -------------------------2026-05-16T07:39:49.654Z------------------------- [fhir-poll] processed 0, watermark = 2026-05-15T12:13:40.962Z Patient?_profile=https://nmp.ezdrav.si/fhir/StructureDefinition/NMPPatient [Sat May 16 2026 09:39:53 GMT+0200 (Central European Summer Time)] INITIALIZE TINCANJS [endpoint: http://10.10.10.108/data/xAPI, username: 12a84528caec28fd7dae26cfe4630b55289b64c8, password: 7098614799548fdb37ff74a8dac4685e725d0268] [Sat May 16 2026 09:39:53 GMT+0200 (Central European Summer Time)] config.directory enabled! Meteor.settings.processEvents [3cx] Attempting to get access token from: https://miteam.3cx.eu:443/connect/token [Sat May 16 2026 09:39:53 GMT+0200 (Central European Summer Time)] [uploader] tmp /home/FCS_Playlist/tmp/ [Sat May 16 2026 09:39:53 GMT+0200 (Central European Summer Time)] [formidable] UPLOAD TMP: /home/FCS_Playlist/tmp/ [Sat May 16 2026 09:39:53 GMT+0200 (Central European Summer Time)] [worker] Worker environment variables not set. [Sat May 16 2026 09:39:53 GMT+0200 (Central European Summer Time)] [worker] Starting up worker! [Sat May 16 2026 09:39:53 GMT+0200 (Central European Summer Time)] [worker] Using local JobQueue. [Sat May 16 2026 09:39:54 GMT+0200 (Central European Summer Time)] miJobs_RECORDER enabled [fhir-poll] processed 0, watermark = 2026-05-15T12:13:17.593Z EpisodeOfCare [Sat May 16 2026 09:39:54 GMT+0200 (Central European Summer Time)] Load application specific methods and logic. - EXPORT to hospitals, Hipokrat, Urgis [Sat May 16 2026 09:39:54 GMT+0200 (Central European Summer Time)] nodeId: 60b07bdc349ae273faa66c2f85a71b7f22b1b9c6e56caa4828d78f6579669396 already exists [Sat May 16 2026 09:39:54 GMT+0200 (Central European Summer Time)] Instance is running in MODE: undefined => Meteor server restarted at https://meteor.mitv.si [3cx] Attempting to connect to WebSocket: wss://miteam.3cx.eu:443/callcontrol/ws [Sat May 16 2026 09:39:55 GMT+0200 (Central European Summer Time)] [transcoder] FFmpeg version detected 4.2.7-0ubuntu0.1 [fhir-poll] processed 0, watermark = 2026-05-15T13:09:33.011Z Encounter?_profile=https://nmp.ezdrav.si/fhir/StructureDefinition/NMPEncounter [3cx] WebSocket connection established. [3cx] Attempting to get Active calls [Sat May 16 2026 09:39:55 GMT+0200 (Central European Summer Time)] [conf] Config changed. [3cx] Event Type: Ringing/transferred (EventType 4) [3cx] getActiveCalls GOT RESPONSE [fhir-poll] processed 0, watermark = 2026-05-15T12:55:58.255Z ClinicalImpression?_profile=https://nmp.ezdrav.si/fhir/StructureDefinition/NMPClinicalImpression [fhir-poll] processed 0, watermark = 2026-05-15T12:53:05.040Z Observation?_profile=https://nmp.ezdrav.si/fhir/StructureDefinition/NMPObservation migrated userCache of 130 docs in assets matching {"content_type":"PROFILE"}. It took 3939ms [fhir-poll] processed 0, watermark = 2026-05-15T06:19:44.173Z ServiceRequest [Sat May 16 2026 09:39:57 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Sat May 16 2026 09:39:57 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [fhir-poll] processed 0, watermark = 2026-05-15T12:56:08.381Z Flag [fhir-poll] processed 0, watermark = 2026-05-15T13:21:54.272Z QuestionnaireResponse?questionnaire=https://nmp.ezdrav.si/fhir/Questionnaire/NMPQuestionnaire [fhir-poll] processed 0, watermark = 2026-05-15T06:31:55.599Z Condition?_profile=https://nmp.ezdrav.si/fhir/StructureDefinition/NMPCondition [fhir-poll] processed 0, watermark = 2026-05-14T17:03:21.219Z Procedure?_profile=https://nmp.ezdrav.si/fhir/StructureDefinition/NMPProcedure [fhir-poll] processed 0, watermark = 2026-05-14T11:33:27.075Z AllergyIntolerance [fhir-poll] processed 0, watermark = 2026-05-14T07:53:11.678Z MedicationStatement [fhir-poll] processed 0, watermark = 2026-05-14T07:53:16.681Z MedicationRequest [fhir-poll] processed 0, watermark = 2026-05-14T07:53:21.901Z MedicationAdministration [fhir-poll] processed 0, watermark = 2026-05-15T07:59:32.785Z AdverseEvent [fhir-poll] processed 0, watermark = 2026-05-14T07:53:32.016Z DocumentReference [fhir-poll] done in 13.564 seconds [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [Sat May 16 2026 09:40:05 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Sat May 16 2026 09:40:05 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [Sat May 16 2026 09:40:14 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Sat May 16 2026 09:40:14 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s --------------------------------polling----------------------------- -------------------------2026-05-16T07:40:19.653Z------------------------- [fhir-poll] processed 0, watermark = 2026-05-15T12:13:40.962Z Patient?_profile=https://nmp.ezdrav.si/fhir/StructureDefinition/NMPPatient [fhir-poll] processed 0, watermark = 2026-05-15T12:13:17.593Z EpisodeOfCare [fhir-poll] processed 0, watermark = 2026-05-15T13:09:33.011Z Encounter?_profile=https://nmp.ezdrav.si/fhir/StructureDefinition/NMPEncounter [fhir-poll] processed 0, watermark = 2026-05-15T12:55:58.255Z ClinicalImpression?_profile=https://nmp.ezdrav.si/fhir/StructureDefinition/NMPClinicalImpression [fhir-poll] processed 0, watermark = 2026-05-15T12:53:05.040Z Observation?_profile=https://nmp.ezdrav.si/fhir/StructureDefinition/NMPObservation [fhir-poll] processed 0, watermark = 2026-05-15T06:19:44.173Z ServiceRequest [Sat May 16 2026 09:40:22 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Sat May 16 2026 09:40:22 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [fhir-poll] processed 0, watermark = 2026-05-15T12:56:08.381Z Flag [fhir-poll] processed 0, watermark = 2026-05-15T13:21:54.272Z QuestionnaireResponse?questionnaire=https://nmp.ezdrav.si/fhir/Questionnaire/NMPQuestionnaire [fhir-poll] processed 0, watermark = 2026-05-15T06:31:55.599Z Condition?_profile=https://nmp.ezdrav.si/fhir/StructureDefinition/NMPCondition [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [fhir-poll] processed 0, watermark = 2026-05-14T17:03:21.219Z Procedure?_profile=https://nmp.ezdrav.si/fhir/StructureDefinition/NMPProcedure [fhir-poll] processed 0, watermark = 2026-05-14T11:33:27.075Z AllergyIntolerance [fhir-poll] processed 0, watermark = 2026-05-14T07:53:11.678Z MedicationStatement [3cx] Received pong, resetting ping timeout. [fhir-poll] processed 0, watermark = 2026-05-14T07:53:16.681Z MedicationRequest [fhir-poll] processed 0, watermark = 2026-05-14T07:53:21.901Z MedicationAdministration [fhir-poll] processed 0, watermark = 2026-05-15T07:59:32.785Z AdverseEvent [fhir-poll] processed 0, watermark = 2026-05-14T07:53:32.016Z DocumentReference [fhir-poll] done in 7.752 seconds [Sat May 16 2026 09:40:30 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Sat May 16 2026 09:40:30 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [Sat May 16 2026 09:40:38 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Sat May 16 2026 09:40:38 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [3cx] Event Type: Ringing/transferred (EventType 4) [3cx] Attempting to get Active calls Error during token acquisition: Failed to get active calls: 401 Unauthorized - meteor://💻app/app/app.js:54554 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:103:5) at MethodInvocation.getActiveCalls (server/3cx.js:440:19) Thrown at: at getActiveCalls (/opt/meteor/miteam/.meteor/local/build/programs/server/app/app.js:54554:17) at processTicksAndRejections (node:internal/process/task_queues:103:5) Node.js v22.22.1 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.