Skip to content

单端口对接没有网ping不通 #90

@Angrtoy

Description

@Angrtoy

前端亮后端ping不通没有网2020-02-04 09:15:11 ERROR webapi_utils.py:38 Traceback (most recent call last):
File "/root/shadowsocks/webapi_utils.py", line 25, in getApi
data = res.json()
File "/usr/lib/python3.8/site-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/root/shadowsocks/webapi_utils.py", line 29, in getApi
raise Exception('error data!')
Exception: error data!

2020-02-04 09:15:11 ERROR web_transfer.py:672 Traceback (most recent call last):
File "/root/shadowsocks/webapi_utils.py", line 25, in getApi
data = res.json()
File "/usr/lib/python3.8/site-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/root/shadowsocks/webapi_utils.py", line 29, in getApi
raise Exception('error data!')
Exception: error data!

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/root/shadowsocks/web_transfer.py", line 666, in thread_db
rows = db_instance.pull_db_all_user()
File "/root/shadowsocks/web_transfer.py", line 225, in pull_db_all_user
data = webapi.getApi('users', {'node_id': get_config().NODE_ID})
File "/root/shadowsocks/webapi_utils.py", line 39, in getApi
raise Exception('network issue or server error!')
Exception: network issue or server error!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions