Share via

Request jam

Rainer Kerner 1 Reputation point
2021-07-14T20:00:20.637+00:00

I have a strange behavior.
A client makes several requests to the server 1-2 seconds apart. It always gets a timeout. On the server I suddenly have all requests at the same time.
Example:
Client:
14:21:30 Request1 -> timeout
14:21:31 Request2 -> timeout
14:21:32 Request3 -> timeout
14:21:33 Request4 -> success

Server:
14:31:33 Request1
14:31:33 Request2
14:31:33 Request3
14:31:34 Request4

In the log there are no request on 14:21:30, ..31,..32.
Only all 4 at the same time at 14:31:33

Any idea what I should look for?

Windows development | Internet Information Services
0 comments No comments

1 answer

Sort by: Most helpful
  1. HuryShen - MSFT 321 Reputation points
    2021-07-15T01:56:03.697+00:00

    Hi @Rainer Kerner

    If we send requests when the IIS server is idle, this may happen. And when the IIS server becomes active, it will response you immediately.

    For the problem timeout, I think since the last request can response success without timeout error, it seems IIS server can work as expected. Please check the timeout value which set in client(not timeout in IIS server). If the value of timeout(in your client) is very small, it will lead to timeout error when IIS server is idle(can not response the client immediately).


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

Your answer

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