Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #6720
Closed
Open
Issue created Mar 26, 2019 by Administrator@rootContributor

Hot module reloading with proxy not working in Firefox but works in Chrome

Created by: andygock

Hi,

When developing using create-react-app in Firefox 66.0.1, hot module reloading isn't working, and I get this error in console when using npm run start:

The connection to ws://localhost:3000/sockjs-node/800/q2e1i5qh/websocket was interrupted while the page was loading. websocket.js:7

This doesn't happen in Chrome, and HMR works there as expected. I didn't have problems in the past with Firefox, I'm not sure if it's triggered by a Firefox update, or new versions of react-scripts. It may even be specific to my app.

I'm using react-scripts versions 2.1.8

Does anyone know what would cause this, and how I could get HMR working again? I'm not really sure where to look.

Thanks

Assignee
Assign to
Time tracking