Open xiaxiaxiahhh opened 4 years ago
Sometimes the site might be done. Can you check the url http://ip.jsontest.com/ on your browser? In any case, this line of the code in run_all_traces.py
is just to determine your public ip address. If you know what your ip is, you can modify the code directly.
When I run python run_all_traces.py in run_exp/, the terminal tells me
File "run_all_traces.py", line 15, in <module> ip_data = json.loads(urllib.urlopen("http://ip.jsontest.com/").read()) File "/usr/lib/python2.7/json/__init__.py", line 339, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded
This error seems I can't open “http://ip.jsontest.com/".