为了能快速了解并处理您的问题,请提供以下基础信息: 相关截图(日志、错误)无外网java项目打不开,报错REQUEST_DATE: 2024-08-20 15:49:25 VERSION: Ubuntu 22.04.1 LTS (Jammy Jellyfish) x86_64(Py3.7.8) - 9.0.0 REMOTE_ADDR: 192.168.1.35 REQUEST_URI: POST /mod/java/project/project_list?REQUEST_FORM: {'data': '{"p":1,"limit":10,"type_id":"","search":""}'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2439, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2386, in run result = getattr(toObject, get.action)(get) File "/www/server/panel/mod/modController.py", line 89, in model raise public.PanelError(result['msg'])public.PanelError: 面板运行时发生错误: Traceback (most recent call last): File "/www/server/panel/mod/project/java/projectMod.py", line 32, in from mod.project.java.springboot_parser import SpringConfigParser, SpringLogConfigParser File "/www/server/panel/mod/project/java/springboot_parser.py", line 55, in class SpringConfigParser: File "/www/server/panel/mod/project/java/springboot_parser.py", line 64, in SpringConfigParser localhost_key = ("localhost", "127.0.0.1", "0.0.0.0", public.get_server_ip(), public.get_network_ip()) File "class/public.py", line 6068, in get_network_ip s.connect(('8.8.8.8', 80)) File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/_socketcommon.py", line 628, in connect raise _SocketError(result, strerror(result))OSError: [Errno 101] Network is unreachable
|
|