Skip to content

v4 fails to import https resources on macOS, works in v3 #3693

Closed
@joeyparrish

Description

@joeyparrish

To reproduce:

@import (css, inline) "https://fonts.googleapis.com/css?family=Roboto";

Current behavior:
Fails with ECONNRESET on macOS with less v4.1.2, but succeeds with less v3.13.1. Doesn't fail on Linux or Windows. Reproducible in GitHub Actions as well as on our private mac hardware.

Expected behavior:
Should be able to fetch https resources equally on all platforms.

Environment information:

  • less version: 4.1.2, but not 3.13.1
  • nodejs version: 17.5.0
  • operating system: macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions