- Joined
- Apr 17, 2020
- Messages
- 6
- Reaction score
- 0
I'm running 3CX V20 in Lightsail
I have X7's at two separate locations that will not provision. They went offline sometime over the weekend and I am unable to get them to provision. I've deleted the phone, re-added it, verified that the firmware is up to date, and recreated the phone.
I've done a lot of digging into log files trying to figure out what exactly is happening. Both locations are behind an SBC and I had no issues provisioning a Grandstream phone. I think that I've narrowed down the issue but I'm stuck on my next troubleshooting steps.
From the logs on the X7 (v1) firmware 2.4.12 I'm getting a 200 OK when downloading the cfg file from the server and a few lines down there is "uAesDecrypt The data is invalid" and then finally an "Invalid config file"
If I use the same URL the config file downloads without issue in a browser and I'm able to manually load it onto the phone UI.
I'm really at a loss and could use some assistance.
Kevin
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:09 platform[311]: D/vcore.mt.main | mtCurrentContextPrint ********* end *******
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:09 platform[311]: D/vcore.mt.cfgUpdate | cfgUpdateFromFd Start !
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:09 platform[311]: D/vcore.mt.main | mtEventRaise: source=[ap] file=[XXXXX3e02e9b0.cfg] state=[downloading]!
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/vcore.curl.client | curlClientOperationFinish: curlCode=0
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/vcore.curl.client | curl_easy_perform curlErrorCode 0 return code 200 this_url=[https://xxxxxxxxxxxxx.south.3cx.us/rps/105:*************.cfg]
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/vcore.curl.client | curlClientOperationFinish: curlErrorCode=0
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/vcore.mt.cfgUpdate | readLen=29490
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/vcore.mt.cfgUpdate | digest=[],tempDigest=[8da590e8bd7d186ed516d674411a6a93]
2024-03-05 19:17:07 User.Error 192.168.1.190 Mar 6 08:17:10 platform[311]: E/vcore.utils.aes | uAesDecrypt The data is invalid.
2024-03-05 19:17:07 User.Info 192.168.1.190 Mar 6 08:17:10 platform[311]: I/vcore.mt.cfgUpdate | mtFormatConfig Start!
2024-03-05 19:17:07 User.Info 192.168.1.190 Mar 6 08:17:10 platform[311]: I/vcore.mt.cfgUpdate | mtFormatConfig End.
2024-03-05 19:17:07 User.Warning 192.168.1.190 Mar 6 08:17:10 platform[311]: W/vcore.cfg.utils | Invalid config file!
2024-03-05 19:17:07 User.Info 192.168.1.190 Mar 6 08:17:10 platform[311]: I/vcore.mt.main | mtUpdateRequest: source=[ap] file=[XXXe02e9b0.cfg] result=file invalid
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/vcore.mt.main | mtEventRaise: source=[ap] file=[XXXXe02e9b0.cfg] state=[terminated]!
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/vcore.ap.main | apDownloadTask mtUpdateResult=file invalid
2024-03-05 19:17:07 User.Info 192.168.1.190 Mar 6 08:17:10 platform[311]: I/vcore.ap.main | apDownloadTask download result=error
2024-03-05 19:17:07 User.Info 192.168.1.190 Mar 6 08:17:10 platform[311]: I/vcore.ap.main | apTaskCenter: sourceType=PhoneFlash,commonCfgDownloadResult=error,deviceCfgDownloadResult=error
2024-03-05 19:17:07 User.Info 192.168.1.190 Mar 6 08:17:10 platform[311]: I/vcore.ap.main | apModuleDownloadStart: type=[0]
2024-03-05 19:17:07 User.Info 192.168.1.190 Mar 6 08:17:10 platform[311]: I/vcore.ap.main | apNeedRebootGet: flag=[0].
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/sdevDbEmb | [SELECT ID FROM smss WHERE type = '1' AND flag = '1' ORDER BY time DESC;]
2024-03-05 19:17:07 User.Warning 192.168.1.190 Mar 6 08:17:10 platform[311]: W/vcore.pfm.smsDb | smsSearch: num==0
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/vcore.pfm.mwi | pfmMwiGetNewMessageNums: Mwi: nums=0
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/return_val_if_fail | xuiDrawBmp:958 picInfo failed.
I have X7's at two separate locations that will not provision. They went offline sometime over the weekend and I am unable to get them to provision. I've deleted the phone, re-added it, verified that the firmware is up to date, and recreated the phone.
I've done a lot of digging into log files trying to figure out what exactly is happening. Both locations are behind an SBC and I had no issues provisioning a Grandstream phone. I think that I've narrowed down the issue but I'm stuck on my next troubleshooting steps.
From the logs on the X7 (v1) firmware 2.4.12 I'm getting a 200 OK when downloading the cfg file from the server and a few lines down there is "uAesDecrypt The data is invalid" and then finally an "Invalid config file"
If I use the same URL the config file downloads without issue in a browser and I'm able to manually load it onto the phone UI.
I'm really at a loss and could use some assistance.
Kevin
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:09 platform[311]: D/vcore.mt.main | mtCurrentContextPrint ********* end *******
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:09 platform[311]: D/vcore.mt.cfgUpdate | cfgUpdateFromFd Start !
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:09 platform[311]: D/vcore.mt.main | mtEventRaise: source=[ap] file=[XXXXX3e02e9b0.cfg] state=[downloading]!
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/vcore.curl.client | curlClientOperationFinish: curlCode=0
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/vcore.curl.client | curl_easy_perform curlErrorCode 0 return code 200 this_url=[https://xxxxxxxxxxxxx.south.3cx.us/rps/105:*************.cfg]
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/vcore.curl.client | curlClientOperationFinish: curlErrorCode=0
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/vcore.mt.cfgUpdate | readLen=29490
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/vcore.mt.cfgUpdate | digest=[],tempDigest=[8da590e8bd7d186ed516d674411a6a93]
2024-03-05 19:17:07 User.Error 192.168.1.190 Mar 6 08:17:10 platform[311]: E/vcore.utils.aes | uAesDecrypt The data is invalid.
2024-03-05 19:17:07 User.Info 192.168.1.190 Mar 6 08:17:10 platform[311]: I/vcore.mt.cfgUpdate | mtFormatConfig Start!
2024-03-05 19:17:07 User.Info 192.168.1.190 Mar 6 08:17:10 platform[311]: I/vcore.mt.cfgUpdate | mtFormatConfig End.
2024-03-05 19:17:07 User.Warning 192.168.1.190 Mar 6 08:17:10 platform[311]: W/vcore.cfg.utils | Invalid config file!
2024-03-05 19:17:07 User.Info 192.168.1.190 Mar 6 08:17:10 platform[311]: I/vcore.mt.main | mtUpdateRequest: source=[ap] file=[XXXe02e9b0.cfg] result=file invalid
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/vcore.mt.main | mtEventRaise: source=[ap] file=[XXXXe02e9b0.cfg] state=[terminated]!
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/vcore.ap.main | apDownloadTask mtUpdateResult=file invalid
2024-03-05 19:17:07 User.Info 192.168.1.190 Mar 6 08:17:10 platform[311]: I/vcore.ap.main | apDownloadTask download result=error
2024-03-05 19:17:07 User.Info 192.168.1.190 Mar 6 08:17:10 platform[311]: I/vcore.ap.main | apTaskCenter: sourceType=PhoneFlash,commonCfgDownloadResult=error,deviceCfgDownloadResult=error
2024-03-05 19:17:07 User.Info 192.168.1.190 Mar 6 08:17:10 platform[311]: I/vcore.ap.main | apModuleDownloadStart: type=[0]
2024-03-05 19:17:07 User.Info 192.168.1.190 Mar 6 08:17:10 platform[311]: I/vcore.ap.main | apNeedRebootGet: flag=[0].
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/sdevDbEmb | [SELECT ID FROM smss WHERE type = '1' AND flag = '1' ORDER BY time DESC;]
2024-03-05 19:17:07 User.Warning 192.168.1.190 Mar 6 08:17:10 platform[311]: W/vcore.pfm.smsDb | smsSearch: num==0
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/vcore.pfm.mwi | pfmMwiGetNewMessageNums: Mwi: nums=0
2024-03-05 19:17:07 User.Debug 192.168.1.190 Mar 6 08:17:10 platform[311]: D/return_val_if_fail | xuiDrawBmp:958 picInfo failed.