Firefox Websocket/connection issue

Open
#407 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
node.js, typescript
Domain
cli, devtools

Research direction

Start by reproducing the issue with @salesforce/plugin-lightning-dev@next using the default command on Firefox, then inspect the console and the WebSocket endpoint at wss://localhost:8081. Compare the Firefox connection failure and SSL_ERROR_RX_RECORD_TOO_LONG with behavior in another browser; done means live updates work without console errors.

Written by the indexing model from the issue text.

Description

Summary

Cannot connect to websockets in console and updates don't hot-reload as expected.

Steps To Reproduce:
  1. Using sf plugins install @salesforce/plugin-lightning-dev@next on v3.3..
  2. launch with default command
  3. Page loads correctly at first but live-updates dont work
  4. Check console for error messages
Expected Result

Live update works without errors.

Actual Result

Firefox can’t establish a connection to the server at wss://localhost:8081...

Additional Information

Screenshots:

Image

Logs:

https://localhost:8081 also returns SSL_ERROR_RX_RECORD_TOO_LONG

System Information

SF CLI:

zsh: sf version output:

{
  "architecture": "darwin-arm64",
  "cliVersion": "@salesforce/cli/2.88.6",
  "nodeVersion": "node-v22.15.0",
  "osVersion": "Darwin 24.5.0",
  "rootPath": "/usr/local/lib/sf",
  "shell": "zsh",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.2.28 (core)",
    "@oclif/plugin-commands 4.1.25 (core)",
    "@oclif/plugin-help 6.2.28 (core)",
    "@oclif/plugin-not-found 3.2.51 (core)",
    "@oclif/plugin-plugins 5.4.37 (core)",
    "@oclif/plugin-search 1.2.24 (core)",
    "@oclif/plugin-update 4.6.39 (core)",
    "@oclif/plugin-version 2.2.28 (core)",
    "@oclif/plugin-warn-if-update-available 3.1.39 (core)",
    "@oclif/plugin-which 3.2.35 (core)",
    "@salesforce/cli 2.88.6 (core)",
    "apex 3.6.17 (core)",
    "api 1.3.3 (core)",
    "auth 3.6.118 (core)",
    "data 4.0.30 (core)",
    "deploy-retrieve 3.22.9 (core)",
    "info 3.4.59 (core)",
    "lightning-dev 3.3.1 (user)",
    "limits 3.3.53 (core)",
    "marketplace 1.3.8 (core)",
    "org 5.7.5 (core)",
    "packaging 2.13.2 (core)",
    "schema 3.3.61 (core)",
    "settings 2.4.27 (core)",
    "sobject 1.4.55 (core)",
    "telemetry 3.6.40 (core)",
    "templates 56.3.46 (core)",
    "trust 3.7.87 (core)",
    "user 3.6.20 (core)"
  ]
}

OS:

OSX, Firefox v.138.0.3 (aarch64)

Dominant language
TypeScript
Stars
19
Forks
19
Avg merge
3d 12h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from salesforcecli/plugin-lightning-dev

All issues in salesforcecli/plugin-lightning-dev

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.