question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to load resource: net::ERR_CONNECTION_CLOSED

See original GitHub issue

I’am using gulp for run browser-sync.

var gulp      = require('gulp'),
    browserSync = require("browser-sync");

gulp.task('default', ['browser-sync']);

gulp.task('browser-sync', function() {
    browserSync({
        server: {
            baseDir: "./",
            directory: true
        }
    });
});

but google-chrome push in console

GET https://localhost:3000/browser-sync/socket.io/?EIO=3&transport=polling&t=1426265203441-31 net::ERR_CONNECTION_CLOSED

ver. browser-sync -> 2.2.3

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
rickyngkcommented, Sep 21, 2015

Changed socket config, and now works

socket: {
    domain: 'http://localhost:3000'
}
0reactions
rickyngkcommented, Sep 21, 2015

+1. Switch to https caused many problems in my dev environment. Anyway to use http in Chrome? Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Fix "ERR_CONNECTION_CLOSED" in Chrome (13 ...
The ERR_CONNECTION_CLOSED message is an error that you might see in Chrome when you try to access a website. It means that something's...
Read more >
How to Fix Error Connection Closed Error in Google Chrome?
One of the popular errors is connection closed error that you will see in the browser as “Err_Connection_Closed”. This generally occurs in ...
Read more >
ERR_CONNECTION_CLOSED: How to fix the connection error
Solution 1: Check internet connection and restart router if necessary · Solution 2: Reset network settings · Solution 3: Disable proxy server and ......
Read more >
Guide to Fix ERR_CONNECTION_CLOSED Error on Google ...
For example, the Google Chrome error message: ERR_CONNECTION_CLOSED is one from the wide array of Google Chrome errors, which tells you that your...
Read more >
How to Fix ERR Connection Closed Error in Chrome Browser
ERR Connection Closed Error in Chrome Browser · 1. Clear Browsing Data · 2. Disable Proxy Server · 3. Flush DNS and Reset...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found