Skip to content

ERR_HTTP2_HEADER_SINGLE_VALUE & Certificate signed by unknown authority #111

@dmzebrov

Description

@dmzebrov

First of all, thank you for a great job! Keep it up!

Now to the problem. I'm trying to make a request to street-beat.ru, but I get this two errors:

Error 1
2020-12-23T10:27:10.171Z ERROR [node_modules/@secret-agent/core/index] UnhandledErrorOrRejection { clientError: 'TypeError [ERR_HTTP2_HEADER_SINGLE_VALUE]: Header field "x-content-type-options" must only have a single value', context: {} }

Error 2
2020-12-22T19:48:44.558Z ERROR [node_modules/@secret-agent/mitm/handlers/HttpRequestHandler] MitmHttpRequest.ProxyToServer.RequestHandlerError { request: 'GET: https://cdn1.imshop.io/assets/app/b2.min.css', error: 'Error: 2020/12/22 23:48:44 Error on tls handshake with 91.209.77.149:45785. Args main.ConnectArgs{Host:"92.223.124.254", Port:"443", IsSsl:true, Servername:"cdn1.imshop.io", RejectUnauthorized:true, ProxyUrl:"", ClientHelloId:"Chrome83", TcpTtl:0, TcpWindowSize:0, Debug:false}, tlsConn.Handshake error: x509: certificate signed by unknown authority', context: {} }

In Replay window page seems like fully loaded, but neither waitForAllContentLoaded nor waitForElement methods are not triggered...

The errors occurs with and without proxy, I am using example code from Usage Example section.
Secret-Agent v1.2.0-alpha.4, nodeJS v14.15.1, macOS Big Sur 11.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions