microsoftgraph / microsoftgraph/microsoft-graph-comms-samples
Bot fail to join meeting
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 253
- Forks
- 275
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 1
Description
Describe the issue
Following the HueBot sample, I am trying to answer a call to my bot. However, the bot is never able to join the call. In the log below it is possible to see that it returns a message that says: "Server Internal Error. DiagCode: 500#7112.@"
We this error message information I have no idea what is the issue and how to fix it or at least how to look for the clear issue message so I can work to fix this problem.
How can I investigate or get more info to fix this issue?
Expected behavior
It is expected that the bot will join the meeting/call
Graph SDK (please complete the following information):
- Microsoft.Graph 4.14
- Microsoft.Graph.Communications.Calls.Media 1.2.0.4161
- Microsoft.Skype.Bots.Media 1.23.0.49-alpha
Call ID
CallId: 681f6b00-f6d2-44d8-a2a2-9cb602c20233
Date 06-30-2022 11:55:20 (-6:00 MDT)
Logs
$>2022-06-30T05:55:20.3528118Z Info: CommunicationsClientExtensions.cs:156 LogAndCreateResponse
ScenarioId: b2b56e9f-9db2-49f9-b380-07ad071dc0f9
AppId: 92d4ffdc-07f5-4e87-86c3-492d316d2c4e
AppName: GoMe.ai Bot
TransactionDirection: Incoming
TraceType: HttpRequest
request: POST http://507d-2601-680-c000-3d80-a148-4fdb-4415-6fbe.ngrok.io/api/calls
headers:
Accept: application/json
Accept-Encoding: (redacted)
Authorization: (redacted)
Host: 507d-2601-680-c000-3d80-a148-4fdb-4415-6fbe.ngrok.io
User-Agent: Microsoft-Skype/3.0,(Calling/1.0)
Ms-Teams-Partition: (redacted)
Ms-Teams-Region: (redacted)
Ms-Teams-Ring: (redacted)
X-Forwarded-For: (redacted)
X-Forwarded-Proto: https
X-Microsoft-Skype-Caller-Region: amer
X-Microsoft-Skype-Chain-Id: b2b56e9f-9db2-49f9-b380-07ad071dc0f9
X-Microsoft-Skype-Message-Id: 97415038-ef12-458f-a8a2-3d3a0ae92e8e
{
"@odata.type": "#microsoft.graph.commsNotifications",
"value": [
{
"@odata.type": "#microsoft.graph.commsNotification",
"changeType": "Created",
"resourceUrl": "/communications/calls/681f6b00-f6d2-44d8-a2a2-9cb602c20233",
"resource": "/app/calls/681f6b00-f6d2-44d8-a2a2-9cb602c20233",
"resourceData": {
"@odata.type": "#microsoft.graph.call",
"callbackUri": "https://507d-2601-680-c000-3d80-a148-4fdb-4415-6fbe.ngrok.io/api/calls",
"callChainId": "b2b56e9f-9db2-49f9-b380-07ad071dc0f9",
"direction": "Incoming",
"incomingContext": {
"@odata.type": "#microsoft.graph.incomingContext",
"sourceParticipantId": "d32583ac-45df-4ec2-9166-35359d4cc05b"
},
"myParticipantId": "691dd46d-140a-44fa-9cdb-418aa85e8bb4",
"source": {
"@odata.type": "#microsoft.graph.participantInfo",
"endpointType": "Default",
"identity": {
"@odata.type": "#microsoft.graph.identitySet",
"user": {
"@odata.type": "#microsoft.graph.identity",
"id": "3f103915-b9a1-420b-8f53-935e99910d13",
"tenantId": "81e050d3-6a15-408a-b87f-66c1309d438c"
}
},
"languageId": "en-us",
"region": "amer",
"id": "d32583ac-45df-4ec2-9166-35359d4cc05b"
},
"state": "Incoming",
"targets": [
{
"@odata.type": "#microsoft.graph.invitationParticipantInfo",
"identity": {
"@odata.type": "#microsoft.graph.identitySet",
"application": {
"@odata.type": "#microsoft.graph.identity",
"id": "92d4ffdc-07f5-4e87-86c3-492d316d2c4e"
}
},
"endpointType": "(Generic: N53JKYw4)",
"id": "691dd46d-140a-44fa-9cdb-418aa85e8bb4",
"region": "",
"languageId": ""
}
],
"tenantId": "81e050d3-6a15-408a-b87f-66c1309d438c",
"id": "681f6b00-f6d2-44d8-a2a2-9cb602c20233",
"mediaHostedRegion": "Unknown",
"applicationMetadata": {
"botData": {
"isMultiParty": false
}
}
}
}
]
}
$>2022-06-30T05:55:20.3684276Z Info: CommunicationsClientExtensions.cs:158 LogAndCreateResponse
ScenarioId: b2b56e9f-9db2-49f9-b380-07ad071dc0f9
AppId: 92d4ffdc-07f5-4e87-86c3-492d316d2c4e
AppName: GoMe.ai Bot
TransactionDirection: Incoming
TraceType: HttpResponse
ResponseTime: 3671
request: POST http://507d-2601-680-c000-3d80-a148-4fdb-4415-6fbe.ngrok.io/api/calls
response: 202 Accepted
headers:
Client-Request-Id: 97415038-ef12-458f-a8a2-3d3a0ae92e8e
Scenario-Id: b2b56e9f-9db2-49f9-b380-07ad071dc0f9
'CINolaTeamsBot.exe' (CLR v4.0.30319: CINolaTeamsBot.exe): Loaded 'C:\SfDevCluster\Data_App_Node_0\CINolaTeamsBotSFType_App0\CINolaTeamsBotPkg.Code.1.0.0\Microsoft.Skype.Internal.Media.H264.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
$>2022-06-30T05:55:21.3389304Z Info: GraphAuthClient.cs:108 SendHttpRequestAsync
ScenarioId: b2b56e9f-9db2-49f9-b380-07ad071dc0f9
AppId: 92d4ffdc-07f5-4e87-86c3-492d316d2c4e
AppName: GoMe.ai Bot
CallId: 681f6b00-f6d2-44d8-a2a2-9cb602c20233
TenantId: 81e050d3-6a15-408a-b87f-66c1309d438c
TransactionDirection: Outgoing
TraceType: HttpRequest
request: POST https://graph.microsoft.com/v1.0/communications/calls/681f6b00-f6d2-44d8-a2a2-9cb602c20233/microsoft.graph.answer
headers:
Scenario-Id: b2b56e9f-9db2-49f9-b380-07ad071dc0f9
Client-Request-Id: 08f6ba97-5ca1-4e9d-a363-cb4119af4011
User-Agent: GraphCommunicationsClient-GoMe.aiBot/1.2.0.4161
Authorization: (redacted)
Content-Type: application/json; charset=utf-8
{
"$id": "1",
"callbackUri": "https://507d-2601-680-c000-3d80-a148-4fdb-4415-6fbe.ngrok.io/api/calls",
"mediaConfig": {
"@odata.type": "#microsoft.graph.appHostedMediaConfig",
"blob": "{"mpUri":"net.tcp://2.tcp.ngrok.io:12038/MediaProcessor","audioRenderContexts":["0a3b66af-4e59-46e8-94b1-384802bddcc0"],"videoRenderContexts":["79cb47bb-52df-42b5-b590-cb4888063378"],"audioSourceContexts":[null],"videoSourceContexts":["07717772-89bd-45ad-b00f-cca56ecd0863"],"dataRenderContexts":null,"dataSourceContexts":null,"supportedAudioFormat":"Pcm16K","videoSinkEncodingFormats":["Yuv"],"mpMediaSessionId":"1abf343e-6e08-4490-95a5-615b34763b6a","regionAffinity":null,"skypeMediaBotsVersion":"1.23.0.0049","mediaStackVersion":"2022.10.1.1","mpVersion":"7.2.1.6235","callId":"681f6b00-f6d2-44d8-a2a2-9cb602c20233"}"
},
"acceptedModalities": [
"Audio",
"Video"
],
"participantCapacity": 0
}
$>2022-06-30T05:55:22.1483230Z Info: GraphAuthClient.cs:161 SendHttpRequestAsync
ScenarioId: b2b56e9f-9db2-49f9-b380-07ad071dc0f9
AppId: 92d4ffdc-07f5-4e87-86c3-492d316d2c4e
AppName: GoMe.ai Bot
CallId: 681f6b00-f6d2-44d8-a2a2-9cb602c20233
TenantId: 81e050d3-6a15-408a-b87f-66c1309d438c
TransactionDirection: Outgoing
TraceType: HttpResponse
ResponseTime: 794
request: POST https://graph.microsoft.com/v1.0/communications/calls/681f6b00-f6d2-44d8-a2a2-9cb602c20233/microsoft.graph.answer
response: 202 Accepted
headers:
Strict-Transport-Security: max-age=31536000
request-id: 292c9cda-8179-4c27-833e-064521135fa3
client-request-id: 08f6ba97-5ca1-4e9d-a363-cb4119af4011
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"West US","Slice":"E","Ring":"4","ScaleUnit":"002","RoleInstance":"BY3PEPF00015E00"}}
scenario-id: b2b56e9f-9db2-49f9-b380-07ad071dc0f9
Date: Thu, 30 Jun 2022 05:55:23 GMT
Content-Length: 0
$>2022-06-30T05:55:22.4048162Z Info: CommunicationsClientExtensions.cs:156 LogAndCreateResponse
ScenarioId: b2b56e9f-9db2-49f9-b380-07ad071dc0f9
AppId: 92d4ffdc-07f5-4e87-86c3-492d316d2c4e
AppName: GoMe.ai Bot
TransactionDirection: Incoming
TraceType: HttpRequest
request: POST http://507d-2601-680-c000-3d80-a148-4fdb-4415-6fbe.ngrok.io/api/calls
headers:
Accept: application/json
Accept-Encoding: (redacted)
Authorization: (redacted)
Host: 507d-2601-680-c000-3d80-a148-4fdb-4415-6fbe.ngrok.io
User-Agent: Microsoft-Skype/3.0,(Calling/1.0)
Ms-Teams-Partition: (redacted)
Ms-Teams-Region: (redacted)
Ms-Teams-Ring: (redacted)
Scenario-Id: b2b56e9f-9db2-49f9-b380-07ad071dc0f9
X-Forwarded-For: (redacted)
X-Forwarded-Proto: https
X-Microsoft-Skype-Chain-Id: b2b56e9f-9db2-49f9-b380-07ad071dc0f9
X-Microsoft-Skype-Message-Id: e0dbafd5-c2c3-472a-8324-c8b9b1b64b96
{
"@odata.type": "#microsoft.graph.commsNotifications",
"value": [
{
"@odata.type": "#microsoft.graph.commsNotification",
"changeType": "Updated",
"resourceUrl": "/communications/calls/681f6b00-f6d2-44d8-a2a2-9cb602c20233",
"resource": "/app/calls/681f6b00-f6d2-44d8-a2a2-9cb602c20233",
"resourceData": {
"@odata.type": "#microsoft.graph.call",
"callChainId": "b2b56e9f-9db2-49f9-b380-07ad071dc0f9",
"state": "Establishing",
"tenantId": "81e050d3-6a15-408a-b87f-66c1309d438c"
}
}
]
}
$>2022-06-30T05:55:22.4067691Z Info: CommunicationsClientExtensions.cs:158 LogAndCreateResponse
ScenarioId: b2b56e9f-9db2-49f9-b380-07ad071dc0f9
AppId: 92d4ffdc-07f5-4e87-86c3-492d316d2c4e
AppName: GoMe.ai Bot
TransactionDirection: Incoming
TraceType: HttpResponse
ResponseTime: 9
request: POST http://507d-2601-680-c000-3d80-a148-4fdb-4415-6fbe.ngrok.io/api/calls
response: 202 Accepted
headers:
Client-Request-Id: e0dbafd5-c2c3-472a-8324-c8b9b1b64b96
Scenario-Id: b2b56e9f-9db2-49f9-b380-07ad071dc0f9
$>2022-06-30T05:55:25.0611758Z Info: CommunicationsClientExtensions.cs:156 LogAndCreateResponse
ScenarioId: b2b56e9f-9db2-49f9-b380-07ad071dc0f9
AppId: 92d4ffdc-07f5-4e87-86c3-492d316d2c4e
AppName: GoMe.ai Bot
TransactionDirection: Incoming
TraceType: HttpRequest
request: POST http://507d-2601-680-c000-3d80-a148-4fdb-4415-6fbe.ngrok.io/api/calls
headers:
Accept: application/json
Accept-Encoding: (redacted)
Authorization: (redacted)
Host: 507d-2601-680-c000-3d80-a148-4fdb-4415-6fbe.ngrok.io
User-Agent: Microsoft-Skype/3.0,(Calling/1.0)
Ms-Teams-Partition: (redacted)
Ms-Teams-Region: (redacted)
Ms-Teams-Ring: (redacted)
Scenario-Id: b2b56e9f-9db2-49f9-b380-07ad071dc0f9
X-Forwarded-For: (redacted)
X-Forwarded-Proto: https
X-Microsoft-Skype-Chain-Id: b2b56e9f-9db2-49f9-b380-07ad071dc0f9
X-Microsoft-Skype-Message-Id: 2d76cc46-d931-4c5d-a7b4-4b20958e9423
X-Microsoft-Skype-Original-Message-Id: 83e81a79-4627-4a44-b6e8-64eea6802233
{
"@odata.type": "#microsoft.graph.commsNotifications",
"value": [
{
"@odata.type": "#microsoft.graph.commsNotification",
"changeType": "Deleted",
"resourceUrl": "/communications/calls/681f6b00-f6d2-44d8-a2a2-9cb602c20233",
"resource": "/app/calls/681f6b00-f6d2-44d8-a2a2-9cb602c20233",
"resourceData": {
"@odata.type": "#microsoft.graph.call",
"callbackUri": "https://507d-2601-680-c000-3d80-a148-4fdb-4415-6fbe.ngrok.io/api/calls",
"callChainId": "b2b56e9f-9db2-49f9-b380-07ad071dc0f9",
"direction": "Incoming",
"incomingContext": {
"@odata.type": "#microsoft.graph.incomingContext",
"sourceParticipantId": "d32583ac-45df-4ec2-9166-35359d4cc05b"
},
"mediaConfig": {
"@odata.type": "#microsoft.graph.appHostedMediaConfig",
"blob": "{"mpUri":"net.tcp://2.tcp.ngrok.io:12038/MediaProcessor","audioRenderContexts":["0a3b66af-4e59-46e8-94b1-384802bddcc0"],"videoRenderContexts":["79cb47bb-52df-42b5-b590-cb4888063378"],"audioSourceContexts":[null],"videoSourceContexts":["07717772-89bd-45ad-b00f-cca56ecd0863"],"dataRenderContexts":null,"dataSourceContexts":null,"supportedAudioFormat":"Pcm16K","videoSinkEncodingFormats":["Yuv"],"mpMediaSessionId":"1abf343e-6e08-4490-95a5-615b34763b6a","regionAffinity":null,"skypeMediaBotsVersion":"1.23.0.0049","mediaStackVersion":"2022.10.1.1","mpVersion":"7.2.1.6235","callId":"681f6b00-f6d2-44d8-a2a2-9cb602c20233"}"
},
"myParticipantId": "691dd46d-140a-44fa-9cdb-418aa85e8bb4",
"resultInfo": {
"@odata.type": "#microsoft.graph.resultInfo",
"code": 500,
"message": "Server Internal Error. DiagCode: 500#7112.@",
"subcode": 7112
},
"source": {
"@odata.type": "#microsoft.graph.participantInfo",
"endpointType": "Default",
"identity": {
"@odata.type": "#microsoft.graph.identitySet",
"user": {
"@odata.type": "#microsoft.graph.identity",
"id": "3f103915-b9a1-420b-8f53-935e99910d13",
"tenantId": "81e050d3-6a15-408a-b87f-66c1309d438c"
}
},
"languageId": "en-us",
"region": "amer",
"id": "d32583ac-45df-4ec2-9166-35359d4cc05b"
},
"state": "Terminated",
"targets": [
{
"@odata.type": "#microsoft.graph.invitationParticipantInfo",
"identity": {
"@odata.type": "#microsoft.graph.identitySet",
"application": {
"@odata.type": "#microsoft.graph.identity",
"id": "92d4ffdc-07f5-4e87-86c3-492d316d2c4e"
}
},
"endpointType": "(Generic: N53JKYw4)",
"id": "691dd46d-140a-44fa-9cdb-418aa85e8bb4",
"region": "",
"languageId": ""
}
],
"tenantId": "81e050d3-6a15-408a-b87f-66c1309d438c",
"id": "681f6b00-f6d2-44d8-a2a2-9cb602c20233",
"terminationReason": "(Generic: SY/PAjwV)",
"mediaHostedRegion": "Unknown",
"applicationMetadata": {
"botData": {
"isMultiParty": false
}
}
}
}
]
}
$>2022-06-30T05:55:25.0641022Z Info: CommunicationsClientExtensions.cs:158 LogAndCreateResponse
ScenarioId: b2b56e9f-9db2-49f9-b380-07ad071dc0f9
AppId: 92d4ffdc-07f5-4e87-86c3-492d316d2c4e
AppName: GoMe.ai Bot
TransactionDirection: Incoming
TraceType: HttpResponse
ResponseTime: 65
request: POST http://507d-2601-680-c000-3d80-a148-4fdb-4415-6fbe.ngrok.io/api/calls
response: 202 Accepted
headers:
Client-Request-Id: 2d76cc46-d931-4c5d-a7b4-4b20958e9423
Scenario-Id: b2b56e9f-9db2-49f9-b380-07ad071dc0f9
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the HueBot sample's /api/calls callback and the answer request logged by GraphAuthClient.cs; compare its appHostedMediaConfig with the sample and inspect CommunicationsClientExtensions.cs for the subsequent Deleted notification. Done means reproducing the failure, identifying why the call is deleted after answer, and recording a specific diagnostic or fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, audio-video-rtc, backend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100