Skip to content

@redux-devtools/cli doesn't run on HTTPS after upgrade to 2.0.0 #1401

@GeneZharov

Description

@GeneZharov

Previously, I used version @redux-devtools/[email protected] and it worked fine.

I generated a local SSL certificate using mkcert:

mkcert \
  -cert-file local-cert.pem \
  -key-file local-key.pem \
  localhost 127.0.0.1 ::1

Then I run the Redux DevTools server using this command:

$ redux-devtools --hostname=localhost --port=8080 --protocol=https --key=local-key.pem --cert=local-cert.pem

[ReduxDevTools] Start server...
--------------------------------------------------------------------------------

   [Busy] Launching SocketCluster
   [Active] SocketCluster started
            Version: 14.4.2
            Environment: dev
            WebSocket engine: ws
            Port: 8080
            Master PID: 3833
            Worker count: 1
            Broker count: 1

   [Done] Migrations are finished

Then I open https://localhost:8080 and I see my Redux DevTools there.

But after I upgraded to @redux-devtools/[email protected] the output changed to this:

$ redux-devtools --hostname=localhost --port=8080 --protocol=https --key=local-key.pem --cert=local-cert.pem

[ReduxDevTools] Start server...
--------------------------------------------------------------------------------

   [Done] Migrations are finished

And although there are no errors in the output if I open https://localhost:8080 the webpage is not opened and instead I see an error from Chrome:

This site can’t provide a secure connection
localhost sent an invalid response.
ERR_SSL_PROTOCOL_ERROR

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