Skip to content

Instantly share code, notes, and snippets.

REQUEST:
sending time: 2021-03-12 13:13:55.066005Z
query: {"reqType":"graphql","reqId":"29bc1fdb-1a10-4b73-aef3-bf32e9c8c5de","graphqlParams":{"query": "mutation { endCall(callId: \"dc870599-aa37-433f-aec4-e7044c748a2c\", channelId: \"dc870599-aa37-433f-aec4-e7044c748a2c\", recipients: []) }"},"ctx":{"processId":null,"geolocation":{"latitude":37.785834,"longitude":-122.406417,"altitude":0}}}
RESPONSE:
receiving time: 2021-03-12 13:13:55.262420Z
messages: {"message":"OK","statusCode":200,"ctx":{"workflow":"graphql","action":"query","processId":"cc375c60-8334-11eb-ad77-9ecf590417f4","actionId":"cc375c66-8334-11eb-ad77-9ecf590417f4"},"reqId":"29bc1fdb-1a10-4b73-aef3-bf32e9c8c5de","dataType":"graphql","data":{"errors":[{"message":"redigo: nil returned","path":["endCall"]}],"data":null},"host":"apisvr-766dcbd96b-mf9sv","tm":1615554835272}
--------------------------------------------------------
[log] --------------------------------------------------------
@locskot
locskot / gist:913990dcc48fe5f24e7db19f6a7709df
Created March 15, 2021 06:31
social feed doesn't containt id of goal it's related to
[log] --------------------------------------------------------
2021-03-15 06:28:35.563699Z
DURATION: 0:00:00.544938
REQUEST:
sending time: 2021-03-15 06:28:35.018045Z
query: {"reqType":"graphql","reqId":"5ae2c097-5300-40a6-8a60-e24040852895","graphqlParams":{"query": "{ goals (\n currentTimestamp: \"2021-03-15T09:28:34+03:00\",\n ,\n withFollowed: true\n ) {\n id\n ownerId\n ownerName\n category\n description\n goalStatus\n weeklyProgress\n dailyProgress\n streaks\n plannedTimesPerWeek\n plannedValueOrTimesPerDay\n plannedValueOrTimesPerDayUnit\n goalExercise {\n repeatCount\n repeatCountUnit\n lifts\n reps\n }\n followers {\n id\n name\n picture\n firstname\n lastname\n }\n totalTasks\n totalCompleted\n level\n commentsCount\n emojiCount\n hasUnreadComments\n hasUnreadEmoji\n \n }}"},"ctx":{"processId":n
2021-03-15 12:46:08.997738Z
DURATION: 0:00:00.476822
REQUEST:
sending time: 2021-03-15 12:46:08.520440Z
query: {"reqType":"graphql","reqId":"1c3da0dd-833b-44a6-bef8-093bb7700f30","graphqlParams":{"query": "{accessHistory(personId: \"dbc07730-0908-4e22-a5d0-c65a48e04f35\", patientId: \"2af85197-3972-4076-b676-09277ff042d3\")\n { accessRequest{access,date}\n accessResult{access, date, result}\n accessHistoryItems{access,start,end}\n }}"},"ctx":{"processId":null,"geolocation":{"latitude":45.04251863632563,"longitude":41.9892442466856,"altitude":512}}}
RESPONSE:
receiving time: 2021-03-15 12:46:08.997262Z
messages: {"message":"OK","statusCode":200,"ctx":{"workflow":"graphql","action":"query","processId":"6a0f4097-858c-11eb-a867-2ae46cdd17aa","actionId":"6a0f409a-858c-11eb-a867-2ae46cdd17aa"},"reqId":"1c3da0dd-833b-44a6-bef8-093bb7700f30","dataType":"graphql","data":{"data":{"accessHistory":{"accessRequest":{"access":["ehrfiles"],"date":"2021-03-15T12:02:47.925Z"},"accessResult":{"access":["ehrf
[log] --------------------------------------------------------
2021-03-16 05:45:26.525671Z
DURATION: 0:00:00.186675
REQUEST:
sending time: 2021-03-16 05:45:26.338686Z
query: {"reqType":"graphql","reqId":"67b4afb8-dac0-4a27-b4de-38a0918e5cbc","graphqlParams":{"query": " {\n goalsFollowed {\n goalId\n title\n person {\n id\n name\n picture\n firstname\n lastname\n lastseen\n online\n }\n mute\n }\n }"},"ctx":{"processId":null}}
RESPONSE:
receiving time: 2021-03-16 05:45:26.525361Z
REQUEST:
sending time: 2021-03-16 06:09:18.319899Z
query: {"reqType":"graphql","reqId":"b81b695b-1673-4da2-ad16-384d38050667","graphqlParams":{"query": "{\n socialFeed(\n from: \"2021-03-16T06:09:18.016601Z\"\n limit: 20\n goalId: \"92a15e37-f2e2-4915-85f8-2134d5e33ee4\"\n ) {\n id\n title\n description\n owner {\n id\n name\n picture\n firstname\n lastname\n lastseen\n online\n }\n feedDate\n unread\n commentCount\n emoji {\n id\n code\n person {\n id\n name\n picture\n }\n }\n referenceId\n referenceType\n \n }\n }"},"ctx":{"processId":null}}
RESPONSE:
receiving time: 2021-03-16 06:09:18.698416Z
messages: {"message":"OK","statusCode":200,"ctx":{"workflow":"graphql","action":"query","processId":"247b995d-861e-11eb-b88c-cec10b1d41f1","actionId":"247
@locskot
locskot / gist:972c974a9b46a6e4496222e458570daa
Created March 16, 2021 16:51
wrong claps counter for goal and social feed goalId = 344aa144-1f21-4d38-aabd-ce8c681bfa3d
[log] --------------------------------------------------------
2021-03-16 16:49:53.775850Z
DURATION: 0:00:00.402761
REQUEST:
sending time: 2021-03-16 16:49:53.372403Z
query: {"reqType":"graphql","reqId":"5bc574cb-7b80-4a0b-bbb0-1c60fa2368f4","graphqlParams":{"query": "{ goals (\n currentTimestamp: \"2021-03-16T19:49:53+03:00\",\n ,\n withFollowed: true\n ) {\n id\n ownerId\n ownerName\n category\n description\n goalStatus\n weeklyProgress\n dailyProgress\n streaks\n plannedTimesPerWeek\n plannedValueOrTimesPerDay\n plannedValueOrTimesPerDayUnit\n goalExercise {\n repeatCount\n repeatCountUnit\n lifts\n reps\n }\n followers {\n id\n name\n picture\n firstname\n lastname\n }\n totalTasks\n totalCompleted\n level\n commentsCount\n emojiCount\n hasUnreadComments\n hasUnreadEmoji\n \n }}"},"ctx":{"processId":n
[log] --------------------------------------------------------
2021-03-16 17:01:33.953337Z
DURATION: 0:00:00.209533
REQUEST:
sending time: 2021-03-16 17:01:33.743234Z
query: {"reqType":"graphql","reqId":"dd0596f5-c07f-4ec4-9072-49a4102d8bd7","graphqlParams":{"query": "query {\n countUnreadMessages\n \n \n \n \n }"},"ctx":{"processId":null,"geolocation":{"latitude":45.04249504823763,"longitude":41.989274883815284,"altitude":512}}}
RESPONSE:
receiving time: 2021-03-16 17:01:33.952767Z
REQUEST:
sending time: 2021-03-17 12:50:06.571844Z
query: {"reqType":"graphql","reqId":"aa94dba1-491a-4679-99fb-ff372ced5bfd","graphqlParams":{"query": "mutation { resetUnreadPushNotificationsCouter(deviceId: \"C9ED80BF-332D-4AF1-9C52-18A74A050F62\") }"},"ctx":{"processId":null,"geolocation":{"latitude":37.785834,"longitude":-122.406417,"altitude":0}}}
RESPONSE:
receiving time: 2021-03-17 12:50:07.879591Z
messages: {"message":"OK","statusCode":200,"ctx":{"workflow":"graphql","action":"query","processId":"4d362d59-871f-11eb-b235-125d93cabf7a","actionId":"4d362d5b-871f-11eb-b235-125d93cabf7a"},"reqId":"aa94dba1-491a-4679-99fb-ff372ced5bfd","dataType":"graphql","data":{"data":{"resetUnreadPushNotificationsCouter":"OK"}},"host":"apisvr-549f96d4bc-bkrxz","tm":1615985407712}
eeka {"message":"OK","statusCode":200,"ctx":{"workflow":"graphql","action":"query","processId":"4d29b93d-871f-11eb-b235-125d93cabf7a","actionId":"4d29b93f-871f-11eb-b235-125d93cabf7a"},"reqId":"70cff424-7917-4379-8994-268b78de5898","dataType"
Performing hot restart...
Syncing files to device iPhone 12...
[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
[log] --------------------------------------------------------
2021-03-17 13:07:58.580289Z
DURATION: 0:00:21.298428
REQUEST:
sending time: 2021-03-17 13:07:37.253322Z
query: {"reqType":"graphql","reqId":"6564c3ba-cd9b-4d1f-9482-f9be62fd2db4","graphqlParams":{"query": "{providers {\n person {id}\n inLifeteam\n humanName {firstName lastName prefix suffix}\n credentials {professionalTitle}\n picture\n clinics {id name}\n bio\n language {language}\n }}"},"ctx":{"processId":null,"geolocation":{"latitude":45.04248328272288,"longitude":41.989142109683,"altitude":517}}}
RESPONSE:
receiving time: 2021-03-17 13:07:58.551750Z