Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
38 kB
2
Indexable
Never
    ┌───┬──┐   __|  __|_  )
    │ ╷╭╯╷ │   _|  (     /
    │  └╮  │  ___|\___|___|
    │ ╰─┼╯ │  Amazon EC2
    └───┴──┘  macOS Ventura 13.5

ec2-user@fifth_mac ~ % 
ec2-user@fifth_mac ~ % 
ec2-user@fifth_mac ~ % 
ec2-user@fifth_mac ~ % sudo -s
root@fifth_mac ~ # 
root@fifth_mac ~ # 
root@fifth_mac ~ # tail -100f /Users/gateway-lxp/Library/Logs/com.leapxpert.lxp-imessage-gateway.log
[GIN] 2023/11/07 - 01:22:04 | 200 |   26.500125ms |    40.91.118.91 | POST     "/imessage/v1/account/active"
{"env":"DEV","level":"info","msg":"Update metrics - rotation status DISABLED","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:22:04Z"}
{"env":"DEV","level":"info","msg":"Changed status of rotation to false","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:22:04Z"}
{"env":"DEV","level":"info","msg":"Set rotation status 0","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:22:04Z"}
{"env":"DEV","level":"info","msg":"Action is turn off rotation, force all logged in agents to logout","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:22:04Z"}
{"env":"DEV","level":"info","msg":"Current logged in accounts [gateway-lxp prod-agent-040 prod-agent-092 root]","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:22:04Z"}
{"env":"DEV","level":"info","msg":"Added account prod-agent-040 to shouldLogoutList","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:22:04Z"}
{"env":"DEV","level":"info","msg":"Added account prod-agent-092 to shouldLogoutList","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:22:04Z"}
[GIN] 2023/11/07 - 01:22:04 | 200 |    315.1055ms |    40.91.118.91 | PUT      "/imessage/v1/rotation/status"
{"env":"DEV","level":"debug","msg":"Got SigninRequest appleAccount:\"nSqoXxR3t+9vb24Dc2iFQBt1QzCAGJsC9pdGc/vbk0wO3dZ5+YE8zDw9JRhLFEOQIFF9VdZWq9Z2AT3/KiSx8q8vkR8cwTWZ2sV4DM9UM3ABo1TAa6TDCBEGgsiR6Vt4Wc204IsNKlorWPQx66b3MSqnwvhzfZvRtyhaSB1FEHxfleLF8lmTD/BrC/29yDERawuDRPo9Yvv5laMraKRyvfgOnAcrHvLu1Fn5crNMpyH9a0Z+nqwfUcnWrTCbO3q+M4RXQJ5fj56WeOEsOoitvXBfns41xYYROFpzLhGD3w31439AXv5LejSEnNv8K/mRc600y0LTcnUD6O79W0gIMA==\" account:{accountName:\"prod-agent-079\" officialAccountId:\"651fa57b96905f402d265bd8\" callbackService:{protocol:HTTPS host:\"public.uat.leapxpert.dev\" port:443 token:\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJpbWVzc2FnZS1nYXRld2F5LXNlcnZpY2UiLCJzdWIiOiI2NTFmYTU3Yjk2OTA1ZjQwMmQyNjViZDgiLCJsSWQiOiI2NTFmYTU3ODk2OTA1ZjQwMmQyNjViM2EiLCJpc3MiOiJsZWFweHBlcnQtaW1lc3NhZ2UtYXJjaGl2aW5nLWludGVncmF0aW9uIiwibFJvbGUiOiJHQVRFV0FZIiwibENvbXBhbnlJZCI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlhdCI6MTY5OTI4NjE4NH0.aqEtCLmm7WNLJ7IY2XrZbi-qnND31Cn9T6XJBv0UX8I\"}} metadata:{maxRetries:3 timeoutInSeconds:900 delayInSeconds:5} metadata:{step:OTP maxRetries:3 timeoutInSeconds:900 delayInSeconds:5} metadata:{step:PASSCODE maxRetries:10 timeoutInSeconds:900 delayInSeconds:5} metadata:{step:RESEND_OTP maxRetries:10 timeoutInSeconds:900 delayInSeconds:5} metadata:{step:TEXT_FORWARDING timeoutInSeconds:300}","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:22:04Z"}
{"env":"DEV","level":"info","msg":"Added onboarding record for agent prod-agent-079","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:22:04Z"}
[GIN] 2023/11/07 - 01:22:04 | 200 |     270.583µs |    40.91.118.91 | POST     "/imessage/v1/account/sign-in"
{"env":"DEV","level":"info","msg":"Agent  is not intended onboarding, added into should logOut list","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:22:04Z"}
{"env":"DEV","level":"info","msg":"Waiting for available slot to onboard agent prod-agent-079, current UI is being aquired by user , sleep 30 seconds","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:22:04Z"}
{"env":"DEV","level":"info","msg":"Successfully switched account gateway-lxp, no more loginwindow process running,  current count 1","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:22:06Z"}
{"env":"DEV","level":"debug","msg":"Mac account prod-agent-040 should be loggged out","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:22:07Z"}
{"env":"DEV","level":"debug","msg":"Port 8966 of agent prod-agent-040 is not reachable, releasing ...","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:22:16Z"}
{"env":"DEV","level":"info","msg":"Waiting for available slot to onboard agent prod-agent-079, current UI is being aquired by user , sleep 30 seconds","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:22:24Z"}
{"env":"DEV","level":"info","msg":"Waiting for available slot to onboard agent prod-agent-079, current UI is being aquired by user , sleep 30 seconds","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:22:44Z"}
{"env":"DEV","level":"info","msg":"Waiting for available slot to onboard agent prod-agent-079, current UI is being aquired by user , sleep 30 seconds","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:04Z"}
{"env":"DEV","level":"debug","msg":"Mac account prod-agent-092 should be loggged out","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:06Z"}
{"env":"DEV","level":"debug","msg":"Received RegisterAgentRequest info:{macAccount:\"prod-agent-092\" appleId:\"forlives318@gmail.com\" port:8970 callbackService:{protocol:HTTPS host:\"public.uat.leapxpert.dev\" port:443 token:\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjb21wYW55SWQiOiI2NDhlOTUzM2IwZDI4MTNmYTRmNWQwYTgiLCJyb2xlIjoiR0FURVdBWSIsIm5hbWUiOiJvcy5pbWVzczI3IiwiY29tcGFueSI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlkIjoiNjUxZTU2MTI2NmUwYTEzMzEwOGU4OWI1IiwiZXhwIjoxNzMwODEzODIwLCJkZXZpY2VJZCI6Ijg0OTIxMDUyNDI3IiwidG9rZW4iOiJhNzhiODM0OC1iMDVhLTQyMmYtODljZC1kNjVmZTRkN2FjMDMifQ.5fKGrT8taX-Ig_yK_Ube-1RU-X6e7fpqVTn2RAIR21I\" minio:{host:\"files-public-fd.uat.leapxpert.dev\" key:\"AKIA6AFXZ7BRPCG6TRMF\" secret:\"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\" ssl:true}} fmopUser:{userId:\"651e561266e0a133108e89b5\" companyId:\"648e9533b0d2813fa4f5d0a8\" phoneNumbers:\"84921052427\"} statuses:{identifier:\"forlives318@gmail.com\"} statuses:{identifier:\"forlives318@gmail.com\"}}","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:06Z"}
{"env":"DEV","level":"info","msg":"[RegisterAgent] Register agent of agent macAccount:\"prod-agent-092\" appleId:\"forlives318@gmail.com\" port:8970 callbackService:{protocol:HTTPS host:\"public.uat.leapxpert.dev\" port:443 token:\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjb21wYW55SWQiOiI2NDhlOTUzM2IwZDI4MTNmYTRmNWQwYTgiLCJyb2xlIjoiR0FURVdBWSIsIm5hbWUiOiJvcy5pbWVzczI3IiwiY29tcGFueSI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlkIjoiNjUxZTU2MTI2NmUwYTEzMzEwOGU4OWI1IiwiZXhwIjoxNzMwODEzODIwLCJkZXZpY2VJZCI6Ijg0OTIxMDUyNDI3IiwidG9rZW4iOiJhNzhiODM0OC1iMDVhLTQyMmYtODljZC1kNjVmZTRkN2FjMDMifQ.5fKGrT8taX-Ig_yK_Ube-1RU-X6e7fpqVTn2RAIR21I\" minio:{host:\"files-public-fd.uat.leapxpert.dev\" key:\"AKIA6AFXZ7BRPCG6TRMF\" secret:\"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\" ssl:true}} fmopUser:{userId:\"651e561266e0a133108e89b5\" companyId:\"648e9533b0d2813fa4f5d0a8\" phoneNumbers:\"84921052427\"} statuses:{identifier:\"forlives318@gmail.com\"} statuses:{identifier:\"forlives318@gmail.com\"} on port 8970","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:06Z"}
{"env":"DEV","level":"debug","msg":"[RegisterAgent] Registered account request {prod-agent-092 1 {{\"userId\":\"651e561266e0a133108e89b5\",\"companyId\":\"648e9533b0d2813fa4f5d0a8\",\"phoneNumbers\":[\"84921052427\"]} true} {{\"protocol\":2,\"host\":\"public.uat.leapxpert.dev\",\"port\":443,\"token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjb21wYW55SWQiOiI2NDhlOTUzM2IwZDI4MTNmYTRmNWQwYTgiLCJyb2xlIjoiR0FURVdBWSIsIm5hbWUiOiJvcy5pbWVzczI3IiwiY29tcGFueSI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlkIjoiNjUxZTU2MTI2NmUwYTEzMzEwOGU4OWI1IiwiZXhwIjoxNzMwODEzODIwLCJkZXZpY2VJZCI6Ijg0OTIxMDUyNDI3IiwidG9rZW4iOiJhNzhiODM0OC1iMDVhLTQyMmYtODljZC1kNjVmZTRkN2FjMDMifQ.5fKGrT8taX-Ig_yK_Ube-1RU-X6e7fpqVTn2RAIR21I\",\"minio\":{\"host\":\"files-public-fd.uat.leapxpert.dev\",\"key\":\"AKIA6AFXZ7BRPCG6TRMF\",\"secret\":\"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\",\"ssl\":true}} true} forlives318@gmail.com test5-igateway.leapxpert.dev} success","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:06Z"}
{"env":"DEV","level":"info","msg":"Registered agent macAccount:\"prod-agent-092\" appleId:\"forlives318@gmail.com\" port:8970 callbackService:{protocol:HTTPS host:\"public.uat.leapxpert.dev\" port:443 token:\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjb21wYW55SWQiOiI2NDhlOTUzM2IwZDI4MTNmYTRmNWQwYTgiLCJyb2xlIjoiR0FURVdBWSIsIm5hbWUiOiJvcy5pbWVzczI3IiwiY29tcGFueSI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlkIjoiNjUxZTU2MTI2NmUwYTEzMzEwOGU4OWI1IiwiZXhwIjoxNzMwODEzODIwLCJkZXZpY2VJZCI6Ijg0OTIxMDUyNDI3IiwidG9rZW4iOiJhNzhiODM0OC1iMDVhLTQyMmYtODljZC1kNjVmZTRkN2FjMDMifQ.5fKGrT8taX-Ig_yK_Ube-1RU-X6e7fpqVTn2RAIR21I\" minio:{host:\"files-public-fd.uat.leapxpert.dev\" key:\"AKIA6AFXZ7BRPCG6TRMF\" secret:\"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\" ssl:true}} fmopUser:{userId:\"651e561266e0a133108e89b5\" companyId:\"648e9533b0d2813fa4f5d0a8\" phoneNumbers:\"84921052427\"} statuses:{identifier:\"forlives318@gmail.com\"} statuses:{identifier:\"forlives318@gmail.com\"} has success","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:06Z"}
{"env":"DEV","level":"info","msg":"Upserting IdentifierStatus {prod-agent-092 {1699320186130 false} {0 false} forlives318@gmail.com forlives318@gmail.com CHECKED test5-igateway.leapxpert.dev {{\"userId\":\"651e561266e0a133108e89b5\",\"companyId\":\"648e9533b0d2813fa4f5d0a8\",\"phoneNumbers\":[\"84921052427\"]} true} { false}}","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:06Z"}
{"env":"DEV","level":"info","msg":"Upserting IdentifierStatus {prod-agent-092 {1699320186155 false} {0 false} forlives318@gmail.com forlives318@gmail.com CHECKED test5-igateway.leapxpert.dev {{\"userId\":\"651e561266e0a133108e89b5\",\"companyId\":\"648e9533b0d2813fa4f5d0a8\",\"phoneNumbers\":[\"84921052427\"]} true} { false}}","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:06Z"}
{"env":"DEV","level":"debug","msg":"#RegisterAgent: Responding back success:true","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:06Z"}
{"env":"DEV","level":"debug","msg":"Get next account from client has resp : acc  status code 1","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:06Z"}
{"env":"DEV","level":"debug","msg":"Account \u0026{prod-agent-092 forlives318@gmail.com localhost 8970 0x140003dd700 UNAVAILABLE \u003cnil\u003e userId:\"651e561266e0a133108e89b5\" companyId:\"648e9533b0d2813fa4f5d0a8\" phoneNumbers:\"84921052427\" protocol:HTTPS host:\"public.uat.leapxpert.dev\" port:443 token:\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjb21wYW55SWQiOiI2NDhlOTUzM2IwZDI4MTNmYTRmNWQwYTgiLCJyb2xlIjoiR0FURVdBWSIsIm5hbWUiOiJvcy5pbWVzczI3IiwiY29tcGFueSI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlkIjoiNjUxZTU2MTI2NmUwYTEzMzEwOGU4OWI1IiwiZXhwIjoxNzMwODEzODIwLCJkZXZpY2VJZCI6Ijg0OTIxMDUyNDI3IiwidG9rZW4iOiJhNzhiODM0OC1iMDVhLTQyMmYtODljZC1kNjVmZTRkN2FjMDMifQ.5fKGrT8taX-Ig_yK_Ube-1RU-X6e7fpqVTn2RAIR21I\" minio:{host:\"files-public-fd.uat.leapxpert.dev\" key:\"AKIA6AFXZ7BRPCG6TRMF\" secret:\"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\" ssl:true} 1699320226097}, currentTime 1699320191798 retry next time","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:11Z"}
{"env":"DEV","level":"debug","msg":"Account \u0026{prod-agent-092 forlives318@gmail.com localhost 8970 0x140003dd700 UNAVAILABLE \u003cnil\u003e userId:\"651e561266e0a133108e89b5\" companyId:\"648e9533b0d2813fa4f5d0a8\" phoneNumbers:\"84921052427\" protocol:HTTPS host:\"public.uat.leapxpert.dev\" port:443 token:\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjb21wYW55SWQiOiI2NDhlOTUzM2IwZDI4MTNmYTRmNWQwYTgiLCJyb2xlIjoiR0FURVdBWSIsIm5hbWUiOiJvcy5pbWVzczI3IiwiY29tcGFueSI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlkIjoiNjUxZTU2MTI2NmUwYTEzMzEwOGU4OWI1IiwiZXhwIjoxNzMwODEzODIwLCJkZXZpY2VJZCI6Ijg0OTIxMDUyNDI3IiwidG9rZW4iOiJhNzhiODM0OC1iMDVhLTQyMmYtODljZC1kNjVmZTRkN2FjMDMifQ.5fKGrT8taX-Ig_yK_Ube-1RU-X6e7fpqVTn2RAIR21I\" minio:{host:\"files-public-fd.uat.leapxpert.dev\" key:\"AKIA6AFXZ7BRPCG6TRMF\" secret:\"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\" ssl:true} 1699320226097}, currentTime 1699320196802 retry next time","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:16Z"}
{"env":"DEV","level":"debug","msg":"Account \u0026{prod-agent-092 forlives318@gmail.com localhost 8970 0x140003dd700 UNAVAILABLE \u003cnil\u003e userId:\"651e561266e0a133108e89b5\" companyId:\"648e9533b0d2813fa4f5d0a8\" phoneNumbers:\"84921052427\" protocol:HTTPS host:\"public.uat.leapxpert.dev\" port:443 token:\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjb21wYW55SWQiOiI2NDhlOTUzM2IwZDI4MTNmYTRmNWQwYTgiLCJyb2xlIjoiR0FURVdBWSIsIm5hbWUiOiJvcy5pbWVzczI3IiwiY29tcGFueSI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlkIjoiNjUxZTU2MTI2NmUwYTEzMzEwOGU4OWI1IiwiZXhwIjoxNzMwODEzODIwLCJkZXZpY2VJZCI6Ijg0OTIxMDUyNDI3IiwidG9rZW4iOiJhNzhiODM0OC1iMDVhLTQyMmYtODljZC1kNjVmZTRkN2FjMDMifQ.5fKGrT8taX-Ig_yK_Ube-1RU-X6e7fpqVTn2RAIR21I\" minio:{host:\"files-public-fd.uat.leapxpert.dev\" key:\"AKIA6AFXZ7BRPCG6TRMF\" secret:\"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\" ssl:true} 1699320226097}, currentTime 1699320201805 retry next time","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:21Z"}
{"env":"DEV","level":"info","msg":"Waiting for available slot to onboard agent prod-agent-079, current UI is being aquired by user , sleep 30 seconds","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:24Z"}
{"env":"DEV","level":"debug","msg":"Account \u0026{prod-agent-092 forlives318@gmail.com localhost 8970 0x140003dd700 UNAVAILABLE \u003cnil\u003e userId:\"651e561266e0a133108e89b5\" companyId:\"648e9533b0d2813fa4f5d0a8\" phoneNumbers:\"84921052427\" protocol:HTTPS host:\"public.uat.leapxpert.dev\" port:443 token:\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjb21wYW55SWQiOiI2NDhlOTUzM2IwZDI4MTNmYTRmNWQwYTgiLCJyb2xlIjoiR0FURVdBWSIsIm5hbWUiOiJvcy5pbWVzczI3IiwiY29tcGFueSI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlkIjoiNjUxZTU2MTI2NmUwYTEzMzEwOGU4OWI1IiwiZXhwIjoxNzMwODEzODIwLCJkZXZpY2VJZCI6Ijg0OTIxMDUyNDI3IiwidG9rZW4iOiJhNzhiODM0OC1iMDVhLTQyMmYtODljZC1kNjVmZTRkN2FjMDMifQ.5fKGrT8taX-Ig_yK_Ube-1RU-X6e7fpqVTn2RAIR21I\" minio:{host:\"files-public-fd.uat.leapxpert.dev\" key:\"AKIA6AFXZ7BRPCG6TRMF\" secret:\"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\" ssl:true} 1699320226097}, currentTime 1699320206808 retry next time","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:26Z"}
{"env":"DEV","level":"debug","msg":"Account \u0026{prod-agent-092 forlives318@gmail.com localhost 8970 0x140003dd700 UNAVAILABLE \u003cnil\u003e userId:\"651e561266e0a133108e89b5\" companyId:\"648e9533b0d2813fa4f5d0a8\" phoneNumbers:\"84921052427\" protocol:HTTPS host:\"public.uat.leapxpert.dev\" port:443 token:\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjb21wYW55SWQiOiI2NDhlOTUzM2IwZDI4MTNmYTRmNWQwYTgiLCJyb2xlIjoiR0FURVdBWSIsIm5hbWUiOiJvcy5pbWVzczI3IiwiY29tcGFueSI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlkIjoiNjUxZTU2MTI2NmUwYTEzMzEwOGU4OWI1IiwiZXhwIjoxNzMwODEzODIwLCJkZXZpY2VJZCI6Ijg0OTIxMDUyNDI3IiwidG9rZW4iOiJhNzhiODM0OC1iMDVhLTQyMmYtODljZC1kNjVmZTRkN2FjMDMifQ.5fKGrT8taX-Ig_yK_Ube-1RU-X6e7fpqVTn2RAIR21I\" minio:{host:\"files-public-fd.uat.leapxpert.dev\" key:\"AKIA6AFXZ7BRPCG6TRMF\" secret:\"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\" ssl:true} 1699320226097}, currentTime 1699320211812 retry next time","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:31Z"}
{"env":"DEV","level":"debug","msg":"Account \u0026{prod-agent-092 forlives318@gmail.com localhost 8970 0x140003dd700 UNAVAILABLE \u003cnil\u003e userId:\"651e561266e0a133108e89b5\" companyId:\"648e9533b0d2813fa4f5d0a8\" phoneNumbers:\"84921052427\" protocol:HTTPS host:\"public.uat.leapxpert.dev\" port:443 token:\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjb21wYW55SWQiOiI2NDhlOTUzM2IwZDI4MTNmYTRmNWQwYTgiLCJyb2xlIjoiR0FURVdBWSIsIm5hbWUiOiJvcy5pbWVzczI3IiwiY29tcGFueSI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlkIjoiNjUxZTU2MTI2NmUwYTEzMzEwOGU4OWI1IiwiZXhwIjoxNzMwODEzODIwLCJkZXZpY2VJZCI6Ijg0OTIxMDUyNDI3IiwidG9rZW4iOiJhNzhiODM0OC1iMDVhLTQyMmYtODljZC1kNjVmZTRkN2FjMDMifQ.5fKGrT8taX-Ig_yK_Ube-1RU-X6e7fpqVTn2RAIR21I\" minio:{host:\"files-public-fd.uat.leapxpert.dev\" key:\"AKIA6AFXZ7BRPCG6TRMF\" secret:\"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\" ssl:true} 1699320226097}, currentTime 1699320216815 retry next time","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:36Z"}
{"env":"DEV","level":"debug","msg":"Account \u0026{prod-agent-092 forlives318@gmail.com localhost 8970 0x140003dd700 UNAVAILABLE \u003cnil\u003e userId:\"651e561266e0a133108e89b5\" companyId:\"648e9533b0d2813fa4f5d0a8\" phoneNumbers:\"84921052427\" protocol:HTTPS host:\"public.uat.leapxpert.dev\" port:443 token:\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjb21wYW55SWQiOiI2NDhlOTUzM2IwZDI4MTNmYTRmNWQwYTgiLCJyb2xlIjoiR0FURVdBWSIsIm5hbWUiOiJvcy5pbWVzczI3IiwiY29tcGFueSI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlkIjoiNjUxZTU2MTI2NmUwYTEzMzEwOGU4OWI1IiwiZXhwIjoxNzMwODEzODIwLCJkZXZpY2VJZCI6Ijg0OTIxMDUyNDI3IiwidG9rZW4iOiJhNzhiODM0OC1iMDVhLTQyMmYtODljZC1kNjVmZTRkN2FjMDMifQ.5fKGrT8taX-Ig_yK_Ube-1RU-X6e7fpqVTn2RAIR21I\" minio:{host:\"files-public-fd.uat.leapxpert.dev\" key:\"AKIA6AFXZ7BRPCG6TRMF\" secret:\"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\" ssl:true} 1699320226097}, currentTime 1699320221819 retry next time","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:41Z"}
{"env":"DEV","level":"info","msg":"Waiting for available slot to onboard agent prod-agent-079, current UI is being aquired by user , sleep 30 seconds","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:44Z"}
{"env":"DEV","level":"debug","msg":"Port 8970 of agent prod-agent-092 is not reachable, releasing ...","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:23:46Z"}
{"env":"DEV","level":"info","msg":"Waiting for available slot to onboard agent prod-agent-079, current UI is being aquired by user , sleep 30 seconds","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:24:05Z"}
{"env":"DEV","level":"info","msg":"Waiting for available slot to onboard agent prod-agent-079, current UI is being aquired by user , sleep 30 seconds","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:24:25Z"}
{"env":"DEV","level":"info","msg":"Waiting for available slot to onboard agent prod-agent-079, current UI is being aquired by user , sleep 30 seconds","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:24:45Z"}
{"env":"DEV","level":"info","msg":"Waiting for available slot to onboard agent prod-agent-079, current UI is being aquired by user , sleep 30 seconds","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:25:05Z"}
{"env":"DEV","level":"info","msg":"Running task to check and cleanup onboarding processes","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:25:05Z"}
{"env":"DEV","level":"info","msg":"Checking onboarding record \u0026{prod-agent-079 1699320124815 1699320124815 SIGN_IN \u003cnil\u003e \u003cnil\u003e false appleAccount:\"nSqoXxR3t+9vb24Dc2iFQBt1QzCAGJsC9pdGc/vbk0wO3dZ5+YE8zDw9JRhLFEOQIFF9VdZWq9Z2AT3/KiSx8q8vkR8cwTWZ2sV4DM9UM3ABo1TAa6TDCBEGgsiR6Vt4Wc204IsNKlorWPQx66b3MSqnwvhzfZvRtyhaSB1FEHxfleLF8lmTD/BrC/29yDERawuDRPo9Yvv5laMraKRyvfgOnAcrHvLu1Fn5crNMpyH9a0Z+nqwfUcnWrTCbO3q+M4RXQJ5fj56WeOEsOoitvXBfns41xYYROFpzLhGD3w31439AXv5LejSEnNv8K/mRc600y0LTcnUD6O79W0gIMA==\" account:{accountName:\"prod-agent-079\" officialAccountId:\"651fa57b96905f402d265bd8\" callbackService:{protocol:HTTPS host:\"public.uat.leapxpert.dev\" port:443 token:\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJpbWVzc2FnZS1nYXRld2F5LXNlcnZpY2UiLCJzdWIiOiI2NTFmYTU3Yjk2OTA1ZjQwMmQyNjViZDgiLCJsSWQiOiI2NTFmYTU3ODk2OTA1ZjQwMmQyNjViM2EiLCJpc3MiOiJsZWFweHBlcnQtaW1lc3NhZ2UtYXJjaGl2aW5nLWludGVncmF0aW9uIiwibFJvbGUiOiJHQVRFV0FZIiwibENvbXBhbnlJZCI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlhdCI6MTY5OTI4NjE4NH0.aqEtCLmm7WNLJ7IY2XrZbi-qnND31Cn9T6XJBv0UX8I\"}} metadata:{maxRetries:3 timeoutInSeconds:900 delayInSeconds:5} metadata:{step:OTP maxRetries:3 timeoutInSeconds:900 delayInSeconds:5} metadata:{step:PASSCODE maxRetries:10 timeoutInSeconds:900 delayInSeconds:5} metadata:{step:RESEND_OTP maxRetries:10 timeoutInSeconds:900 delayInSeconds:5} metadata:{step:TEXT_FORWARDING timeoutInSeconds:300} 0x140003c0a40 0 651fa57b96905f402d265bd8 1 0 0 0  [maxRetries:3 timeoutInSeconds:900 delayInSeconds:5 step:OTP maxRetries:3 timeoutInSeconds:900 delayInSeconds:5 step:PASSCODE maxRetries:10 timeoutInSeconds:900 delayInSeconds:5 step:RESEND_OTP maxRetries:10 timeoutInSeconds:900 delayInSeconds:5 step:TEXT_FORWARDING timeoutInSeconds:300]}","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:25:05Z"}
{"env":"DEV","level":"error","msg":"Unknow step TEXT_FORWARDING","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:25:05Z"}
{"env":"DEV","level":"info","msg":"Sleep 5m0s then process for pending unlinked request","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:25:09Z"}
{"env":"DEV","level":"info","msg":"Waiting for available slot to onboard agent prod-agent-079, current UI is being aquired by user , sleep 30 seconds","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:25:25Z"}
{"env":"DEV","level":"info","msg":"Waiting for available slot to onboard agent prod-agent-079, current UI is being aquired by user , sleep 30 seconds","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:25:45Z"}
{"env":"DEV","level":"info","msg":"Waiting for available slot to onboard agent prod-agent-079, current UI is being aquired by user , sleep 30 seconds","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:26:05Z"}
{"env":"DEV","level":"info","msg":"Waiting for available slot to onboard agent prod-agent-079, current UI is being aquired by user , sleep 30 seconds","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:26:25Z"}
{"env":"DEV","level":"info","msg":"Waiting for available slot to onboard agent prod-agent-079, current UI is being aquired by user , sleep 30 seconds","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:26:45Z"}
{"env":"DEV","level":"info","msg":"Running task to check and cleanup onboarding processes","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:30:05Z"}
{"env":"DEV","level":"info","msg":"Checking onboarding record \u0026{prod-agent-079 1699320124815 1699320124815 SIGN_IN \u003cnil\u003e \u003cnil\u003e false appleAccount:\"nSqoXxR3t+9vb24Dc2iFQBt1QzCAGJsC9pdGc/vbk0wO3dZ5+YE8zDw9JRhLFEOQIFF9VdZWq9Z2AT3/KiSx8q8vkR8cwTWZ2sV4DM9UM3ABo1TAa6TDCBEGgsiR6Vt4Wc204IsNKlorWPQx66b3MSqnwvhzfZvRtyhaSB1FEHxfleLF8lmTD/BrC/29yDERawuDRPo9Yvv5laMraKRyvfgOnAcrHvLu1Fn5crNMpyH9a0Z+nqwfUcnWrTCbO3q+M4RXQJ5fj56WeOEsOoitvXBfns41xYYROFpzLhGD3w31439AXv5LejSEnNv8K/mRc600y0LTcnUD6O79W0gIMA==\" account:{accountName:\"prod-agent-079\" officialAccountId:\"651fa57b96905f402d265bd8\" callbackService:{protocol:HTTPS host:\"public.uat.leapxpert.dev\" port:443 token:\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJpbWVzc2FnZS1nYXRld2F5LXNlcnZpY2UiLCJzdWIiOiI2NTFmYTU3Yjk2OTA1ZjQwMmQyNjViZDgiLCJsSWQiOiI2NTFmYTU3ODk2OTA1ZjQwMmQyNjViM2EiLCJpc3MiOiJsZWFweHBlcnQtaW1lc3NhZ2UtYXJjaGl2aW5nLWludGVncmF0aW9uIiwibFJvbGUiOiJHQVRFV0FZIiwibENvbXBhbnlJZCI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlhdCI6MTY5OTI4NjE4NH0.aqEtCLmm7WNLJ7IY2XrZbi-qnND31Cn9T6XJBv0UX8I\"}} metadata:{maxRetries:3 timeoutInSeconds:900 delayInSeconds:5} metadata:{step:OTP maxRetries:3 timeoutInSeconds:900 delayInSeconds:5} metadata:{step:PASSCODE maxRetries:10 timeoutInSeconds:900 delayInSeconds:5} metadata:{step:RESEND_OTP maxRetries:10 timeoutInSeconds:900 delayInSeconds:5} metadata:{step:TEXT_FORWARDING timeoutInSeconds:300} 0x140003c0a40 0 651fa57b96905f402d265bd8 1 0 0 0  [maxRetries:3 timeoutInSeconds:900 delayInSeconds:5 step:OTP maxRetries:3 timeoutInSeconds:900 delayInSeconds:5 step:PASSCODE maxRetries:10 timeoutInSeconds:900 delayInSeconds:5 step:RESEND_OTP maxRetries:10 timeoutInSeconds:900 delayInSeconds:5 step:TEXT_FORWARDING timeoutInSeconds:300]}","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:30:05Z"}
{"env":"DEV","level":"error","msg":"Unknow step TEXT_FORWARDING","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:30:05Z"}
{"env":"DEV","level":"info","msg":"Sleep 5m0s then process for pending unlinked request","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:30:09Z"}
2023/11/07 01:34:08 http: TLS handshake error from 66.160.133.239:40446: EOF
2023/11/07 01:35:00 http: TLS handshake error from 51.158.173.226:6351: remote error: tls: bad certificate
{"env":"DEV","level":"info","msg":"Running task to check and cleanup onboarding processes","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:35:05Z"}
{"env":"DEV","level":"info","msg":"Checking onboarding record \u0026{prod-agent-079 1699320124815 1699320124815 SIGN_IN \u003cnil\u003e \u003cnil\u003e false appleAccount:\"nSqoXxR3t+9vb24Dc2iFQBt1QzCAGJsC9pdGc/vbk0wO3dZ5+YE8zDw9JRhLFEOQIFF9VdZWq9Z2AT3/KiSx8q8vkR8cwTWZ2sV4DM9UM3ABo1TAa6TDCBEGgsiR6Vt4Wc204IsNKlorWPQx66b3MSqnwvhzfZvRtyhaSB1FEHxfleLF8lmTD/BrC/29yDERawuDRPo9Yvv5laMraKRyvfgOnAcrHvLu1Fn5crNMpyH9a0Z+nqwfUcnWrTCbO3q+M4RXQJ5fj56WeOEsOoitvXBfns41xYYROFpzLhGD3w31439AXv5LejSEnNv8K/mRc600y0LTcnUD6O79W0gIMA==\" account:{accountName:\"prod-agent-079\" officialAccountId:\"651fa57b96905f402d265bd8\" callbackService:{protocol:HTTPS host:\"public.uat.leapxpert.dev\" port:443 token:\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJpbWVzc2FnZS1nYXRld2F5LXNlcnZpY2UiLCJzdWIiOiI2NTFmYTU3Yjk2OTA1ZjQwMmQyNjViZDgiLCJsSWQiOiI2NTFmYTU3ODk2OTA1ZjQwMmQyNjViM2EiLCJpc3MiOiJsZWFweHBlcnQtaW1lc3NhZ2UtYXJjaGl2aW5nLWludGVncmF0aW9uIiwibFJvbGUiOiJHQVRFV0FZIiwibENvbXBhbnlJZCI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlhdCI6MTY5OTI4NjE4NH0.aqEtCLmm7WNLJ7IY2XrZbi-qnND31Cn9T6XJBv0UX8I\"}} metadata:{maxRetries:3 timeoutInSeconds:900 delayInSeconds:5} metadata:{step:OTP maxRetries:3 timeoutInSeconds:900 delayInSeconds:5} metadata:{step:PASSCODE maxRetries:10 timeoutInSeconds:900 delayInSeconds:5} metadata:{step:RESEND_OTP maxRetries:10 timeoutInSeconds:900 delayInSeconds:5} metadata:{step:TEXT_FORWARDING timeoutInSeconds:300} 0x140003c0a40 0 651fa57b96905f402d265bd8 1 0 0 0  [maxRetries:3 timeoutInSeconds:900 delayInSeconds:5 step:OTP maxRetries:3 timeoutInSeconds:900 delayInSeconds:5 step:PASSCODE maxRetries:10 timeoutInSeconds:900 delayInSeconds:5 step:RESEND_OTP maxRetries:10 timeoutInSeconds:900 delayInSeconds:5 step:TEXT_FORWARDING timeoutInSeconds:300]}","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:35:05Z"}
{"env":"DEV","level":"error","msg":"Unknow step TEXT_FORWARDING","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:35:05Z"}
{"env":"DEV","level":"info","msg":"Sleep 5m0s then process for pending unlinked request","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:35:09Z"}
{"env":"DEV","level":"info","msg":"Got a request to terminate self onboarding accountName:\"prod-agent-079\"","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:05Z"}
[GIN] 2023/11/07 - 01:40:05 | 200 |    1.141167ms |    40.91.118.91 | POST     "/imessage/v1/account/sign-in/terminate"
{"env":"DEV","level":"info","msg":"Running task to check and cleanup onboarding processes","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:05Z"}
{"env":"DEV","level":"info","msg":"Enabled rotation successfully","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:05Z"}
{"env":"DEV","level":"info","msg":"Sleep 5m0s then process for pending unlinked request","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:08Z"}
{"env":"DEV","level":"info","msg":"[Switching account]: UI is being acquired by , waiting it back to gateway","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:11Z"}
{"env":"DEV","level":"info","msg":"Set rotation stuck status 1","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:21Z"}
{"env":"DEV","level":"info","msg":"Reached number of waits, current UI is hanging, switching to gateway-lxp","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:21Z"}
{"env":"DEV","level":"info","msg":"Switched account gateway-lxp successfully, now enter password","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:21Z"}
{"env":"DEV","level":"info","msg":"Successfully enterred password using VNC client","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:26Z"}
{"env":"DEV","level":"info","msg":"Successfully sent enter key using VNC client","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:26Z"}
{"env":"DEV","error":"exit status 1","level":"error","msg":"Failed checking login window: res \nps -Ajc | grep loginwindow | grep root\n","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:31Z"}
{"env":"DEV","level":"info","msg":"Successfully switched account gateway-lxp, no more loginwindow process running,  current count 1","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:31Z"}
{"env":"DEV","level":"debug","msg":"[RotateLoop] Starting new round of rotation at time 2023-11-07 01:40:31.950392 +0000 GMT m=+6031.484427626","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:31Z"}
{"env":"DEV","level":"info","msg":"Set rotation stuck status 0","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:31Z"}
{"env":"DEV","level":"info","msg":"[RotateLoop] List of accounts to be cosidered logging out [gateway-lxp]","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:32Z"}
{"env":"DEV","level":"debug","msg":"Rotate queue in next round : [[prod-agent-040 prod-agent-092]]","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:32Z"}
{"env":"DEV","error":"exit status 1","level":"error","msg":"Failed checking login window: res \nps -Ajc | grep loginwindow | grep root\n","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:42Z"}
{"env":"DEV","error":null,"level":"info","msg":"Executed script successfully","output":"SWITCHED_USER\n","script":"SwitchAccount","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:44Z"}
{"env":"DEV","level":"info","msg":"Switched account prod-agent-040 successfully, now enter password","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:44Z"}
{"env":"DEV","level":"info","msg":"Wait 15 seconds for loginwindow gets loaded","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:40:44Z"}
{"env":"DEV","level":"info","msg":"Successfully enterred password using VNC client","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:41:04Z"}
{"env":"DEV","level":"info","msg":"Successfully sent enter key using VNC client","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:41:05Z"}
{"env":"DEV","error":"exit status 1","level":"error","msg":"Failed checking login window: res \nps -Ajc | grep loginwindow | grep root\n","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:41:10Z"}
{"env":"DEV","level":"info","msg":"Successfully switched account prod-agent-040, no more loginwindow process running,  current count 1","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:41:10Z"}
{"env":"DEV","level":"info","msg":"[RotateLoop] Switched to account: accName: prod-agent-040 successfully","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:41:10Z"}
{"env":"DEV","level":"info","msg":"Waiting for session time 5ns minutes","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:41:10Z"}
{"env":"DEV","level":"info","msg":"Got GetRotationRequest accountName:\"prod-agent-040\"","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:41:23Z"}
{"env":"DEV","level":"debug","msg":"#CheckRotationStatus responding back enabled:true","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:41:23Z"}
{"env":"DEV","level":"debug","msg":"Received RegisterAgentRequest info:{macAccount:\"prod-agent-040\" appleId:\"lxp.sep@icloud.com\" port:8954 callbackService:{protocol:HTTPS host:\"public.uat.leapxpert.dev\" port:443 token:\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjb21wYW55SWQiOiI2NDhlOTUzM2IwZDI4MTNmYTRmNWQwYTgiLCJyb2xlIjoiR0FURVdBWSIsIm5hbWUiOiJvcy5pbWVzczEwIiwiY29tcGFueSI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlkIjoiNjUxZTU1ZjU2NmUwYTEzMzEwOGU4OTcxIiwiZXhwIjoxNzI5NzQ1NDM0LCJkZXZpY2VJZCI6Ijg0OTIxMDUyNDEwIiwidG9rZW4iOiIxZmVkOTdhOS02NDU3LTQxM2ItYjZmYy0yZTQ4NDllYzBiZWQifQ.cKtSmRL25inyCiDfFnPWPLPjTVCiETr23kvDcN5d9CQ\" minio:{host:\"files-public-fd.uat.leapxpert.dev\" key:\"AKIA6AFXZ7BRPCG6TRMF\" secret:\"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\" ssl:true}} fmopUser:{userId:\"651e55f566e0a133108e8971\" companyId:\"648e9533b0d2813fa4f5d0a8\" phoneNumbers:\"84921052410\"} statuses:{identifier:\"lxp.sep@icloud.com\"} statuses:{identifier:\"lxp.sep@icloud.com\"}}","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:41:36Z"}
{"env":"DEV","level":"info","msg":"Got a request to update message statistics from agent accountName:\"prod-agent-040\" messageStatistics:{key:\"Archived\" value:201}","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:41:36Z"}
{"env":"DEV","level":"info","msg":"[RegisterAgent] Register agent of agent macAccount:\"prod-agent-040\" appleId:\"lxp.sep@icloud.com\" port:8954 callbackService:{protocol:HTTPS host:\"public.uat.leapxpert.dev\" port:443 token:\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjb21wYW55SWQiOiI2NDhlOTUzM2IwZDI4MTNmYTRmNWQwYTgiLCJyb2xlIjoiR0FURVdBWSIsIm5hbWUiOiJvcy5pbWVzczEwIiwiY29tcGFueSI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlkIjoiNjUxZTU1ZjU2NmUwYTEzMzEwOGU4OTcxIiwiZXhwIjoxNzI5NzQ1NDM0LCJkZXZpY2VJZCI6Ijg0OTIxMDUyNDEwIiwidG9rZW4iOiIxZmVkOTdhOS02NDU3LTQxM2ItYjZmYy0yZTQ4NDllYzBiZWQifQ.cKtSmRL25inyCiDfFnPWPLPjTVCiETr23kvDcN5d9CQ\" minio:{host:\"files-public-fd.uat.leapxpert.dev\" key:\"AKIA6AFXZ7BRPCG6TRMF\" secret:\"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\" ssl:true}} fmopUser:{userId:\"651e55f566e0a133108e8971\" companyId:\"648e9533b0d2813fa4f5d0a8\" phoneNumbers:\"84921052410\"} statuses:{identifier:\"lxp.sep@icloud.com\"} statuses:{identifier:\"lxp.sep@icloud.com\"} on port 8954","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:41:36Z"}
{"env":"DEV","level":"debug","msg":"[RegisterAgent] Registered account request {prod-agent-040 1 {{\"userId\":\"651e55f566e0a133108e8971\",\"companyId\":\"648e9533b0d2813fa4f5d0a8\",\"phoneNumbers\":[\"84921052410\"]} true} {{\"protocol\":2,\"host\":\"public.uat.leapxpert.dev\",\"port\":443,\"token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjb21wYW55SWQiOiI2NDhlOTUzM2IwZDI4MTNmYTRmNWQwYTgiLCJyb2xlIjoiR0FURVdBWSIsIm5hbWUiOiJvcy5pbWVzczEwIiwiY29tcGFueSI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlkIjoiNjUxZTU1ZjU2NmUwYTEzMzEwOGU4OTcxIiwiZXhwIjoxNzI5NzQ1NDM0LCJkZXZpY2VJZCI6Ijg0OTIxMDUyNDEwIiwidG9rZW4iOiIxZmVkOTdhOS02NDU3LTQxM2ItYjZmYy0yZTQ4NDllYzBiZWQifQ.cKtSmRL25inyCiDfFnPWPLPjTVCiETr23kvDcN5d9CQ\",\"minio\":{\"host\":\"files-public-fd.uat.leapxpert.dev\",\"key\":\"AKIA6AFXZ7BRPCG6TRMF\",\"secret\":\"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\",\"ssl\":true}} true} lxp.sep@icloud.com test5-igateway.leapxpert.dev} success","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:41:36Z"}
{"env":"DEV","level":"info","msg":"Registered agent macAccount:\"prod-agent-040\" appleId:\"lxp.sep@icloud.com\" port:8954 callbackService:{protocol:HTTPS host:\"public.uat.leapxpert.dev\" port:443 token:\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjb21wYW55SWQiOiI2NDhlOTUzM2IwZDI4MTNmYTRmNWQwYTgiLCJyb2xlIjoiR0FURVdBWSIsIm5hbWUiOiJvcy5pbWVzczEwIiwiY29tcGFueSI6IjY0OGU5NTMzYjBkMjgxM2ZhNGY1ZDBhOCIsImlkIjoiNjUxZTU1ZjU2NmUwYTEzMzEwOGU4OTcxIiwiZXhwIjoxNzI5NzQ1NDM0LCJkZXZpY2VJZCI6Ijg0OTIxMDUyNDEwIiwidG9rZW4iOiIxZmVkOTdhOS02NDU3LTQxM2ItYjZmYy0yZTQ4NDllYzBiZWQifQ.cKtSmRL25inyCiDfFnPWPLPjTVCiETr23kvDcN5d9CQ\" minio:{host:\"files-public-fd.uat.leapxpert.dev\" key:\"AKIA6AFXZ7BRPCG6TRMF\" secret:\"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\" ssl:true}} fmopUser:{userId:\"651e55f566e0a133108e8971\" companyId:\"648e9533b0d2813fa4f5d0a8\" phoneNumbers:\"84921052410\"} statuses:{identifier:\"lxp.sep@icloud.com\"} statuses:{identifier:\"lxp.sep@icloud.com\"} has success","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:41:36Z"}
{"env":"DEV","level":"info","msg":"Upserting IdentifierStatus {prod-agent-040 {1699321296067 false} {0 false} lxp.sep@icloud.com lxp.sep@icloud.com CHECKED test5-igateway.leapxpert.dev {{\"userId\":\"651e55f566e0a133108e8971\",\"companyId\":\"648e9533b0d2813fa4f5d0a8\",\"phoneNumbers\":[\"84921052410\"]} true} { false}}","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:41:36Z"}
{"env":"DEV","level":"info","msg":"Upserting IdentifierStatus {prod-agent-040 {1699321296070 false} {0 false} lxp.sep@icloud.com lxp.sep@icloud.com CHECKED test5-igateway.leapxpert.dev {{\"userId\":\"651e55f566e0a133108e8971\",\"companyId\":\"648e9533b0d2813fa4f5d0a8\",\"phoneNumbers\":[\"84921052410\"]} true} { false}}","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:41:36Z"}
{"env":"DEV","level":"debug","msg":"#RegisterAgent: Responding back success:true rotationEnabled:true","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:41:36Z"}
{"env":"DEV","level":"debug","msg":"Get next account from client has resp : acc prod-agent-092 status code 3","service_name":"lxp.imessage-archiving-gateway","time":"2023-11-07T01:41:36Z"}
{