Picture of Wim 4127
Registered 6 years 113 days
Wim 4127 Tuesday, 21 December 2021, 11:19 AM
PBX keeps on sending services update messages even though nothing has changed
Hi,

on one of the app platforms we are using for testing, we have the strange behaviour that we keep receiving ServicesInfo messages... while on other platforms we do not get these updates.

Strange thing is that these updates do not have any changed information and always sends the same information. See the log of our app where you will see multiple message that look like <-- {"api":"Services","mt":"ServicesInfo","services":[
If you search for this in the logging, you see we are getting these messages at regular intervals, without any updated info. So why do we get them? When we test on other platform, e only get them once...

12-21 09:19:45.924 AppService::AppService 13B1391 12-21 09:19:45.925 AppService::AppStart kapschkundenadmin@example.com 12-21 09:19:45.925 InnovaphoneService@xqting.com I> InnovaphoneService creates new instance pwd >pwd< domain >example.com< DB name >kapschkundenadmin< 12-21 09:19:45.925 KundenAdminInstanceFactory@xqting.com D> Creating new instance io >0xc3aa60< svc >0xc40b30< id >kapschkundenadmin< dns >nullptr< 12-21 09:19:45.925 KundenAdminInstanceFactory@xqting.com D> domain >example.com< name >kapschkundenadmin< pwd >pwd< dbHost >< dbName >kapschkundenadmin< dbPwd >kapschkundenadmin< dbUser >kapschkundenadmin< 12-21 09:19:45.925 KundenAdminInstanceFactory@xqting.com D> webserver >/var/run/webserver/webserver< webserverPath >/kapschkundenadmin< workingPath >nullptr< 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Created app instance (appname: kapschkundenadmin, appdomain: example.com, appserviceid: kapschkundenadmin) 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for PbxInfo 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> App instance database connect called (host: , dbname: kapschkundenadmin, dbuser: kapschkundenadmin, dbpassword: kapschkundenadmin) 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> App instance config context registered 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for GetResellerInfo 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for GetAllBooleans 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for GetBooleanById 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for UpdateBoolean 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for DeleteBoolean 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for GetCalendarConfiguration 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for WriteCalendarConfiguration 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for GetPbxTimers 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for UpdatePbxTimers 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for GetAllUsers 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for GetAllWaitingQueues 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for GetAllObjects 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for GetAllTrunks 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for GetTrunkById 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for UpdateTrunk 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for Get2Fa 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for Update2Fa 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for GetWhiteList 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for UpdateWhiteList 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for GetMusicOnHold 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for UpdateMusicOnHold 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for StartFileTransfer 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for FileTransferAddData 12-21 09:19:45.925 InnovaphoneInstance@xqting.com I> Message handler registered for FileTransferDone 12-21 09:19:45.926 InnovaphoneInstance@xqting.com I> Message handler registered for GetAllPickUpGroups 12-21 09:19:45.930 InnovaphoneInstance@xqting.com I> App instance database connect completed, initializing configuration 12-21 09:19:45.943 InnovaphoneConfig@xqting.com I> Config intialization completed 12-21 09:19:45.943 InnovaphoneInstance@xqting.com I> App instance configuration initialized, start listening for results 12-21 09:19:45.944 InnovaphoneInstance@xqting.com I> App instance ready and listening 12-21 09:19:49.917 InnovaphoneInstance@xqting.com I> App instance gets new websocket connection, path: /, registeredPathForRequest: , host: 10.0.0.231 12-21 09:19:49.917 InnovaphoneInstance@xqting.com D> App instance created session 0xc4d8d0 12-21 09:19:49.920 InnovaphoneInstance@xqting.com I> message in connect complete 12-21 09:19:49.921 InnovaphoneInstance@xqting.com D> 0xc4d8d0 <-- {"app":"xqting-kapschkundenadmin","digest":"6cdc6b876a44fbe28e35be0cdc24717cab282ac316d95b5e4d93b0b9ffe2ef92","dn":"KapschKundenAdmin","domain":"kapsch.test","guid":"8a7b748b306a49a790366f2ae32b533d","info":{"appdn":"KapschKundenAdmin","appobj":"kapschkundenadmin","apps":[],"appurl":"https://10.0.0.231/kapschkundenadmin/xqting-kapschkundenadmin","cn":"KapschKundenAdmin","unlicensed":true},"mt":"AppLogin","sip":"kapschkundenadmin"} 12-21 09:19:49.921 InnovaphoneInstance@xqting.com W> ###--- Could not find a handler for message AppLogin ---### 12-21 09:19:49.923 InnovaphoneSession@xqting.com D> App web socket message received of type PbxInfo from source 12-21 09:19:49.923 InnovaphoneInstance@xqting.com D> 0xc4d8d0 <-- {"apis":["EpSignal","PbxAdminApi","PbxApi","PbxMessages","PbxSignal","PbxTableUsers","RCC","Services"],"build":"136164","domain":"kapsch.test","mt":"PbxInfo","pbx":"admin-pbx","pbxDns":"admin-pbx.kapsch.test","version":"13r2 sr4 [13.6164/1000/0]"} 12-21 09:19:49.923 InnovaphoneInstance@xqting.com I> Session 0xc4d8d0 identified as PBX session, domain set to kapsch.test, pbx version 13r2 sr4 [13.6164/1000/0], build 136164 12-21 09:19:49.923 PbxAdminApi@xqting.com I> Message handler registered for MonitorAdminObjectInfo 12-21 09:19:49.923 PbxAdminApi@xqting.com I> Message handler registered for MonitorAdminObjectResult 12-21 09:19:49.923 PbxAdminApi@xqting.com I> Message handler registered for MonitorConfigInfo 12-21 09:19:49.923 PbxAdminApi@xqting.com I> Message handler registered for MonitorConfigResult 12-21 09:19:49.923 PbxAdminApi@xqting.com I> Message handler registered for GetBooleansResult 12-21 09:19:49.923 PbxAdminApi@xqting.com I> Message handler registered for GetObjectResult 12-21 09:19:49.923 PbxAdminApi@xqting.com I> Message handler registered for UpdateObjectResult 12-21 09:19:49.923 PbxAdminApi@xqting.com I> Message handler registered for DeleteObjectResult 12-21 09:19:49.923 PbxAdminApi@xqting.com I> Message handler registered for SearchUsersResult 12-21 09:19:49.923 PbxAdminApi@xqting.com I> Message handler registered for GetPseudoObjectsResult 12-21 09:19:49.923 MsgContext@xqting.com D> 0xc4d8d0 --> {"api":"PbxAdminApi","mt":"MonitorAdminObject"} 12-21 09:19:49.924 MsgContext@xqting.com D> 0xc4d8d0 --> {"api":"PbxAdminApi","mt":"MonitorConfig","stop":false} 12-21 09:19:49.924 ServicesApi@xqting.com I> Message handler registered for SubscribeServicesResult 12-21 09:19:49.924 ServicesApi@xqting.com I> Message handler registered for ServicesInfo 12-21 09:19:49.924 MsgContext@xqting.com D> 0xc4d8d0 --> {"api":"Services","mt":"SubscribeServices"} 12-21 09:19:49.927 PbxAdminApi@xqting.com D> 0xc4d8d0 <-- {"api":"PbxAdminApi","key":"894d64fd4de3ac11bde670ed57997702","mt":"MonitorAdminObjectInfo","pwd":"7240f502716a386bae4a3fd07bea4465"} 12-21 09:19:49.927 PbxAdminApi@xqting.com D> 0xc4d8d0 <-- {"api":"PbxAdminApi","mt":"MonitorAdminObjectResult"} 12-21 09:19:49.927 PbxAdminApi@xqting.com D> Got monitor admin object result message 12-21 09:19:49.928 PbxAdminApi@xqting.com D> 0xc4d8d0 <-- {"api":"PbxAdminApi","dns":"admin-pbx.kapsch.test","domain":"kapsch.test","ip4":"10.0.0.230","mt":"MonitorConfigInfo","pbx":"admin-pbx","src":""} 12-21 09:19:49.928 InnovaphoneInstance@xqting.com I> Received PBX configuration, IP address set to 10.0.0.230, domain is kapsch.test 12-21 09:19:49.928 KundenAdminInstance@xqting.com I> PBX connected notification received, retrieving voicemail object 12-21 09:19:49.928 TaskManager@xqting.com D> +++ Adding task 0xc4fa80, currently 1 tasks ongoing 12-21 09:19:49.928 MsgContext@xqting.com D> 0xc4d8d0 --> {"api":"PbxAdminApi","mt":"GetPseudoObjects","pseudo":"vm"} 12-21 09:19:49.928 PbxAdminApi@xqting.com D> 0xc4d8d0 <-- {"api":"PbxAdminApi","key":"894d64fd4de3ac11bde670ed57997702","mt":"MonitorAdminObjectInfo","pwd":"7240f502716a386bae4a3fd07bea4465"} 12-21 09:19:49.928 PbxAdminApi@xqting.com W> PbxAdminApi could not find any callback for message MonitorAdminObjectInfo 12-21 09:19:49.928 PbxAdminApi@xqting.com W> Got admin object info but did not find a valid callback, message will not be notified 12-21 09:19:49.928 PbxAdminApi@xqting.com D> 0xc4d8d0 <-- {"api":"PbxAdminApi","mt":"MonitorConfigResult"} 12-21 09:19:49.928 ServicesApi@xqting.com D> 0xc4d8d0 <-- {"api":"Services","mt":"SubscribeServicesResult"} 12-21 09:19:49.929 ServicesApi@xqting.com D> 0xc4d8d0 <-- {"api":"Services","mt":"ServicesInfo","services":[{"name":"calendar","title":"Calendar","url":"https://apps.kapsch.test/kapsch.test/calendar/innovaphone-calendar"},{"info":{"apis":{"com.innovaphone.devices":{}}},"name":"devices","title":"Devices","url":"https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices"},{"info":{"apis":{"com.innovaphone.devices":{}}},"name":"devices-api","title":"DevicesApi","url":"https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices-api"},{"name":"files","title":"Files","url":"https://apps.kapsch.test/kapsch.test/files/innovaphone-files"},{"info":{},"name":"files-api","title":"FilesApi","url":"https://apps.kapsch.test/kapsch.test/files/innovaphone-files-api"}]} 12-21 09:19:49.929 ServicesApi@xqting.com I> ServicesApi found service with name calendar, title Calendar, api , url https://apps.kapsch.test/kapsch.test/calendar/innovaphone-calendar and ws url set to wss://apps.kapsch.test/kapsch.test/calendar 12-21 09:19:49.929 ServicesApi@xqting.com I> ServicesApi found service with name devices, title Devices, api com.innovaphone.devices, url https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices and ws url set to wss://apps.kapsch.test/kapsch.test/devices 12-21 09:19:49.929 ServicesApi@xqting.com I> ServicesApi found service with name devices-api, title DevicesApi, api com.innovaphone.devices, url https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices-api and ws url set to wss://apps.kapsch.test/kapsch.test/devices 12-21 09:19:49.929 ServicesApi@xqting.com I> ServicesApi found service with name files, title Files, api , url https://apps.kapsch.test/kapsch.test/files/innovaphone-files and ws url set to wss://apps.kapsch.test/kapsch.test/files 12-21 09:19:49.929 ServicesApi@xqting.com I> ServicesApi found service with name files-api, title FilesApi, api , url https://apps.kapsch.test/kapsch.test/files/innovaphone-files-api and ws url set to wss://apps.kapsch.test/kapsch.test/files 12-21 09:19:49.929 InnovaphoneInstance@xqting.com I> Received services updated message, connecting apps 12-21 09:19:49.929 DevicesAppClient@xqting.com I> App clientset base url for passthrough to https://apps.kapsch.test/kapsch.test/devices 12-21 09:19:49.929 DevicesAppClient@xqting.com I> Message handler registered for GetUserInfoResult 12-21 09:19:49.929 DevicesAppClient@xqting.com I> Message handler registered for GetFilteredDevicesResult 12-21 09:19:49.929 DevicesAppClient@xqting.com I> Connecting client to wss://apps.kapsch.test/kapsch.test/devices 12-21 09:19:49.971 FilesAppClient@xqting.com I> App clientset base url for passthrough to https://apps.kapsch.test/kapsch.test/files 12-21 09:19:49.971 FilesAppClient@xqting.com I> Message handler registered for PropfindAck 12-21 09:19:49.971 FilesAppClient@xqting.com I> Message handler registered for item 12-21 09:19:49.972 FilesAppClient@xqting.com I> Message handler registered for SharedItem 12-21 09:19:49.972 FilesAppClient@xqting.com I> Message handler registered for PropfindComplete 12-21 09:19:49.972 FilesAppClient@xqting.com I> Message handler registered for PutCompleted 12-21 09:19:49.972 FilesAppClient@xqting.com I> Connecting client to wss://apps.kapsch.test/kapsch.test/files 12-21 09:19:49.974 PbxAdminApi@xqting.com D> 0xc4d8d0 <-- {"api":"PbxAdminApi","mt":"GetPseudoObjectsResult","objects":[{"cn":"Voicemail nl","guid":"175f8325c05e61016ae300155d00bc0b"},{"cn":"Voicemail en","guid":"5742bcffbf5e610167e300155d00bc0b"},{"cn":"Voicemail de","guid":"8bdd48bfbf5e610164e300155d00bc0b"}]} 12-21 09:19:49.975 KundenAdminInstance@xqting.com I> Recieved 3 voicemail objects at startup, fetching first item 12-21 09:19:49.975 KundenAdminInstance@xqting.com W> Recieved 3 voicemail objects at startup, fetching first item but PBX should contain only one! 12-21 09:19:49.975 TaskManager@xqting.com D> +++ Adding task 0xc4fc10, currently 2 tasks ongoing 12-21 09:19:49.975 MsgContext@xqting.com D> 0xc4d8d0 --> {"api":"PbxAdminApi","guid":"175f8325c05e61016ae300155d00bc0b","mt":"GetObject"} 12-21 09:19:50.079 PbxAdminApi@xqting.com D> 0xc4d8d0 <-- {"api":"PbxAdminApi","cn":"Voicemail nl","critical":true,"guid":"175f8325c05e61016ae300155d00bc0b","gws":[],"h323":"voicemail-nl","hide":false,"loc":"admin-pbx","mt":"GetObjectResult","no-dev":true,"node":"root","presence":[],"pseudo":{"script":[{"pwd1":"l%^f5)mw4j>aw+j","url":"https://apps.kapsch.test/kapsch.test/voicemail_nl/vm.xml?$_pbxmwidir=vm_files&$app=on","usr1":"voicemail_nl"}],"type":"vm"},"wakeups":[]} 12-21 09:19:50.079 KundenAdminInstance@xqting.com I> Recieved voicemail configuration, voicemail extension set to 12-21 09:19:50.247 AppAuthenticator@xqting.com I> AppAuthenticator GetLogin called for app devices with challenge 109e92ca64d82801 12-21 09:19:50.247 MsgContext@xqting.com D> 0xc4d8d0 --> {"api":"Services","app":"devices","challenge":"109e92ca64d82801","mt":"GetServiceLogin"} 12-21 09:19:50.248 AppAuthenticator@xqting.com I> AppAuthenticator GetLogin called for app files with challenge 521e5e2e3d4d274e 12-21 09:19:50.249 MsgContext@xqting.com D> 0xc4d8d0 --> {"api":"Services","app":"files","challenge":"521e5e2e3d4d274e","mt":"GetServiceLogin"} 12-21 09:19:50.251 DevicesAppClient@xqting.com D> Client connect complete 12-21 09:19:50.252 MsgContext@xqting.com D> --> {"mt":"GetUserInfo","src":"DevicesAppClient"} 12-21 09:19:50.252 FilesAppClient@xqting.com D> Client connect complete 12-21 09:19:50.253 DevicesAppClient@xqting.com D> <-- {"admin":true,"key":"c16dc7f9-fc14-4455-a400-f77aed3b4450","mt":"GetUserInfoResult","src":"DevicesAppClient"} 12-21 09:19:50.253 DevicesAppClient@xqting.com I> Devices app set session key for passthrough to c16dc7f9-fc14-4455-a400-f77aed3b4450 12-21 09:19:50.253 MsgContext@xqting.com D> --> {"mt":"GetFilteredDevices","src":"DevicesAppClient","types":["VA","GW"]} 12-21 09:19:50.254 DevicesAppClient@xqting.com D> <-- {"devices":[{"domainId":1,"ethIfs":[{"if":"ETH0","ipv4":"10.0.0.230","ipv6":"fe80::215:5dff:fe00:bc0b"}],"hwId":"00155d00bc0b","id":1,"name":"PBX - admin-pbx.kapsch.test","online":true,"pbxActive":true,"product":"IPVA","rented":false,"type":"VA","version":"13r2 sr4 [13.6164/1000/0]"}],"last":true,"mt":"GetFilteredDevicesResult","src":"DevicesAppClient"} 12-21 09:19:50.254 DevicesAppClient@xqting.com I> Devices app adds devices with id 1, serial 00155d00bc0b, name PBX - admin-pbx.kapsch.test and type VA 12-21 09:19:58.471 ServicesApi@xqting.com D> 0xc4d8d0 <-- {"api":"Services","mt":"ServicesInfo","services":[{"name":"calendar","title":"Calendar","url":"https://apps.kapsch.test/kapsch.test/calendar/innovaphone-calendar"},{"info":{"apis":{"com.innovaphone.devices":{}}},"name":"devices","title":"Devices","url":"https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices"},{"info":{"apis":{"com.innovaphone.devices":{}}},"name":"devices-api","title":"DevicesApi","url":"https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices-api"},{"name":"files","title":"Files","url":"https://apps.kapsch.test/kapsch.test/files/innovaphone-files"},{"info":{},"name":"files-api","title":"FilesApi","url":"https://apps.kapsch.test/kapsch.test/files/innovaphone-files-api"}]} 12-21 09:19:58.471 ServicesApi@xqting.com I> ServicesApi found service with name calendar, title Calendar, api , url https://apps.kapsch.test/kapsch.test/calendar/innovaphone-calendar and ws url set to wss://apps.kapsch.test/kapsch.test/calendar 12-21 09:19:58.472 ServicesApi@xqting.com I> ServicesApi found service with name devices, title Devices, api com.innovaphone.devices, url https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices and ws url set to wss://apps.kapsch.test/kapsch.test/devices 12-21 09:19:58.472 ServicesApi@xqting.com I> ServicesApi found service with name devices-api, title DevicesApi, api com.innovaphone.devices, url https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices-api and ws url set to wss://apps.kapsch.test/kapsch.test/devices 12-21 09:19:58.472 ServicesApi@xqting.com I> ServicesApi found service with name files, title Files, api , url https://apps.kapsch.test/kapsch.test/files/innovaphone-files and ws url set to wss://apps.kapsch.test/kapsch.test/files 12-21 09:19:58.472 ServicesApi@xqting.com I> ServicesApi found service with name files-api, title FilesApi, api , url https://apps.kapsch.test/kapsch.test/files/innovaphone-files-api and ws url set to wss://apps.kapsch.test/kapsch.test/files 12-21 09:19:58.472 InnovaphoneInstance@xqting.com I> Received services updated message, connecting apps 12-21 09:19:58.472 InnovaphoneInstance@xqting.com W> Devices app client already created, why is the services update coming in again? 12-21 09:19:58.472 InnovaphoneInstance@xqting.com W> Files app client already created, why is the services update coming in again? 12-21 09:19:58.504 ServicesApi@xqting.com D> 0xc4d8d0 <-- {"api":"Services","mt":"ServicesInfo","services":[{"name":"calendar","title":"Calendar","url":"https://apps.kapsch.test/kapsch.test/calendar/innovaphone-calendar"},{"info":{"apis":{"com.innovaphone.devices":{}}},"name":"devices","title":"Devices","url":"https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices"},{"info":{"apis":{"com.innovaphone.devices":{}}},"name":"devices-api","title":"DevicesApi","url":"https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices-api"},{"name":"files","title":"Files","url":"https://apps.kapsch.test/kapsch.test/files/innovaphone-files"},{"info":{},"name":"files-api","title":"FilesApi","url":"https://apps.kapsch.test/kapsch.test/files/innovaphone-files-api"}]} 12-21 09:19:58.504 ServicesApi@xqting.com I> ServicesApi found service with name calendar, title Calendar, api , url https://apps.kapsch.test/kapsch.test/calendar/innovaphone-calendar and ws url set to wss://apps.kapsch.test/kapsch.test/calendar 12-21 09:19:58.504 ServicesApi@xqting.com I> ServicesApi found service with name devices, title Devices, api com.innovaphone.devices, url https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices and ws url set to wss://apps.kapsch.test/kapsch.test/devices 12-21 09:19:58.504 ServicesApi@xqting.com I> ServicesApi found service with name devices-api, title DevicesApi, api com.innovaphone.devices, url https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices-api and ws url set to wss://apps.kapsch.test/kapsch.test/devices 12-21 09:19:58.504 ServicesApi@xqting.com I> ServicesApi found service with name files, title Files, api , url https://apps.kapsch.test/kapsch.test/files/innovaphone-files and ws url set to wss://apps.kapsch.test/kapsch.test/files 12-21 09:19:58.504 ServicesApi@xqting.com I> ServicesApi found service with name files-api, title FilesApi, api , url https://apps.kapsch.test/kapsch.test/files/innovaphone-files-api and ws url set to wss://apps.kapsch.test/kapsch.test/files 12-21 09:19:58.504 InnovaphoneInstance@xqting.com I> Received services updated message, connecting apps 12-21 09:19:58.504 InnovaphoneInstance@xqting.com W> Devices app client already created, why is the services update coming in again? 12-21 09:19:58.504 InnovaphoneInstance@xqting.com W> Files app client already created, why is the services update coming in again? 12-21 09:20:08.465 ServicesApi@xqting.com D> 0xc4d8d0 <-- {"api":"Services","mt":"ServicesInfo","services":[{"name":"calendar","title":"Calendar","url":"https://apps.kapsch.test/kapsch.test/calendar/innovaphone-calendar"},{"info":{"apis":{"com.innovaphone.devices":{}}},"name":"devices","title":"Devices","url":"https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices"},{"info":{"apis":{"com.innovaphone.devices":{}}},"name":"devices-api","title":"DevicesApi","url":"https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices-api"},{"name":"files","title":"Files","url":"https://apps.kapsch.test/kapsch.test/files/innovaphone-files"},{"info":{},"name":"files-api","title":"FilesApi","url":"https://apps.kapsch.test/kapsch.test/files/innovaphone-files-api"}]} 12-21 09:20:08.465 ServicesApi@xqting.com I> ServicesApi found service with name calendar, title Calendar, api , url https://apps.kapsch.test/kapsch.test/calendar/innovaphone-calendar and ws url set to wss://apps.kapsch.test/kapsch.test/calendar 12-21 09:20:08.465 ServicesApi@xqting.com I> ServicesApi found service with name devices, title Devices, api com.innovaphone.devices, url https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices and ws url set to wss://apps.kapsch.test/kapsch.test/devices 12-21 09:20:08.465 ServicesApi@xqting.com I> ServicesApi found service with name devices-api, title DevicesApi, api com.innovaphone.devices, url https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices-api and ws url set to wss://apps.kapsch.test/kapsch.test/devices 12-21 09:20:08.465 ServicesApi@xqting.com I> ServicesApi found service with name files, title Files, api , url https://apps.kapsch.test/kapsch.test/files/innovaphone-files and ws url set to wss://apps.kapsch.test/kapsch.test/files 12-21 09:20:08.465 ServicesApi@xqting.com I> ServicesApi found service with name files-api, title FilesApi, api , url https://apps.kapsch.test/kapsch.test/files/innovaphone-files-api and ws url set to wss://apps.kapsch.test/kapsch.test/files 12-21 09:20:08.465 InnovaphoneInstance@xqting.com I> Received services updated message, connecting apps 12-21 09:20:08.465 InnovaphoneInstance@xqting.com W> Devices app client already created, why is the services update coming in again? 12-21 09:20:08.465 InnovaphoneInstance@xqting.com W> Files app client already created, why is the services update coming in again? 12-21 09:20:08.485 ServicesApi@xqting.com D> 0xc4d8d0 <-- {"api":"Services","mt":"ServicesInfo","services":[{"name":"calendar","title":"Calendar","url":"https://apps.kapsch.test/kapsch.test/calendar/innovaphone-calendar"},{"info":{"apis":{"com.innovaphone.devices":{}}},"name":"devices","title":"Devices","url":"https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices"},{"info":{"apis":{"com.innovaphone.devices":{}}},"name":"devices-api","title":"DevicesApi","url":"https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices-api"},{"name":"files","title":"Files","url":"https://apps.kapsch.test/kapsch.test/files/innovaphone-files"},{"info":{},"name":"files-api","title":"FilesApi","url":"https://apps.kapsch.test/kapsch.test/files/innovaphone-files-api"}]} 12-21 09:20:08.485 ServicesApi@xqting.com I> ServicesApi found service with name calendar, title Calendar, api , url https://apps.kapsch.test/kapsch.test/calendar/innovaphone-calendar and ws url set to wss://apps.kapsch.test/kapsch.test/calendar 12-21 09:20:08.486 ServicesApi@xqting.com I> ServicesApi found service with name devices, title Devices, api com.innovaphone.devices, url https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices and ws url set to wss://apps.kapsch.test/kapsch.test/devices 12-21 09:20:08.486 ServicesApi@xqting.com I> ServicesApi found service with name devices-api, title DevicesApi, api com.innovaphone.devices, url https://apps.kapsch.test/kapsch.test/devices/innovaphone-devices-api and ws url set to wss://apps.kapsch.test/kapsch.test/devices 12-21 09:20:08.486 ServicesApi@xqting.com I> ServicesApi found service with name files, title Files, api , url https://apps.kapsch.test/kapsch.test/files/innovaphone-files and ws url set to wss://apps.kapsch.test/kapsch.test/files 12-21 09:20:08.486 ServicesApi@xqting.com I> ServicesApi found service with name files-api, title FilesApi, api , url https://apps.kapsch.test/kapsch.test/files/innovaphone-files-api and ws url set to wss://apps.kapsch.test/kapsch.test/files 12-21 09:20:08.486 InnovaphoneInstance@xqting.com I> Received services updated message, connecting apps 12-21 09:20:08.486 InnovaphoneInstance@xqting.com W> Devices app client already created, why is the services update coming in again? 12-21 09:20:08.486 InnovaphoneInstance@xqting.com W> Files app client already created, why is the services update coming in again?
Andreas Fink
Moderator Registered 12 years 279 days
Andreas Fink (innovaphone) Monday, 10 January 2022, 04:58 PM
Re: PBX keeps on sending services update messages even though nothing has changed
Hello Wim,

the ServiceInfo message is sent every time something is changed on the WebSocket Session.

You can activate the PBX Trace flag on the PBX (Maintenance/Tracing/PBX) and fetch a continuous trace of the events, to see what happens exactly. You will get messages like:

:~services_api updated ...

Maybe we can see which service triggers the update.

Best Regards
Andreas Fink

Picture of Wim 4127
Registered 6 years 113 days
Wim 4127 Monday, 25 April 2022, 10:08 AM
Re: PBX keeps on sending services update messages even though nothing has changed
Hi Andreas,

i did this because this problem keeps happening, and, there were no services_api updated events when enabling the PBX tracing flag as you said... how can we best investigate this further. Obviously, I cannot give you the trace info, because there was no specific trace log for the PBX, so what should I provide?
Picture of Wim 4127
Registered 6 years 113 days
Wim 4127 Wednesday, 22 March 2023, 10:56 AM
Re: PBX keeps on sending services update messages even though nothing has changed
Hi,

I want to continue on this ticket because I got not response and because this keeps happening on many systems from which i see logging. Also on my own, seperate test system I get this, and there is absolutely nothing happening on this. I get to service update message every 10 seconds. Given it is a regular ten second interval, I guess it is not triggered or cause by other things, but, some time that is causing this. How can figure what is causing this?

thx

Wim
← You can define your color theme preference here