Pre-requisites:


  • Campaign id 

  • Panel name 



Trouble shooting Steps:


  1. User is present in that list or not?

  2. Users performed the IAM triggered events.2

  3. Backend rule check which includes below browser links to be check.  

  4. (https://pnrules.netcoresmartech.com/inappactivity/0d06779bb5f60439f031f68af1ca5e2a.json

  5. https://psegment.netcoresmartech.com/user_attr?appid=0d5ab6e7df4da2e8a236a032782f5bc2&identity=cnwokike@gmail.com

  6. Segment and list sync :

  7. https://psegment.netcoresmartech.com/user_attr?identity=6290de1d8c4915001897053b&appid=6007ae23d63a40a6a36cc426378e54d

  8. list: http://psegment.netcoresmartech.com/user_map?clientid=140840&listid=1

  9. segment  : https://psegment.netcoresmartech.com/user_map?clientid=141641&segid=245


https://psegment.netcoresmartech.com/user_attr?appid=4fb1caf40fec4eaf852a0558c4e8e679&identity=7834A1fdc0e0a51a81fa3119f2358b0a

https://psegment.netcoresmartech.com/user_attr?appid=4fb1caf40fec4eaf852a0558c4e8e679&identity=Afee9a5f58181d600ccc21dbac796eaa



{"InAppRuleList":[{"id":"3983","toDate":"2023-01-23T16:45:00","fromDate":"2023-01-16T04:24:18","whomTo":{"everyone":"everyone","eventList":644,"eventName":"shoplist_page_load"},"whereTo":"5","whenTo":{"campaign":{"days":"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday","from":"00:00","to":"23:45"},"spentTime":"0","frequencyType":"day","frequency":"2","modifiedDate":"2023-01-16 09:54:18"},"whatTo":"clientid=120917&id=3983","contentType":4,"controlGroup":0},{"id":"3979","toDate":"2023-01-20T16:45:00","fromDate":"2023-01-16T17:00:00","whomTo":{"everyone":"everyone","eventList":685,"eventName":"shoplist_page_load"},"whereTo":"5","whenTo":{"campaign":{"days":"Tuesday,Thursday,Saturday,Sunday,Monday,Wednesday,Friday","from":"00:00","to":"23:45"},"spentTime":"0","frequencyType":"day","frequency":"2","modifiedDate":"2023-01-13 12:58:25"},"whatTo":"clientid=120917&id=3979","contentType":4,"controlGroup":0},{"id":"3976","toDate":"2023-01-20T16:45:00","fromDate":"2023-01-16T17:00:00","whomTo":{"everyone":"everyone","eventList":529,"eventName":"shoplist_page_load"},"whereTo":"5","whenTo":{"campaign":{"days":"Tuesday,Thursday,Saturday,Sunday,Monday,Wednesday,Friday","from":"00:00","to":"23:45"},"spentTime":"0","frequencyType":"day","frequency":"2","modifiedDate":"2023-01-13 15:35:49"},"whatTo":"clientid=120917&id=3976","contentType":4,"controlGroup":0},{"id":"3975","toDate":"2023-01-24T16:45:00","fromDate":"2023-01-20T17:00:00","whomTo":{"everyone":"everyone","eventList":529,"eventName":"shoplist_page_load"},"whereTo":"5","whenTo":{"campaign":{"days":"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday","from":"00:00","to":"23:45"},"spentTime":"0","frequencyType":"day","frequency":"1","modifiedDate":"2023-01-16 14:17:03"},"whatTo":"clientid=120917&id=3975","contentType":4,"controlGroup":0}],"newInAppRules":[],"inAppRules":[{"id":"3983","toDate":"2023-01-23T16:45:00","fromDate":"2023-01-16T04:24:18","modifiedDate":"2023-01-16T04:24:23","frequencyType":"day","frequency":"2","whomTo":{"visitor":"all","visitorType":"all"},"whereTo":{"position":"5","trigger":{"eventId":644,"eventName":"purchasehistory_page_load","filterType":"all","filters":[]},"multiTrigger":[{"eventId":644,"eventName":"purchasehistory_page_load","filterType":"all","filters":[]}]},"whenTo":{"days":["0","1","2","3","4","5","6"],"time":[{"from":"00:00","to":"23:45"}]},"whatTo":{"url":"https:\/\/cdndc.netcoresmartech.com\/120917\/in-app-content\/3983.html?inappVer=1"},"contentType":4,"controlGroup":0},{"id":"3981","toDate":"2023-01-19T16:45:00","fromDate":"2023-01-17T05:31:29","modifiedDate":"2023-01-17T05:31:43","frequencyType":"day","frequency":"1","whomTo":{"visitor":"all","visitorType":"all","listIds":["2861","4084"]},"whereTo":{"position":"5","trigger":{"eventId":530,"eventName":"home_page_load","filterType":"all","filters":[]},"multiTrigger":[{"eventId":530,"eventName":"home_page_load","filterType":"all","filters":[]}]},"whenTo":{"days":["2","3","4"],"time":[{"from":"00:00","to":"23:45"}]},"whatTo":{"url":"https:\/\/cdndc.netcoresmartech.com\/120917\/in-app-content\/3981.html?inappVer=1"},"contentType":4,"controlGroup":0},{"id":"3980","toDate":"2023-01-20T16:45:00","fromDate":"2023-01-17T05:35:17","modifiedDate":"2023-01-17T05:36:52","frequencyType":"day","frequency":"1","whomTo":{"visitor":"all","visitorType":"all","listIds":["2861","4083"]},"whereTo":{"position":"5","trigger":{"eventId":530,"eventName":"home_page_load","filterType":"all","filters":[]},"multiTrigger":[{"eventId":530,"eventName":"home_page_load","filterType":"all","filters":[]}]},"whenTo":{"days":["2","3","4"],"time":[{"from":"00:00","to":"23:45"}]},"whatTo":{"url":"https:\/\/cdndc.netcoresmartech.com\/120917\/in-app-content\/3980.html?inappVer=1"},"contentType":4,"controlGroup":0},{"id":"3979","toDate":"2023-01-20T16:45:00","fromDate":"2023-01-16T17:00:00","modifiedDate":"2023-01-13T07:28:28","frequencyType":"day","frequency":"2","whomTo":{"visitor":"all","visitorType":"all"},"whereTo":{"position":"5","trigger":{"eventId":685,"eventName":"inboxmessage_page_load","filterType":"all","filters":[]},"multiTrigger":[{"eventId":685,"eventName":"inboxmessage_page_load","filterType":"all","filters":[]}]},"whenTo":{"days":["2","4","6","0","1","3","5"],"time":[{"from":"00:00","to":"23:45"}]},"whatTo":{"url":"https:\/\/cdndc.netcoresmartech.com\/120917\/in-app-content\/3979.html?inappVer=1"},"contentType":4,"controlGroup":0},{"id":"3976","toDate":"2023-01-20T16:45:00","fromDate":"2023-01-16T17:00:00","modifiedDate":"2023-01-13T10:05:57","frequencyType":"day","frequency":"2","whomTo":{"visitor":"all","visitorType":"all"},"whereTo":{"position":"5","trigger":{"eventId":529,"eventName":"paymentsuccessful_page_load","filterType":"all","filters":[]},"multiTrigger":[{"eventId":529,"eventName":"paymentsuccessful_page_load","filterType":"all","filters":[]}]},"whenTo":{"days":["2","4","6","0","1","3","5"],"time":[{"from":"00:00","to":"23:45"}]},"whatTo":{"url":"https:\/\/cdndc.netcoresmartech.com\/120917\/in-app-content\/3976.html?inappVer=1"},"contentType":4,"controlGroup":0},{"id":"3975","toDate":"2023-01-24T16:45:00","fromDate":"2023-01-20T17:00:00","modifiedDate":"2023-01-16T08:47:19","frequencyType":"day","frequency":"1","whomTo":{"visitor":"all","visitorType":"all"},"whereTo":{"position":"5","trigger":{"eventId":529,"eventName":"paymentsuccessful_page_load","filterType":"all","filters":[]},"multiTrigger":[{"eventId":529,"eventName":"paymentsuccessful_page_load","filterType":"all","filters":[]}]},"whenTo":{"days":["0","1","2","3","4","5","6"],"time":[{"from":"00:00","to":"23:45"}]},"whatTo":{"url":"https:\/\/cdndc.netcoresmartech.com\/120917\/in-app-content\/3975.html?inappVer=1"},"contentType":4,"controlGroup":0}],"testInAppRules":[[]],"smartechSettings":{"sessionInterval":30,"batchInterval":10,"batchSize":30,"sdkActive":true,"geofenceEnable":true,"paEnabled":true,"appInboxEnabled":true,"paInterval":60,"eventSettings":{"allevents":true,"lifecycle":true,"push":true,"inapp":true,"appinbox":true},"panelActive":true,"eventLimit":200,"frequency":{"enable":1,"month":0,"week":0,"day":2},"baseUrls":{"trackAppActUrl":"https:\/\/npn.netcoresmartech.com\/","pushAmpUrl":"https:\/\/pa.netcoresmartech.com\/","inAppUrl":"https:\/\/ninapp.netcoresmartech.com\/","inboxUrl":"https:\/\/appinbox.netcoresmartech.com\/","listSegUrl":"https:\/\/psegment.netcoresmartech.com\/","geoFenceUrl":"https:\/\/geofence.netcoresmartech.com\/"},"hansel_api_endpoints":{"get_data":"https:\/\/ujm.hansel.io\/ujm\/v1\/data\/<os>\/<app_id>\/<rv>\/","add_events":"https:\/\/sdk.hansel.io\/dashboard\/event\/v1\/<app_id>\/","td_auth":"https:\/\/sdk.hansel.io\/dashboard\/td\/verify","init_sdk":"https:\/\/sdk.hansel.io\/dashboard\/sdk\/v1\/init\/<os>\/<app_id>\/","req_sesid":"https:\/\/sdk.hansel.io\/dashboard\/visualizer\/request_session","socket":"wss:\/\/websocket-visualizer.hansel.io","populate_data":"https:\/\/sdk.hansel.io\/dashboard\/populatedata\/v1\/<app_id>\/"},"geoFenceSettings":{"geoFenceEnabled":true,"geoFenceDistance":50,"geoFenceLastModified":"2022-11-15T18:56:39"}}}


We raised the above observation to SRE.


Solution:


Timed-out issues in vertica,mongo and redis end were found and added retry logic for 5 iterations for each iteration of its second which is dynamic  (where i <5 ), if vertica connection is established or not. If established only then proceed with the query else return an empty response by logging the error and sending ops genie and slack alerts. config changes in smartech.