-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BS] [ERROR] Proxy address not reachable. Is your server running? #25
Comments
It's actually a new 'feature' that I added to stop me trying to proxy to VMs when they were not running yet. All that happens, is that BrowserSync makes a request for the page you're proxying at start-up time and that error is just saying at that time, it didn't return a 200 response. You can just ignore it for now, but perhaps it should be moved to 'debug' log level instead.... |
That makes sense, maybe Perhaps, may I suggest moving it to Anyway, great work on the library, unbelievably a must-have tool! Thanks! |
thanks!! & yes, agreed it should be under |
(logging is in process of huge overhaul anyway, so it'd be a good time to add it) |
Oh, good, someone else is seeing the same errant error. I too am using gulp, nodemon, and browserSync on an express app with great relish. Everything is working very well, thanks for putting BS out there. |
I found this weird ERROR message could be removed by commenting the line
|
@PiiXiieeS - as mentioned above: "It's actually a new 'feature' that I added to stop me trying to proxy to VMs when they were not running yet." granted it's sometimes incorrect (as it can lose in certain race-conditions) & that's why we'll be demoting the error to a warning in a future release. "To be honest I don't fully understand what is the control expected in this function as the Proxy connection will be initiated anyway by function createProxy(options, scripts):" - it's not there to control anything in BrowserSync, it's just a flag to say "hey, that address can't be reached right now" |
Thanks @shakyShane! I put my My |
this msg now demoted to |
Hi,
I was working on trying to get gulp + browser-sync + nodemon to play nice with an expressJS app and I finally got it working, except for one issue that I'm not sure about.
The gist for the
gulpfile.js
and related files are at https://gist.github.com/sogko/b53d33d4f3b40d3b4b2eWhen running
gulp
with the following config, I get the following errorBut browser-sync was able to launch google-chrome with the application running at http://localhost:7000/
Both injection and reload both seems to be working. (editing css would inject, editing html would reload)
How am I supposed to deal with the error message?
Thanks!
The text was updated successfully, but these errors were encountered: