Unable to open links - ajax error in console “unable to handle failed response”

When i try to open links some ajax requests fails and there is error in console “unable to handle failed response” . The actual ajax request just loads login page html.