You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, this is more of a general issue or question.
I used v1.2.1 for about 5 months. Everything seemed to work pretty well and on top of that, it was fast. But since yesterday, it I started to receive some 401 errors coming up. Correct, creds has change. So I just switched the creds. But then, even with the new creds, only 401 errors were coming up. So i decided to upgrade axios-ntlm version. Maybe it would help me understand, or fix, or give me some clues about whats going on and surprisingly, it worked. But it worked in a different way than it was working before... so thats my issue...
To understand what was going on, I added axios interceptors to log the requests. What i see as a difference between 1.2.1 and 1.3.0 is the amount of requests axios is making to finally get up to work and the amount of time it took.
Observations
using 1.2.1, I could see like 3 requests made then I got a response.
using 1.3.0 i have like 50 requests made and often always the same request kind of in a cyclic way ... then I would finally get a response.
I also tested with postman, using the same creds and the same request. Results are, 200OK, took 3.68s to get response and it loaded 2.41mb. Good. Always the same amount of time.
Anyone can point me in any direction related to that ?
How come Ntlm is using multiple requests. I would expect 2 requests, no matter what. One to authenticate, then the one you got to make.
Thanks
The text was updated successfully, but these errors were encountered:
Hello, this is more of a general issue or question.
I used v1.2.1 for about 5 months. Everything seemed to work pretty well and on top of that, it was fast. But since yesterday, it I started to receive some 401 errors coming up. Correct, creds has change. So I just switched the creds. But then, even with the new creds, only 401 errors were coming up. So i decided to upgrade axios-ntlm version. Maybe it would help me understand, or fix, or give me some clues about whats going on and surprisingly, it worked. But it worked in a different way than it was working before... so thats my issue...
To understand what was going on, I added axios interceptors to log the requests. What i see as a difference between 1.2.1 and 1.3.0 is the amount of requests axios is making to finally get up to work and the amount of time it took.
The code i used was like that:
Observations
using 1.2.1, I could see like 3 requests made then I got a response.
using 1.3.0 i have like 50 requests made and often always the same request kind of in a cyclic way ... then I would finally get a response.
I also tested with postman, using the same creds and the same request. Results are, 200OK, took 3.68s to get response and it loaded 2.41mb. Good. Always the same amount of time.
Anyone can point me in any direction related to that ?
How come Ntlm is using multiple requests. I would expect 2 requests, no matter what. One to authenticate, then the one you got to make.
Thanks
The text was updated successfully, but these errors were encountered: