'javascript canceled request after 50 seconds

Describing of context: java app (running under wildfly) works under high workload and heap is almost filled. Because of that full GC runs often and this leads to frequent long Stop The World phases.

While these phases I try to make login request. So, if I make this request via front-end side (I just open login page, fill fields and click login button) I see this: enter image description here

It is interesting that I get canceled request ALWAYS after 50 seconds and front-end even canot make tcp handhaske.

But if I make the same direct request just using console devtools of chrome (alternative is using postman, for example), I see this: enter image description here

In that case browser establish tcp handshake, send reqiest and wait 2,6 mint for first byte from the server etc,.

Why I see that difference behavioral ? What is root cause of that ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source