Skip to content

Proxy error: ECONNRESET while proxying https to https #141

@drudkiewicz

Description

@drudkiewicz

I'm forwarding HTTPS to HTTPS on 2 different ports. I tried saying https:true and secure:false with no luck as well. There is no breaking change stated in the changelog for those versions.

Using version 0.1.10 the following configuration works
Using any newer version is broken with Proxy error

connect: {
      options: {
        port: process.env.PORT || 9001,
        hostname: process.env.HOSTNAME || '0.0.0.0',
        livereload: 35730,
        protocol: 'https'
      },
      proxies: [
        {
          context: '/api',
          host: process.env.PROXY_HOST || '0.0.0.0',
          port: process.env.PROXY_PORT || 9000,
          ws: true
        },
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions