Skip to content

Commit 1860115

Browse files
Merge pull request #42151 from Kishp01/patch-1
Adding more details to validation handshake section
2 parents 4b3d10c + 979cf16 commit 1860115

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/event-grid/security-authentication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ To prove endpoint ownership, echo back the validation code in the validationResp
8080
}
8181
```
8282

83-
You must return an HTTP 200 OK response status code. HTTP 202 Accepted is not recognized as a valid Event Grid subscription validation response.
83+
You must return an HTTP 200 OK response status code. HTTP 202 Accepted is not recognized as a valid Event Grid subscription validation response.The http request must complete within 30 seconds. If the operation doesn’t finish within 30 seconds then the operation will be canceled and it may be re-attempted after 5 seconds. If all the attempts fail then it will be treated as validation handshake error.
8484

85-
Or, you can manually validate the subscription by sending a GET request to the validation URL. The event subscription stays in a pending state until validated.
85+
Or, you can manually validate the subscription by sending a GET request to the validation URL. The event subscription stays in a pending state until validated.The validation Url uses port 553. If your firewall rules block port 553 then rules may need to be updated for successful manual handshake.
8686

8787
For an example of handling the subscription validation handshake, see a [C# sample](https://github.com/Azure-Samples/event-grid-dotnet-publish-consume-events/blob/master/EventGridConsumer/EventGridConsumer/Function1.cs).
8888

0 commit comments

Comments
 (0)