I'm having a lot of 502.3 error when my production website under high load of requests, win-sc32-status mostly is 1236 (and I find that it's difficult to understand what can cause the problem). And I've created a test environment in order to reproduce the 502.3 error (mimic high load of requests using JMeter) but the status I received from win-sc32-status mostly is 64 and 12002
So my question is:

  • how can I reproduce the 502.3 error with sc-win32-status 1236
  • what is the best describe of sc-win32-status 1236 - The network connection was aborted by the local system is kind of confuse to me (what is the local system here?, how and why it is aborted?)
  • a real life scenario where sc-win32-status 1236 can happen
  • Hi @Minh Nhật ,

    502.3 means timeout and status 1236 means network connection was aborted. I think it is very likely that this problem is caused by session loss or expiration. Requests cannot be authenticated when the session is lost, and your production environment will be under high load. This may cause the request to time out. When the data in the request is lost, especially when the session is stored in the server, it will make the server feel that the connection is not secure. Maybe it's because of this that status 1236.

    I've created a scenario that having IIS application pool recycled when it's under JMeter testing. Having 502.3 this time but with sc-win32-status code of 12002 this time. There's one thing that the testing server, I created JMeter requests call into it directly, but with the production environment, all of the requests must go through an ELB, could this be the reason why there's a difference of sc-win32-status code between testing and production environment?

    Hi @Bruce Zhang-MSFT
    Sadly that I cannot interfere with the production like that due to customer compliance, having the addition ELB in testing env will take time and cost as well.
    However, if I change the timeout of IIS server to higher number, number of issues are reduced, so can we come with a conclusion that the server cannot handle that much of requests and it's better for customer to scale up their services? (we're using cloud, but the application is built using a platform that will have license cost if we want to scale up/out, so we just want to make sure that there's no misconfiguration from IIS)

    Hi @Minh Nhật ,

    if I change the timeout of IIS server to higher number, number of issues are reduced,

    According to your test result, I think scale up services is a better choice. This can effectively improve the overall server's ability to handle a large number of requests and avoid excessive request queuing. But you can also optimize the speed and queue size of your application processing requests through code. If so, the Q&A community is not a place to offer practical advice. I think the better place is creating a support ticket .