Skip to content

net::ERR_INSECURE_RESPONSE errors #7221

Closed

Description

@steverandy
  • Electron version: 1.4.0
  • Operating system: OS X 10.11.6

After updating to electron v1.4.0, I noticed getting a lot of ERR_INSECURE_RESPONSE from the requests in a webview.
I have tried the same website (http://www.bloomberg.com/) on electron v.1.3.6 and not getting any error.

screen shot 2016-09-16 at 4 32 28 pm

Activity

  1. deepak1556 commented on Sep 16, 2016

    @deepak1556
    Member

    net-log trace shows connection failed with ERR_CERTIFICATE_TRANSPARENCY_REQUIRED. Need to fix our certificate transparency verifier implementation.

  2. self-assigned this
    on Sep 17, 2016
  3. sleevi commented on Sep 17, 2016

    @sleevi

    @deepak1556 See electron-archive/brightray#248 for the root cause and fix

  4. removed their assignment
    on Sep 17, 2016
  5. azer commented on Sep 21, 2016

    @azer

    I'm getting same error for flickr

  6. self-assigned this
    on Sep 21, 2016
  7. kevinsawicki commented on Sep 22, 2016

    @kevinsawicki
    Contributor

    The fix for this issue was released in 1.4.1, huge thanks to @sleevi for all the details on the underlying issue and needed changes.

  8. mccxiv commented on Dec 2, 2016

    @mccxiv

    So, this is suddenly happening on 1.4.2 to all users of my app. No code was changed, I have no idea how to debug this.

    Console:

    Network tab:

    Network tab details:

    Sample links that cause this error (work fine in chrome):
    https://static-cdn.jtvnw.net/badges/v1/3267646d-33f0-4b17-b3df-f923a41db1d0/1
    https://www.twitch.tv/bits/config.json

    Any workaround or steps I can do to investigate further?

  9. sleevi commented on Dec 2, 2016

    @sleevi

    This was mentioned in electron-archive/brightray#248

    If you want to support CT with Chromium's policy, use net::ct::CreateLogVerifiersForKnownLogs(). However, you should only do so with a reasonable update schedule in place; the set of known logs will grow and change over time, and an outdated Electron/Brightray may result in certificates accepted by Chrome being rejected.

    It's likely that your application has not been updated within 10 weeks, which is what Chromium defines as 'outdated', and as a result, certificates accepted by Chrome are being rejected by your app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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