I tried: Google Chrome’s DNS Prefetching: Settings > Show Advanced Settings > Privacy and disable the option Predict network actions to improve page load performance.
But there’s no change in error, I don’t think this is browser related issue o/w I wouldn’t been able to replicate in other browser (eg edge/IE).
Even though the issue has not been reported, but I have gut feeling there is some fix required in frappe v 8.0.20 to fix this issue. Multiple instances giving same error doesn’t happen that often unless there a bug.
Tried restarting PC event tried on 2 other PCs, getting same error.
Still not able to identify root cause, but tried update on one more instance from frappe 8.0.18 to 8.0.23, getting same error in browser console
Everything seems to be working fine apart from this error, so its easy to be missed out unless one happens to check the browser console, this might be the reason its not been reported.
This can also be specific to Ubuntu server, and may not be getting replicated on CentOS. I would request core team to check if they are able to replicate the error.
Yes it looks like config error, tried bench setup production & restarted nginx & supervisor. Rebooted server as well.
Even manually compared config files of other instances with new, there is no difference in there.
Surprising thing is, I have tried updating 5 different instances all has os ubuntu 14/16, current version frappe version between 7.2.xx to 8.0.19 & in all after update getting same error. But no one else has reported it.
Can you check if it can be replicated at your end on Ubuntu.
supervisor.conf already exists and this will overwrite it. Do you want to continue? [y/N]: y
Port configuration list:
Site site1.local assigned port: 80
nginx.conf already exists and this will overwrite it. Do you want to continue? [y/N]: y
INFO:bench.utils:sudo /usr/bin/supervisorctl reread
No config updates to processes
INFO:bench.utils:sudo /usr/bin/supervisorctl update
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
INFO:bench.utils:sudo service nginx reload
nc -v localhost 9000 output is Connection to localhost 9000 port [tcp/*] succeeded!
I tried fresh install of ERPNEXT on ubuntu, it doesn’t have any errors.
I copied full config folder from new install to instance where I was getting error, run bench migrate & even rebooted server, still no success. Same error is still there
frappe@erpnext:~/frappe-bench/config$ sudo nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
In /var/log/nginx/error.log compare a working instance with one that does not.
Confirm the nginx startup has no errors. Here is an example of a client connection:
(In my case the web browser client runs on 192.168.0.104 that also hosts a kvm guest 192.168.0.105 that runs erpnext.vm - )
sudo nginx -t output
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
There are repeated errors in /var/log/nginx/error.log file
You want to check earlier in the log for signs that might explain what caused the error events later in the log - log areas to inspect are server startup, web client connections and client http requests.
To raise the log level output from say INFO to NOTICE in /etc/nginx/nginx.conf edit this line:
error_log /var/log/nginx/error.log info;
then restart the service with this command:
sudo service nginx reload
Am trying to hack at it to see what i can get, looking at the error it seems that whatever the script is doing, it is ignoring the URL and just merely substituting in the protocol as the URL. furthermore the server itself does not have port 6787 open so I am also kind of curious what is it actually that file_watcher_port is pointing to.
@netchampfaris, realized that it is your PR, any ideas why it behaves this way?