Closed phoenixxie0 closed 4 years ago
Close and reopen your browser tab or clear your local session storage.
@jow- I have done. But nothing change. I try to login with another Computer or Phone. It still show this message.
@jow- it is the same issue in my test, it may nginx need some adaption?
No idea about nginx, sorry
@Ansuel Can you take a look?
Can you give me Top output Also try restart rpcd
@Ansuel I have tried to restart rpcd, but it doesn't work, and it still show this message: "Error No related RPC reply" on the top of page.
Can you give me the request and the response from the browser? (Open Dev console, go to network and give me the request and response of any /ubus/ )
Il Lun 4 Nov 2019, 14:46 phoenix.xie notifications@github.com ha scritto:
@Ansuel https://github.com/Ansuel I have tried to restart rpcd, but it doesn't work, and it still show this message: "Error No related RPC reply" on the top of page.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/openwrt/luci/issues/3259?email_source=notifications&email_token=AE2ZMQTLGC4BWIBSOPGWGUDQSARSXA5CNFSM4JISPE52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC7JBJQ#issuecomment-549359782, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE2ZMQVQMIOO3VDVR23Y7QTQSARSXANCNFSM4JISPE5Q .
@Ansuel Okey. I found this from Chrome. Request URL: http://192.168.1.1/ubus/?1572877212310 Request Method: POST Status Code: 200 OK Remote Address: 192.168.1.1:80 Referrer Policy: no-referrer-when-downgrade
Response is: {"jsonrpc":"2.0","id":null,"error":{"code":-32002,"message":"Access denied"}}
And the error-log with nginx is "Request generated error: Access denied, client: 192.168.1.100, server: localhost, request: "POST /ubus/?1572877212310 HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cgi-bin/luci/""
Right click on that.... Copy link an select curl bash and post here
curl 'http://192.168.1.1/ubus/?1572909239114' -H 'Connection: keep-alive' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' -H 'Origin: http://192.168.1.1' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36' -H 'DNT: 1' -H 'Content-Type: application/json' -H 'Accept: /' -H 'Referer: http://192.168.1.1/cgi-bin/luci/' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-US;q=0.7' --data-binary '[{"jsonrpc":"2.0","id":1,"method":"call","params":["00000000000000000000000000000000","luci","getFeatures",{}]}]' --compressed --insecure
on my side it does work as it should... may i know your system and nginx version from opkg?
also your image is built by yourself or from openwrt?
nginx 1.16.1-4
nginx-mod-luci 1.16.1-4
luci-nginx git-19.308.21829-2ff7d24-1
But the build config for the openwrt is too long to commit, because there is only 65535 that can commit
I have send an email to you, and it has a ".config" file.
on my side it does work as it should... may i know your system and nginx version from opkg?
also your image is built by yourself or from openwrt?
This issue is caused by jow's modification of luci recently, there are many changes of luci. If you build openwrt with all latest version, then you can reproduce this issue.
Ok I will update my image and I will test
Il Mar 5 Nov 2019, 10:26 panda-mute notifications@github.com ha scritto:
on my side it does work as it should... may i know your system and nginx version from opkg?
also your image is built by yourself or from openwrt?
This issue is caused by jow's modification of luci recently, there are many changes of luci. If you build openwrt with all latest version, then you can reproduce this issue.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/openwrt/luci/issues/3259?email_source=notifications&email_token=AE2ZMQQLHSIGHZTJ4A46KL3QSE343A5CNFSM4JISPE52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDCFKSQ#issuecomment-549737802, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE2ZMQRHWPUEWUHLGSYGQHLQSE343ANCNFSM4JISPE5Q .
tested with latest commits and it does work well... We wait for other issue like this but for now i can't replicate this...
same for me... luci.js:100 - this is where it points to
in my test this is related to your webserver's permisson. running nginx as nobody:nogroup will reproduce this problem. in before, use nobody:nogroup is okay but now dont. I think there's no special reason to run nginx as nobody, it still can operate uwsgi and that uwsgi must run as root. so that maynot improve your security.
Didn't think about this... I don't think there is a way to solve this Am I wrong?
Il Ven 8 Nov 2019, 00:44 EXSERENS notifications@github.com ha scritto:
in my test this is related to your webserver's permisson. running nginx as nobody:nogroup will reproduce this problem. in before, use nobody:nogroup is okay but now dont. I think there's no special reason to run nginx as nobody, it still can operate uwsgi and that uwsgi must run as root. so that maynot improve your security.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/openwrt/luci/issues/3259?email_source=notifications&email_token=AE2ZMQU24XOMGCYAWEDCCZ3QSSR53A5CNFSM4JISPE52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDOHDIY#issuecomment-551317923, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE2ZMQW5Q2LP7LTTJAUCI43QSSR53ANCNFSM4JISPE5Q .
Didn't think about this... I don't think there is a way to solve this Am I wrong? Il Ven 8 Nov 2019, 00:44 EXSERENS notifications@github.com ha scritto: … in my test this is related to your webserver's permisson. running nginx as nobody:nogroup will reproduce this problem. in before, use nobody:nogroup is okay but now dont. I think there's no special reason to run nginx as nobody, it still can operate uwsgi and that uwsgi must run as root. so that maynot improve your security. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#3259?email_source=notifications&email_token=AE2ZMQU24XOMGCYAWEDCCZ3QSSR53A5CNFSM4JISPE52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDOHDIY#issuecomment-551317923>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE2ZMQW5Q2LP7LTTJAUCI43QSSR53ANCNFSM4JISPE5Q .
if uhttpd also run as root, it maybe no need to fix. or it can be solve by add permisson? like allow www-data operate uwsgi. (i think it related to uwsgi, but not sure)
No with ubus module nginx communicate directly with ubus and as it doesn't have permissions everything fails
Il Ven 8 Nov 2019, 02:15 EXSERENS notifications@github.com ha scritto:
Didn't think about this... I don't think there is a way to solve this Am I wrong? Il Ven 8 Nov 2019, 00:44 EXSERENS notifications@github.com ha scritto: … <#m_5332827795045543306m-5237375925249838589_> in my test this is related to your webserver's permisson. running nginx as nobody:nogroup will reproduce this problem. in before, use nobody:nogroup is okay but now dont. I think there's no special reason to run nginx as nobody, it still can operate uwsgi and that uwsgi must run as root. so that maynot improve your security. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#3259 https://github.com/openwrt/luci/issues/3259?email_source=notifications&email_token=AE2ZMQU24XOMGCYAWEDCCZ3QSSR53A5CNFSM4JISPE52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDOHDIY#issuecomment-551317923>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE2ZMQW5Q2LP7LTTJAUCI43QSSR53ANCNFSM4JISPE5Q .
if uhttpd also run as root, it maybe no need to fix. or it can be solve by add permisson? like allow www-data operate uwsgi. (i think it related to uwsgi, but not sure)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/openwrt/luci/issues/3259?email_source=notifications&email_token=AE2ZMQWZ4AUZF57QVWELO73QSS4TFA5CNFSM4JISPE52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDOMOKI#issuecomment-551339817, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE2ZMQTVXVXVOBSVELDJK4TQSS4TFANCNFSM4JISPE5Q .
I got the same error, update to branch master or openwnrt-19.07. Tested on raspi3 B+, by using nginx as web server.
Can someone test with latest commit? There was a problem with list method
No luck, I still met the same issue with your nginx ubus module fix.
Can someone test with latest commit? There was a problem with list method
tested now - seems to work ok for me. @panda-mute do you have any changes that might affect the server? i've got a clean build and it works ok for me. maybe we shall wait for others to test out.
I am testing it right now too. Not so good. My settings is clean (sysupgraded with -n option).
@Ykidia can you post here your nginx conf ? also the module installed on luci ?
/etc/nginx/nginx.conf :
user root;
worker_processes 4;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 0;
client_body_buffer_size 10K;
client_header_buffer_size 1k;
client_max_body_size 1G;
large_client_header_buffers 2 1k;
gzip on;
gzip_http_version 1.1;
gzip_vary on;
gzip_comp_level 1;
gzip_proxied any;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript image/svg+xml;
root /www;
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl default_server;
listen [::]:443 ssl default_server;
server_name localhost;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers "EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH:DHE+AESGCM:DHE:!RSA!aNULL:!eNULL:!LOW:!RC4:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!CAMELLIA:!SEED";
ssl_session_tickets off;
ssl_certificate /etc/nginx/nginx.cer;
ssl_certificate_key /etc/nginx/nginx.key;
location ~* .(jpg|jpeg|png|gif|ico|css|js)$ {
expires 365d;
}
include luci_uwsgi.conf;
}
include /etc/nginx/conf.d/*.conf;
}
Which module(s) are you talking about?
opkg list luci*
root@OpenWrt:~# opkg list luci* luci-app-adblock - git-19.315.33243-0731f7e-1 luci-app-aria2 - git-19.315.33243-0731f7e-1 luci-app-ddns - 2.4.9-7 luci-app-dnscrypt-proxy - git-19.315.33243-0731f7e-1 luci-app-firewall - git-19.315.33243-0731f7e-1 luci-app-hd-idle - git-19.315.33243-0731f7e-1 luci-app-https_dns_proxy - git-19.315.33243-0731f7e-5 luci-app-minidlna - git-19.315.33243-0731f7e-1 luci-app-mjpg-streamer - git-19.315.33243-0731f7e-1 luci-app-mwan3 - git-19.315.33243-0731f7e-1 luci-app-nut - git-19.315.33243-0731f7e-1 luci-app-openvpn - git-19.315.33243-0731f7e-1 luci-app-opkg - git-19.315.33243-0731f7e-1 luci-app-p910nd - git-19.315.33243-0731f7e-1 luci-app-samba4 - git-19.315.33243-0731f7e-1 luci-app-sqm - 1.4.0-2 luci-app-transmission - git-19.315.33243-0731f7e-1 luci-app-udpxy - git-19.315.33243-0731f7e-1 luci-app-upnp - git-19.315.33243-0731f7e-1 luci-app-vlmcsd - 1.0.2-1 luci-app-watchcat - git-19.315.33243-0731f7e-1 luci-app-wireguard - git-19.315.33243-0731f7e-1 luci-app-wol - git-19.315.33243-0731f7e-1 luci-base - git-19.315.33243-0731f7e-1 luci-compat - git-19.315.33243-0731f7e-1 luci-i18n-adblock-ru - git-19.315.33243-0731f7e-1 luci-i18n-adblock-uk - git-19.315.33243-0731f7e-1 luci-i18n-aria2-ru - git-19.315.33243-0731f7e-1 luci-i18n-aria2-uk - git-19.315.33243-0731f7e-1 luci-i18n-base-ru - git-19.315.33243-0731f7e-1 luci-i18n-base-uk - git-19.315.33243-0731f7e-1 luci-i18n-ddns-ru - 2.4.9-7 luci-i18n-ddns-uk - 2.4.9-7 luci-i18n-dnscrypt-proxy-ru - git-19.315.33243-0731f7e-1 luci-i18n-dnscrypt-proxy-uk - git-19.315.33243-0731f7e-1 luci-i18n-firewall-ru - git-19.315.33243-0731f7e-1 luci-i18n-firewall-uk - git-19.315.33243-0731f7e-1 luci-i18n-hd-idle-ru - git-19.315.33243-0731f7e-1 luci-i18n-hd-idle-uk - git-19.315.33243-0731f7e-1 luci-i18n-https_dns_proxy-ru - git-19.315.33243-0731f7e-5 luci-i18n-https_dns_proxy-uk - git-19.315.33243-0731f7e-5 luci-i18n-minidlna-ru - git-19.315.33243-0731f7e-1 luci-i18n-minidlna-uk - git-19.315.33243-0731f7e-1 luci-i18n-mjpg-streamer-ru - git-19.315.33243-0731f7e-1 luci-i18n-mjpg-streamer-uk - git-19.315.33243-0731f7e-1 luci-i18n-mwan3-ru - git-19.315.33243-0731f7e-1 luci-i18n-mwan3-uk - git-19.315.33243-0731f7e-1 luci-i18n-nut-ru - git-19.315.33243-0731f7e-1 luci-i18n-nut-uk - git-19.315.33243-0731f7e-1 luci-i18n-openvpn-ru - git-19.315.33243-0731f7e-1 luci-i18n-openvpn-uk - git-19.315.33243-0731f7e-1 luci-i18n-opkg-ru - git-19.315.33243-0731f7e-1 luci-i18n-opkg-uk - git-19.315.33243-0731f7e-1 luci-i18n-p910nd-ru - git-19.315.33243-0731f7e-1 luci-i18n-p910nd-uk - git-19.315.33243-0731f7e-1 luci-i18n-samba4-ru - git-19.315.33243-0731f7e-1 luci-i18n-samba4-uk - git-19.315.33243-0731f7e-1 luci-i18n-transmission-ru - git-19.315.33243-0731f7e-1 luci-i18n-transmission-uk - git-19.315.33243-0731f7e-1 luci-i18n-udpxy-ru - git-19.315.33243-0731f7e-1 luci-i18n-udpxy-uk - git-19.315.33243-0731f7e-1 luci-i18n-upnp-ru - git-19.315.33243-0731f7e-1 luci-i18n-upnp-uk - git-19.315.33243-0731f7e-1 luci-i18n-watchcat-ru - git-19.315.33243-0731f7e-1 luci-i18n-watchcat-uk - git-19.315.33243-0731f7e-1 luci-i18n-wireguard-ru - git-19.315.33243-0731f7e-1 luci-i18n-wireguard-uk - git-19.315.33243-0731f7e-1 luci-i18n-wol-ru - git-19.315.33243-0731f7e-1 luci-i18n-wol-uk - git-19.315.33243-0731f7e-1 luci-lib-httpprotoutils - git-19.315.33243-0731f7e-1 luci-lib-ip - git-19.315.33243-0731f7e-1 luci-lib-ipkg - git-19.315.33243-0731f7e-1 luci-lib-jsonc - git-19.315.33243-0731f7e-1 luci-lib-nixio - git-19.315.33243-0731f7e-1 luci-mod-admin-full - git-19.315.33243-0731f7e-1 luci-mod-network - git-19.315.33243-0731f7e-1 luci-mod-status - git-19.315.33243-0731f7e-1 luci-mod-system - git-19.315.33243-0731f7e-1 luci-proto-3g - git-19.315.33243-0731f7e-1 luci-proto-ipv6 - git-19.315.33243-0731f7e-1 luci-proto-ppp - git-19.315.33243-0731f7e-1 luci-proto-relay - git-19.315.33243-0731f7e-1 luci-proto-wireguard - git-19.315.33243-0731f7e-1 luci-ssl-nginx - git-19.315.33243-0731f7e-1 luci-theme-bootstrap - git-19.315.33243-0731f7e-1 luci-theme-material - git-19.315.33243-0731f7e-1 luci-theme-openwrt - git-19.315.33243-0731f7e-1
Yes, there are a lot of modules, but there were no problems before (at least with default settings)...
can you test me if network -> interface works ?
Yes, this page is works, but...
I can post full build (sysupgrade binary) if necessary.
will update to latest commit and retest just can you give me the request url ( inspect element, tab network, right click on the request with ?41937192 (random numbers) and select curl bash )
System => System :
curl 'https://ykidia.MYDOMAIN:MYPORT/ubus/?1573522136061' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-origin' -H 'Origin: https://ykidia.MYDOMAIN:MYPORT' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 OPR/64.0.3417.92' -H 'Content-Type: application/json' -H 'Accept: */*' -H 'Referer: https://ykidia.MYDOMAIN:MYPORT/cgi-bin/luci/admin/system/system' -H 'Connection: keep-alive' --data-binary '[{"jsonrpc":"2.0","id":1,"method":"call","params":["23b888e8788f88c9e9d28b5358cd665d","luci","getFeatures",{}]},{"jsonrpc":"2.0","id":2,"method":"call","params":["23b888e8788f88c9e9d28b5358cd665d","luci","getInitList",{"name":"sysntpd"}]},{"jsonrpc":"2.0","id":3,"method":"call","params":["23b888e8788f88c9e9d28b5358cd665d","luci","getTimezones",{}]},{"jsonrpc":"2.0","id":4,"method":"call","params":["23b888e8788f88c9e9d28b5358cd665d","luci","getLocaltime",{}]},{"jsonrpc":"2.0","id":5,"method":"call","params":["23b888e8788f88c9e9d28b5358cd665d","uci","get",{"config":"luci"}]},{"jsonrpc":"2.0","id":6,"method":"call","params":["23b888e8788f88c9e9d28b5358cd665d","uci","get",{"config":"system"}]}]' --compressed --insecure
Was replaced real domain:port with MYDOMAIN:MYPORT
Network => Interfaces :
curl 'https://ykidia.MYDOMAIN:MYPORT/ubus/?1573521962542' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-origin' -H 'Origin: https://ykidia.MYDOMAIN:MYPORT' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 OPR/64.0.3417.92' -H 'Content-Type: application/json' -H 'Accept: */*' -H 'Referer: https://ykidia.MYDOMAIN:MYPORT/cgi-bin/luci/admin/network/network' -H 'Connection: keep-alive' --data-binary '[{"jsonrpc":"2.0","id":1,"method":"call","params":["23b888e8788f88c9e9d28b5358cd665d","luci","getFeatures",{}]},{"jsonrpc":"2.0","id":2,"method":"call","params":["23b888e8788f88c9e9d28b5358cd665d","network.interface","dump",{}]},{"jsonrpc":"2.0","id":3,"method":"call","params":["23b888e8788f88c9e9d28b5358cd665d","luci-rpc","getBoardJSON",{}]},{"jsonrpc":"2.0","id":4,"method":"call","params":["23b888e8788f88c9e9d28b5358cd665d","luci-rpc","getNetworkDevices",{}]},{"jsonrpc":"2.0","id":5,"method":"call","params":["23b888e8788f88c9e9d28b5358cd665d","luci-rpc","getWirelessDevices",{}]},{"jsonrpc":"2.0","id":6,"method":"call","params":["23b888e8788f88c9e9d28b5358cd665d","luci-rpc","getHostHints",{}]},{"jsonrpc":"2.0","id":7,"method":"call","params":["23b888e8788f88c9e9d28b5358cd665d","network","get_proto_handlers",{}]},{"jsonrpc":"2.0","id":8,"method":"call","params":["23b888e8788f88c9e9d28b5358cd665d","uci","get",{"config":"network"}]},{"jsonrpc":"2.0","id":9,"method":"call","params":["23b888e8788f88c9e9d28b5358cd665d","uci","get",{"config":"wireless"}]},{"jsonrpc":"2.0","id":10,"method":"call","params":["23b888e8788f88c9e9d28b5358cd665d","uci","get",{"config":"luci"}]},{"jsonrpc":"2.0","id":11,"method":"call","params":["23b888e8788f88c9e9d28b5358cd665d","uci","changes",{}]}]' --compressed --insecure
These two pages are from my home router with some non-default config (but nginx config is default, however)
Hey, the new update fix this PRC error, on raspi3 B+ Test on LuCI openwrt-19.07 branch (git-19.315.33349-ae61ecb) / OpenWrt 19.07-SNAPSHOT r10194+485-c53f62b111
root@My-Router:~# opkg list
base-files - 204-r10194+485-c53f62b111
block-mount - 2019-08-28-6a61b9ac-1
brcm2708-gpu-fw - 2018-11-29-b428bdd819df8d0ad3009b64492a4b3d1f9453e4
brcmfmac-board-rpi2 - 2018-03-12-86e88fbf0345da49555d0ec34c80b4fbae7d0cd3
brcmfmac-board-rpi3 - 2018-03-12-86e88fbf0345da49555d0ec34c80b4fbae7d0cd3
brcmfmac-firmware-43430-sdio - 20190416-1
brcmfmac-firmware-43455-sdio - 20190416-1
brcmfmac-firmware-usb - 20190416-1
busybox - 1.30.1-5
cgi-io - 14
dnsmasq-full - 2.80-14
dropbear - 2019.78-2
e2fsprogs - 1.44.5-1
firewall - 2019-09-18-383eb58f-1
fstools - 2019-08-28-6a61b9ac-1
fwtool - 2
getrandom - 2019-06-16-4df34a4d-3
hostapd-common - 2018-12-02-c2c6c01b-9
ip6tables - 1.8.3-1
iptables - 1.8.3-1
iw - 5.0.1-1
iwinfo - 2019-10-16-07315b6f-1
jansson - 2.12-1
jshn - 2019-06-16-ecf56174-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 4.14.151-1-630620374c2c7a4639c8576d70219ff7
kmod-brcmfmac - 4.14.151+4.19.79-1-1
kmod-brcmutil - 4.14.151+4.19.79-1-1
kmod-cfg80211 - 4.14.151+4.19.79-1-1
kmod-fs-vfat - 4.14.151-1
kmod-hid - 4.14.151-1
kmod-hid-generic - 4.14.151-1
kmod-input-core - 4.14.151-1
kmod-input-evdev - 4.14.151-1
kmod-ip6tables - 4.14.151-1
kmod-ipt-conntrack - 4.14.151-1
kmod-ipt-core - 4.14.151-1
kmod-ipt-ipset - 4.14.151-1
kmod-ipt-nat - 4.14.151-1
kmod-ipt-offload - 4.14.151-1
kmod-lib-crc-ccitt - 4.14.151-1
kmod-mii - 4.14.151-1
kmod-mmc - 4.14.151-1
kmod-nf-conntrack - 4.14.151-1
kmod-nf-conntrack-netlink - 4.14.151-1
kmod-nf-conntrack6 - 4.14.151-1
kmod-nf-flow - 4.14.151-1
kmod-nf-ipt - 4.14.151-1
kmod-nf-ipt6 - 4.14.151-1
kmod-nf-nat - 4.14.151-1
kmod-nf-reject - 4.14.151-1
kmod-nf-reject6 - 4.14.151-1
kmod-nfnetlink - 4.14.151-1
kmod-nls-base - 4.14.151-1
kmod-nls-cp437 - 4.14.151-1
kmod-nls-iso8859-1 - 4.14.151-1
kmod-nls-utf8 - 4.14.151-1
kmod-ppp - 4.14.151-1
kmod-pppoe - 4.14.151-1
kmod-pppox - 4.14.151-1
kmod-slhc - 4.14.151-1
kmod-sound-arm-bcm2835 - 4.14.151-1
kmod-sound-core - 4.14.151-1
kmod-tcp-bbr - 4.14.151-1
kmod-usb-core - 4.14.151-1
kmod-usb-hid - 4.14.151-1
kmod-usb-net - 4.14.151-1
kmod-usb-net-rtl8152 - 4.14.151-1
libblkid1 - 2.34-1
libblobmsg-json - 2019-06-16-ecf56174-1
libc - 1.1.24-2
libcap - 2.27-1
libcomerr0 - 1.44.5-1
libext2fs2 - 1.44.5-1
libf2fs6 - 1.12.0-3
libgcc1 - 7.4.0-2
libgmp10 - 6.1.2-2
libip4tc2 - 1.8.3-1
libip6tc2 - 1.8.3-1
libiwinfo-lua - 2019-10-16-07315b6f-1
libiwinfo20181126 - 2019-10-16-07315b6f-1
libjson-c2 - 0.12.1-3
libjson-script - 2019-06-16-ecf56174-1
liblua5.1.5 - 5.1.5-3
liblucihttp-lua - 2019-07-05-a34a17d5-1
liblucihttp0 - 2019-07-05-a34a17d5-1
libmnl0 - 1.0.4-2
libnetfilter-conntrack3 - 2018-05-01-3ccae9f5-2
libnettle7 - 3.5.1-1
libnfnetlink0 - 1.0.1-3
libnl-tiny - 0.1-5
libpcre - 8.43-1
libpthread - 1.1.24-2
librt - 1.1.24-2
libsmartcols1 - 2.34-1
libss2 - 1.44.5-1
libubox20170601 - 2019-06-16-ecf56174-1
libubus-lua - 2018-10-06-221ce7e7-1
libubus20170705 - 2018-10-06-221ce7e7-1
libuci20130104 - 2019-09-01-415f9e48-3
libuclient20160123 - 2019-05-30-3b3e368d-1
libuuid1 - 2.34-1
libxtables12 - 1.8.3-1
logd - 2019-06-16-4df34a4d-3
lua - 5.1.5-3
luci-app-firewall - git-19.315.33349-ae61ecb-1
luci-app-opkg - git-19.315.33349-ae61ecb-1
luci-base - git-19.315.33349-ae61ecb-1
luci-i18n-base-zh-cn - git-19.315.33349-ae61ecb-1
luci-i18n-firewall-zh-cn - git-19.315.33349-ae61ecb-1
luci-i18n-opkg-zh-cn - git-19.315.33349-ae61ecb-1
luci-lib-ip - git-19.315.33349-ae61ecb-1
luci-lib-jsonc - git-19.315.33349-ae61ecb-1
luci-lib-nixio - git-19.315.33349-ae61ecb-1
luci-mod-admin-full - git-19.315.33349-ae61ecb-1
luci-mod-network - git-19.315.33349-ae61ecb-1
luci-mod-status - git-19.315.33349-ae61ecb-1
luci-mod-system - git-19.315.33349-ae61ecb-1
luci-nginx - git-19.315.33349-ae61ecb-1
luci-proto-ipv6 - git-19.315.33349-ae61ecb-1
luci-proto-ppp - git-19.315.33349-ae61ecb-1
luci-theme-bootstrap - git-19.315.33349-ae61ecb-1
luci-theme-material - git-19.315.33349-ae61ecb-1
mkf2fs - 1.12.0-3
mtd - 24
netifd - 2019-08-05-5e02f944-1
nginx - 1.16.0-1
nginx-mod-luci - 1.16.0-1
odhcp6c - 2019-01-11-e199804b-16
odhcpd-ipv6only - 2019-09-15-88d9ab64-3
openwrt-keyring - 2019-07-25-8080ef34-1
opkg - 2019-06-14-dcbc142e-1
partx-utils - 2.34-1
ppp - 2.4.7.git-2019-05-25-2
ppp-mod-pppoe - 2.4.7.git-2019-05-25-2
procd - 2019-09-16-62dc8c0e-2
rpcd - 2019-11-10-77ad0de0-1
rpcd-mod-file - 2019-11-10-77ad0de0-1
rpcd-mod-iwinfo - 2019-11-10-77ad0de0-1
rpcd-mod-luci - 20191108
rpcd-mod-rrdns - 20170710
ubox - 2019-06-16-4df34a4d-3
ubus - 2018-10-06-221ce7e7-1
ubusd - 2018-10-06-221ce7e7-1
uci - 2019-09-01-415f9e48-3
uclibcxx - 0.2.5-3
uclient-fetch - 2019-05-30-3b3e368d-1
urandom-seed - 1.0-1
urngd - 2019-06-17-c057e177-1
usign - 2019-08-06-5a52b379-1
uwsgi-cgi - 2.0.18-2
uwsgi-cgi-luci-support - 2.0.18-2
wireless-regdb - 2017-10-20-4343d359
wpad-basic - 2018-12-02-c2c6c01b-9
zlib - 1.2.11-3
the new update OpenWrt 19.07-SNAPSHOT r10194+485-c53f62b111
That (r10194) is NOT a "new update".
OpenWrt SNAPSHOT, r11486-6becc37f33
And this (r11486) IS a REALLY NEW update:
root@OpenWrt:~# opkg list luci*
luci-app-adblock - git-19.316.39109-95bfb3f-1
luci-app-aria2 - git-19.316.39109-95bfb3f-1
luci-app-ddns - git-19.316.39109-95bfb3f-1
luci-app-dnscrypt-proxy - git-19.316.39109-95bfb3f-1
luci-app-firewall - git-19.316.39109-95bfb3f-1
luci-app-hd-idle - git-19.316.39109-95bfb3f-1
luci-app-https_dns_proxy - git-19.316.39109-95bfb3f-5
luci-app-minidlna - git-19.316.39109-95bfb3f-1
luci-app-mjpg-streamer - git-19.316.39109-95bfb3f-1
luci-app-mwan3 - git-19.316.39109-95bfb3f-1
luci-app-nut - git-19.316.39109-95bfb3f-1
luci-app-openvpn - git-19.316.39109-95bfb3f-1
luci-app-opkg - git-19.316.39109-95bfb3f-1
luci-app-p910nd - git-19.316.39109-95bfb3f-1
luci-app-samba4 - git-19.316.39109-95bfb3f-1
luci-app-sqm - 1.4.0-2
luci-app-transmission - git-19.316.39109-95bfb3f-1
luci-app-udpxy - git-19.316.39109-95bfb3f-1
luci-app-upnp - git-19.316.39109-95bfb3f-1
luci-app-vlmcsd - 1.0.2-1
luci-app-watchcat - git-19.316.39109-95bfb3f-1
luci-app-wireguard - git-19.316.39109-95bfb3f-1
luci-app-wol - git-19.316.39109-95bfb3f-1
luci-base - git-19.316.39109-95bfb3f-1
luci-compat - git-19.316.39109-95bfb3f-1
luci-i18n-adblock-ru - git-19.316.39109-95bfb3f-1
luci-i18n-adblock-uk - git-19.316.39109-95bfb3f-1
luci-i18n-aria2-ru - git-19.316.39109-95bfb3f-1
luci-i18n-aria2-uk - git-19.316.39109-95bfb3f-1
luci-i18n-base-ru - git-19.316.39109-95bfb3f-1
luci-i18n-base-uk - git-19.316.39109-95bfb3f-1
luci-i18n-ddns-ru - git-19.316.39109-95bfb3f-1
luci-i18n-ddns-uk - git-19.316.39109-95bfb3f-1
luci-i18n-dnscrypt-proxy-ru - git-19.316.39109-95bfb3f-1
luci-i18n-dnscrypt-proxy-uk - git-19.316.39109-95bfb3f-1
luci-i18n-firewall-ru - git-19.316.39109-95bfb3f-1
luci-i18n-firewall-uk - git-19.316.39109-95bfb3f-1
luci-i18n-hd-idle-ru - git-19.316.39109-95bfb3f-1
luci-i18n-hd-idle-uk - git-19.316.39109-95bfb3f-1
luci-i18n-https_dns_proxy-ru - git-19.316.39109-95bfb3f-5
luci-i18n-https_dns_proxy-uk - git-19.316.39109-95bfb3f-5
luci-i18n-minidlna-ru - git-19.316.39109-95bfb3f-1
luci-i18n-minidlna-uk - git-19.316.39109-95bfb3f-1
luci-i18n-mjpg-streamer-ru - git-19.316.39109-95bfb3f-1
luci-i18n-mjpg-streamer-uk - git-19.316.39109-95bfb3f-1
luci-i18n-mwan3-ru - git-19.316.39109-95bfb3f-1
luci-i18n-mwan3-uk - git-19.316.39109-95bfb3f-1
luci-i18n-nut-ru - git-19.316.39109-95bfb3f-1
luci-i18n-nut-uk - git-19.316.39109-95bfb3f-1
luci-i18n-openvpn-ru - git-19.316.39109-95bfb3f-1
luci-i18n-openvpn-uk - git-19.316.39109-95bfb3f-1
luci-i18n-opkg-ru - git-19.316.39109-95bfb3f-1
luci-i18n-opkg-uk - git-19.316.39109-95bfb3f-1
luci-i18n-p910nd-ru - git-19.316.39109-95bfb3f-1
luci-i18n-p910nd-uk - git-19.316.39109-95bfb3f-1
luci-i18n-samba4-ru - git-19.316.39109-95bfb3f-1
luci-i18n-samba4-uk - git-19.316.39109-95bfb3f-1
luci-i18n-transmission-ru - git-19.316.39109-95bfb3f-1
luci-i18n-transmission-uk - git-19.316.39109-95bfb3f-1
luci-i18n-udpxy-ru - git-19.316.39109-95bfb3f-1
luci-i18n-udpxy-uk - git-19.316.39109-95bfb3f-1
luci-i18n-upnp-ru - git-19.316.39109-95bfb3f-1
luci-i18n-upnp-uk - git-19.316.39109-95bfb3f-1
luci-i18n-watchcat-ru - git-19.316.39109-95bfb3f-1
luci-i18n-watchcat-uk - git-19.316.39109-95bfb3f-1
luci-i18n-wireguard-ru - git-19.316.39109-95bfb3f-1
luci-i18n-wireguard-uk - git-19.316.39109-95bfb3f-1
luci-i18n-wol-ru - git-19.316.39109-95bfb3f-1
luci-i18n-wol-uk - git-19.316.39109-95bfb3f-1
luci-lib-httpprotoutils - git-19.316.39109-95bfb3f-1
luci-lib-ip - git-19.316.39109-95bfb3f-1
luci-lib-ipkg - git-19.316.39109-95bfb3f-1
luci-lib-jsonc - git-19.316.39109-95bfb3f-1
luci-lib-nixio - git-19.316.39109-95bfb3f-1
luci-mod-admin-full - git-19.316.39109-95bfb3f-1
luci-mod-network - git-19.316.39109-95bfb3f-1
luci-mod-status - git-19.316.39109-95bfb3f-1
luci-mod-system - git-19.316.39109-95bfb3f-1
luci-proto-3g - git-19.316.39109-95bfb3f-1
luci-proto-ipv6 - git-19.316.39109-95bfb3f-1
luci-proto-ppp - git-19.316.39109-95bfb3f-1
luci-proto-relay - git-19.316.39109-95bfb3f-1
luci-proto-wireguard - git-19.316.39109-95bfb3f-1
luci-ssl-nginx - git-19.316.39109-95bfb3f-1
luci-theme-bootstrap - git-19.316.39109-95bfb3f-1
luci-theme-material - git-19.316.39109-95bfb3f-1
luci-theme-openwrt - git-19.316.39109-95bfb3f-1
Another browser, same errors, even more (page Status => Overview, infinite "Loading view" progress):
RPCError
RPC call to luci.ddns/get_services_status failed with error -32000: Object not found
at ClassConstructor.handleCallReply (https://192.168.1.1/luci-static/resources/rpc.js?v=git-19.316.39109-95bfb3f:12:3)
RPCError
RPC call to luci/getFeatures failed with error -32000: Object not found
at ClassConstructor.handleCallReply (https://192.168.1.1/luci-static/resources/rpc.js?v=git-19.316.39109-95bfb3f:12:3)
In my case this was resolved by removing the following from /etc/nginx/luci_uwsgi.conf
location /ubus {
ubus_interpreter;
ubus_socket_path /var/run/ubus.sock;
ubus_parallel_req 2;
}
So now the /etc/nginx/luci_uwsgi.conf
looks like:
# cat /etc/nginx/luci_uwsgi.conf.bak1
location /cgi-bin/luci {
index index.html;
include uwsgi_params;
uwsgi_param SERVER_ADDR $server_addr;
uwsgi_modifier1 9;
uwsgi_pass unix:////var/run/luci-webui.socket;
}
location ~ /cgi-bin/cgi-(backup|download|upload) {
include uwsgi_params;
uwsgi_param SERVER_ADDR $server_addr;
uwsgi_modifier1 9;
uwsgi_pass unix:////var/run/luci-cgi_io.socket;
}
location /luci-static {
}
it's not a solution... just a workaround... ( you need to do this on every update so... )
I didn't say it was. The intention was to provide some information in case it helped determine the root case.
This workaround looks pretty :-D But... some settings gone and, after some time exploring LuCI pages I've got this: "Error XHR request timed out". Hahaha...
Then there is something wrong with your system... by removing /ubus in ningx you are using the normal way of calling rpc data
in latest Master build
RPC call to luci.ddns/get_services_status failed with error -32000: Object not found
at ClassConstructor.handleCallReply (https://192.168.1.1/luci-static/resources/rpc.js?v=git-19.316.39109-95bfb3f:12:3)
Then I cleared browser cache (on the machine where I saw "Error XHR request timed out"). And then started browsing on clean router (with default settings) web pages. For the first time there was no any error. I could normally view Status => Overview, System => System, Network => Firewall, and so on. But there were some little limitations. For example, on System => System => General Settings there only one Timezone in list - UTC; on Network => Firewall => General Settings there were no software/hardware offloading settings. But after 5 minutes I went to Status => Overview and then got "Error XHR request timed out". While writing this, I went again on some pages and returned to Status => Overview. No errors. Then this error (XHR request timed out) is floating, perhaps it occurs when there are not enough resources (CPU). Then, for the present, we can ignore this error. And then it turns out that almost everything is fine with the workaround (but some few settings and elements, as I mentioned above).
But what happens when we turn on /ubus?
P.S. I don't think that there is something wrong with my system. Because I can use several different systems, from home Windows Server 2016, to work Windows Server 2016/2019 or Windows 10, and remote dedicated server(s). Chrome/Iron/Opera/Vivaldi. And I can test on Linux too (but have not tried it yet) via X2Go on XFCE, if needed.
Luci-theme-material Eror openwrt 19.07.0-rc1
Test on LuCI Master (git-19.316.39109-95bfb3f), Firefox 70.0.1 (with disabled DOM Storage). Linux Debian, XFCE. I cleared browser cache. When started browsing on clean router (I used the sysupgrade with -n option) the problem is still here.
Status => Overview
Network => Interfaces, Hosts, Routes (also System, Autostart, Firmaware Upgrade).
Network => Switch
Edit: Latest build git-19.317.58174-2e8aa30 and new error.
What's wrong with LuCI for now? Even fully clean OpenWrt installation with uhttpd often gives an Error "XHR request timed out". I tried firmwares for UPVEL UR-313N4G (same as D-Link DIR-320 B1), UPVEL UR-337N4G (nearly the same as D-Link DIR-620 D1) and Xiaomi MiR3G. And soon I'l try to build new firmware for ASUS RT-AC68U (now it has fw built on 04 Nov 2019, with nginx instead of uhttpd, and there are no errors in LuCI).
When I try to login in openwrt on boswer(like IE, and Chrome, Firefox and etc). It was show: Error
No related RPC reply
I was used luci-nginx.. And I found the error-log of nginx in the /tmp/log/nginx, It is 2019/11/04 19:45:45 [error] 3691#0: 23 Request generated error: Access denied, client: 192.168.1.100, server: localhost, request: "POST /ubus/?1572867944951 HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cgi-bin/luci/" 2019/11/04 19:45:48 [error] 3691#0: 32 Request generated error: Access denied, client: 192.168.1.100, server: localhost, request: "POST /ubus/?1572867947293 HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cgi-bin/luci/" 2019/11/04 19:45:48 [error] 3691#0: 33 Request generated error: Access denied, client: 192.168.1.100, server: localhost, request: "POST /ubus/?1572867947309 HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cgi-bin/luci/" 2019/11/04 19:45:48 [error] 3691#0: 38 Request generated error: Access denied, client: 192.168.1.100, server: localhost, request: "POST /ubus/?1572867947354 HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cgi-bin/luci/" 2019/11/04 19:45:48 [error] 3691#0: *39 Request generated error: Access denied, client: 192.168.1.100, server: localhost, request: "POST /ubus/?1572867947369 HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/cgi-bin/luci/"