WAF azure websocket problem

Nasimjon Tohirov 231 Reputation points
2024-04-05T11:43:25.07+00:00

Hey everyone,

I have trouble with app-gw and WAF. The problem is that we implement a websocket and in the app-gw log comes this one:

error_info_s: ERRORINFO_UPSTREAM_TIMED_OUT

WAFMode_s: Prevention

Have another app-gw without WAF and the same config, there are no problems.

Can anyone help me?

Thanks,

Regards,

Nasimjon

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,083 questions
Azure Web Application Firewall
0 comments No comments
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 47,196 Reputation points Microsoft Employee
    2024-04-05T12:38:31.58+00:00

    @Nasimjon Tohirov ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    • May I ask how you are confirming this is an issue with WAF?
    • I see, the error info you shared is from Access Logs and not WAF Logs.
    • User's image
    • And from the description of the error, it appears this is related to the time out value configured between the App Gateway and the Backend Pool.
    • Further WAF related errors are mostly 4XX, However, I believe you would have faced a 5XX error. Can you please share the exact error code?

    As next steps,

    • Please change the WAF to Detection mode and try to replicate the issue.
    • If the same error occurs, we can confirm this is not related to WAF.
    • Can you please share the entire error message JSON from the logs?
    • Please configure the Request timeout value to match the response time from the actual backend pool.

    P.S :

    Cheers,

    Kapil

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.