Git Product home page Git Product logo

Comments (3)

blakebyrnes avatar blakebyrnes commented on June 14, 2024 1

Hi @dmzebrov. Thanks for the report and feedback!

I can replicate these. I have a fix for the first one.

The second one has a workaround you can use, but I need to dig in to see why Chrome and Firefox are ok with this certificate authority, but the Go runtime (which is what makes the TLS connection) does not...

To get around Error 2, add MITM_ALLOW_INSECURE=true to your env (either via nodejs code: process.env.MITM_ALLOW_INSECURE='true'; or via cli: MITM_ALLOW_INSECURE=true node code/street-beat.ru). Please note though, this isn't an official flag, just to get you through for now!

from secret-agent.

blakebyrnes avatar blakebyrnes commented on June 14, 2024 1

Cool! The fix for error 1 will be in the next release. Should be mid-week.

I'm not actually sure I can fix Error 2 right now without patching Go. It appears to be a Mac issue they're still working through, and in particular there's a Commodo certificate authority that had a cert expire in may. No one was quite sure how to handle it. It sounds like one problem people run into is the expired authority remaining in your Mac keychain. When Go verifies the new certificate, it gets tripped up with the expired cert (at least, that's what I could make of the Go issues I was poking through).

For now, we're going to simply turn off certificate validation as the default setting. It's less valuable for scraping than when you're putting your sensitive information into a website while browsing. We'll wait for Go to resolve this internally and toggle back on. The net result is likely not noticeable for scraping.

from secret-agent.

dmzebrov avatar dmzebrov commented on June 14, 2024

That's worked, thanks for the quick response! Will fix for the Error 1 be included in the next release? I would like to help you with fixing Error 2, but I don't know Go at all, so I hope for you ☺️

from secret-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.