Firefox Websocket/connection issue

未关闭
#407 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
领域
cli, devtools

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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)

主要语言
TypeScript
星标
19
派生
19
平均合并
3 天 12 小时
30 天内合并 PR
2

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

salesforcecli/plugin-lightning-dev 的其他 Issue

查看 salesforcecli/plugin-lightning-dev 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。