No 401 transactions in DevTools

3,846 views
Skip to first unread message

Vadim Yakovlev

unread,
Jun 24, 2017, 10:14:00 AM6/24/17
to Google Chrome Developer Tools
I'm trying to view HTTP exchange on Network page of DevTools between Chrome and a site which requires authentication using 401 status. I see most part of the exchange, but not 401 transaction itself, yet I know it is there.

That is, out of this sequence of events:

-----TRANSACTION 1------
Request: GET without "Authorization" header
Response: 401 with "WWW-Authenticate" headers

-----TRANSACTION 2------
Request: GET with "Authorization" header
Response: 302

I see only transaction 2, but not transaction 1. Is that an expected behavior? Is there any workaround to see first transaction also?

PhistucK

unread,
Jun 25, 2017, 2:08:25 AM6/25/17
to Google Chrome Developer Tools
As a workaround, you can use chrome:net-internals#events to see pretty much everything that happens in the network stack (in a very verbose way).


You can search crbug.com for an existing issue and star it. If you cannot find one, file a new issue using the "New issue" link on the same page.
Please, do not add a "+1" or "Me too" or "Confirmed" (or similar) comment. It just wastes the time of Chrome engineers and sends unnecessary e-mails to all of the people who starred the issue.

You can reply with a link to the found or created issue and might get triaged (and fixed) faster.

Thank you.



PhistucK

--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/e911046a-dbda-46ca-b78b-21968c013cca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vadim Yakovlev

unread,
Jun 25, 2017, 3:01:37 PM6/25/17
to Google Chrome Developer Tools
Thanks for the hint with chrome:net-internals#events, I can really see there 401 transactions (in URL_REQUEST event).
Also, I didn't find a matching but on crbug.com, so I started a new one.

Lars Olav Velle

unread,
Apr 18, 2018, 4:49:33 AM4/18/18
to Chrome DevTools
Do you have a link to the issue you created? I am also struggling to find 401 requests in chrome developer tools, and would like not to have to switch to Firefox

R Redge

unread,
Apr 7, 2019, 4:12:00 AM4/7/19
to Chrome DevTools
Reply all
Reply to author
Forward
0 new messages