You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that ooniprobe dashboard doesn't show my location and AS numbers properly.
I look up the logs. These are many message like that:
2018-04-18 16:39:56,330899+0800 [HTTP11ClientProtocol,client] [!] Could not find GeoIP data file in data directories.Try running ooniresources or edit your ooniprobe.conf
2018-04-18 16:39:56,331411+0800 [HTTP11ClientProtocol,client] [!] Could not find GeoIP data file in data directories.Try running ooniresources or edit your ooniprobe.conf
2018-04-18 16:39:56,331891+0800 [HTTP11ClientProtocol,client] [!] Could not find GeoIP data file in data directories.Try running ooniresources or edit your ooniprobe.conf
2018-04-18 16:39:56,332662+0800 [HTTP11ClientProtocol,client] [!] Could not find GeoIP data file in data directories.Try running ooniresources or edit your ooniprobe.conf
[...]
Then I found ooniresources --update-geoip is deprecated.
root@debian:~# ooniresources --help
/usr/bin/ooniresources
[DEPRECATED] Usage of this script is deprecated and it will be deleted
in future versions of ooniprobe.
Options:
--update-inputs (deprecated) update the resources needed for inputs.
--update-geoip (deprecated) Update the geoip related resources.
--version
--help Display this help and exit.
So I don't know how to solve this problem.
Steps to Reproduce
Expected behavior: show my location and AS numbers properly.
Actual behavior: show AS number is AS0, and location is ZZ.
From the screenshots you posted it seems like the system daemon is not running (as it says not running).
Is this a fresh install of ooniprobe? If so you may want to wait a bit for the system daemon to properly start and download the required resources to properly resolve your IP address.
In any case can you check that ooniprobe-agent is running by doing: ps aux | grep ooniprobe-agent?
If that does show up something, then I would suggest you just wait a bit for it to download the required resources.
The following log as shown on http://127.0.0.1:8842/client/#/logs:
[...]
2018-04-18 17:50:20,221016+0800 [-] Removing stale pidfile /var/lib/ooni/twistd.pid
2018-04-18 17:50:21,025236+0800 [HTTP11ClientProtocol,client] [!] Could not find GeoIP data file in data directories.Try running ooniresources or edit your ooniprobe.conf
2018-04-18 17:59:56,176178+0800 [-] Removing stale pidfile /var/lib/ooni/twistd.pid
2018-04-18 17:59:57,190161+0800 [HTTP11ClientProtocol,client] [!] Could not find GeoIP data file in data directories.Try running ooniresources or edit your ooniprobe.conf
2018-04-18 18:01:46,279999+0800 [HTTPPageDownloader (TLSMemoryBIOProtocol),client] [!] Could not find GeoIP data file in data directories.Try running ooniresources or edit your ooniprobe.conf
2018-04-18 18:01:49,193193+0800 [HTTPPageGetter (TLSMemoryBIOProtocol),client] [!] Could not find GeoIP data file in data directories.Try running ooniresources or edit your ooniprobe.conf
This could be an issue with the debian package.
May be should I install ooniprobe from git repository?
I can't found /etc/systemd/system/ooniprobe.service. So I create that file.
root@debian:~# systemctl enable ooniprobe.service
Created symlink from /etc/systemd/system/multi-user.target.wants/ooniprobe.service to /etc/systemd/system/ooniprobe.service.
root@debian:~# systemctl start ooniprobe
Job for ooniprobe.service failed. See 'systemctl status ooniprobe.service' and 'journalctl -xn' for details.
root@debian:~# systemctl status ooniprobe.service
● ooniprobe.service - ooniprobe-agent system service
Loaded: loaded (/etc/systemd/system/ooniprobe.service; enabled)
Active: failed (Result: exit-code) since Wed 2018-04-18 18:55:19 HKT; 59s ago
Docs: man:ooniprobe(1)
https://ooni.torproject.org/
Process: 2252 ExecStart=/usr/bin/ooniprobe-agent start (code=exited, status=217/USER)
Apr 18 18:55:19 debian systemd[1]: Starting ooniprobe-agent system service...
Apr 18 18:55:19 debian systemd[2252]: Failed at step USER spawning /usr/bin/ooniprobe-agent: No such process
Apr 18 18:55:19 debian systemd[1]: ooniprobe.service: control process exited, code=exited status=217
Apr 18 18:55:19 debian systemd[1]: Failed to start ooniprobe-agent system service.
Apr 18 18:55:19 debian systemd[1]: Unit ooniprobe.service entered failed state.
root@debian:~#
root@debian:~# systemctl status ooniprobe.service
● ooniprobe.service - ooniprobe-agent system service
Loaded: loaded (/etc/systemd/system/ooniprobe.service; enabled)
Active: failed (Result: exit-code) since Wed 2018-04-18 19:05:38 HKT; 39s ago
Docs: man:ooniprobe(1)
https://ooni.torproject.org/
Process: 2307 ExecStart=/usr/bin/ooniprobe-agent start (code=exited, status=1/FAILURE)
Apr 18 19:05:37 debian ooniprobe-agent[2307]: An error has occurred: b"CannotListenError: Couldn't listen on 127.0.0.1:8842: [Errno ...n use."
Apr 18 19:05:37 debian ooniprobe-agent[2307]: Please look at log file for more information.
Apr 18 19:05:37 debian systemd[1]: ooniprobe.service: control process exited, code=exited status=1
Apr 18 19:05:38 debian systemd[1]: Failed to start ooniprobe-agent system service.
Apr 18 19:05:38 debian systemd[1]: Unit ooniprobe.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
root@debian:~#
It says couldn't listen on 127.0.0.1:8842. I run lsof -i :8842 command, founding that port is used by ooniprobe.
@paperbag commented on Wed Apr 18 2018
Description
I found that ooniprobe dashboard doesn't show my location and AS numbers properly.
I look up the logs. These are many message like that:
Then I found
ooniresources --update-geoip
is deprecated.So I don't know how to solve this problem.
Steps to Reproduce
Expected behavior: show my location and AS numbers properly.
Actual behavior: show AS number is AS0, and location is ZZ.
Further information
How did you install ooniprobe
Debian package, following the OONIPROBE: Installation Guide. Then I run
ooniprobe --web-ui
.What operating system are you running and what version is it?
Debian Jessie
Output of `ooniprobe -v --info`
Output of `ooniprobe --version`
@hellais commented on Wed Apr 18 2018
Hi @paperbag thanks for reporting this.
This could be an issue with the debian package.
From the screenshots you posted it seems like the system daemon is not running (as it says not running).
Is this a fresh install of ooniprobe? If so you may want to wait a bit for the system daemon to properly start and download the required resources to properly resolve your IP address.
In any case can you check that
ooniprobe-agent
is running by doing:ps aux | grep ooniprobe-agent
?If that does show up something, then I would suggest you just wait a bit for it to download the required resources.
@paperbag commented on Wed Apr 18 2018
Yes.
I just restart my machine.
Now it says running.
And it still show
Location: ZZ (AS0)
.The following log as shown on
http://127.0.0.1:8842/client/#/logs
:May be should I install ooniprobe from git repository?
@hellais commented on Wed Apr 18 2018
Humm. It's strange though that you don't see a ooniprobe-agent running, given that you can access the local web server.
Did you run the
ps
command while you had the web UI open?Other things to try:
Do you have systemd on your machine?
If so you should check if inside of
/etc/systemd/system
you have something similar to this: https://github.com/OpenObservatory/ooniprobe-fpm/blob/master/conf/debian/systemd/ooniprobe.service.If not you should create that file and enable the service by running:
(I believe this is the correct syntax)
@hellais commented on Wed Apr 18 2018
@irl do you know what may be going on here?
@paperbag commented on Wed Apr 18 2018
Yes.
I can't found
/etc/systemd/system/ooniprobe.service
. So I create that file.So I edited
ooniprobe.service
like that :Then run
systemctl status ooniprobe.service
.It says couldn't listen on 127.0.0.1:8842. I run
lsof -i :8842
command, founding that port is used by ooniprobe.@hellais commented on Wed Apr 18 2018
Ok I see.
So I think the debian package you used is broken. This is not the expected behaviour. cc @irl
I think I know how you can fix this though.
Try going through these steps:
ooniprobe --web-ui
ooniprobe-agent
by runningwhich ooniprobe-agent
/usr/bin/ooniprobe-agent
inooniprobe.service
with that pathThe text was updated successfully, but these errors were encountered: