Skip to content

Not connected to Sidecar on Firefox #376

@c-w

Description

@c-w

Environment

  • yarn list | grep @spotlightjs/spotlight: @spotlightjs/spotlight@1.2.13
  • firefox --version: Mozilla Firefox 123.0
  • uname -a: Linux pop-os 6.0.12-76060012-generic

Steps to Reproduce

  1. Run sidecar via spotlight-sidecar 8969
  2. Open http://localhost:8969/ in Firefox

Expected Result

Spotlight connects to sidecar.

Actual Result

Spotlight displays "Not connected to Sidecar" and we see an error in the Javascript console:

Firefox can’t establish a connection to the server at http://localhost:8969/stream. [main-2f8fa137.js:79:22169](http://localhost:8969/assets/main-2f8fa137.js)

EventSource failed: error { target: EventSource, isTrusted: true, srcElement: EventSource, currentTarget: EventSource, eventPhase: 2, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, … }
[main-2f8fa137.js:79:22596](http://localhost:8969/assets/main-2f8fa137.js)

Note that the same steps work fine on Chrome (Version 122.0.6261.69).

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions