-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Our HAR files don't load in the Chrome dev tools #45
Comments
Looks like the problem is in For us, this currently always looks like this: {
"pages": [
{
"pageTimings": {}
}
]
} Whereas Chrome actually fills it: {
"pages": [
{
"startedDateTime": "2024-05-14T05:58:18.075Z",
"id": "page_1",
"title": "https://spiegel.de/",
"pageTimings": {
"onContentLoad": 1034.15900003165,
"onLoad": 1035.6270000338554
}
}
]
} The problem appears to be the missing {
"pages": [
{
"startedDateTime": "2024-05-14T05:58:18.075Z",
"pageTimings": {}
}
],
} |
This was fixed in mitmproxy 10 (we depend on v9): mitmproxy/mitmproxy#5814 Indeed, with just an empty |
Since mitmproxy 10.1 brings native HAR export anyway, I guess it makes most sense to defer this issue to #36. |
I've changed my mind. This is quite an unfortunate problem and I would really rather not keep producing incorrect HAR files. While I do indeed not have the time to properly test upgrading to a new mitmproxy version right now, this is easy enough to hotfix on our end. |
While working on tweaselORG/docs.tweasel.org#7, I noticed that the HAR files we create (via mitmproxy's har_dump) don't load in Chrome.
Example HAR (renamed to
.json
, because GitHub doesn't allow.har
uploads): be.stib.mivb.mobile.har.jsonIf I try to load that in the Chrome network tab, I get:
I am running: Chromium Version 123.0.6312.122 (Official Build) snap (64-bit)
The text was updated successfully, but these errors were encountered: