Skip to content

Commit d082458

Browse files
authored
update
1 parent ed71370 commit d082458

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

articles/azure-web-pubsub/howto-local-debug-event-handler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Follow [Develop with local tunnel tool](./howto-web-pubsub-tunnel-tool.md) to in
3434

3535
## Debug the event handler endpoint online
3636

37-
Sometimes you might have issue sending events to configured event handler upstream, one typical error type is related to abuse protection failure, for example, `AbuseProtectionResponseInvalidStatusCode`, `AbuseProtectionResponseMissingAllowedOrigin`, or `AbuseProtectionResponseFailed`. Such error is probably related to your upstream app server settings, for example, 403 status code might be related to your app server authentication configuration, 404 status code might caused by inconsistent event handler path configured. One way to troubleshoot such failure is to send an abuse protection request to your configured event handler URL to see if it works, for example, using `curl` command to send an abuse protection request to your event handler upstream `https://abc.web.com/eventhandler` is as below:
37+
Sometimes you might have issue sending events to configured event handler upstream, one typical error type is related to abuse protection failure, for example, `AbuseProtectionResponseInvalidStatusCode`, `AbuseProtectionResponseMissingAllowedOrigin`, or `AbuseProtectionResponseFailed`. Such error is probably related to your upstream app server settings, for example, 403 status code might be related to your app server authentication configuration, 404 status code might caused by inconsistent event handler path configured. One way to troubleshoot such failure is to send an abuse protection request to your configured event handler URL to see if it works, for example, using `curl` command to send an abuse protection request to your configured event handler URL `https://abc.web.com/eventhandler` is as below:
3838

3939
```bash
4040
curl https://abc.web.com/eventhandler -X OPTIONS -H "WebHook-Request-Origin: *" -H "ce-awpsversion: 1.0" --ssl-no-revoke -i

articles/azure-web-pubsub/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
href: howto-move-across-regions.md
129129
- name: Troubleshoot
130130
items:
131-
- name: Debug event handlers locally
131+
- name: Debug event handlers
132132
href: howto-local-debug-event-handler.md
133133
- name: Collect network trace
134134
href: howto-troubleshoot-network-trace.md

0 commit comments

Comments
 (0)