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
🙇♂️🙇♂️🙇♂️注意:XrayR等非XBoard问题请前往项目方提问
🙇♂️🙇♂️🙇♂️Note: XrayR and other non-XBoard issues please go to the project side to ask questions
在宝塔面板里网站的反向代理无法缓存是怎么回事?
The XBoard version number you are using
当前使用的XBoard版本号(git commit id)
--------[v0.1.9]
Would you like to deploy using Docker?
你的部署方式(是否为Docker)
--------aapanel+docker
Please briefly describe the issue you encountered (preferably with reproducible steps).
简单描述你遇到的问题(最好带上复现步骤)
--------在宝塔面板里——网站——反向代理-xboard-无法缓存是怎么回事?怎么修复?
in aapanel-website-reverse proxy, it shows Xboard'cache is disabled:
An error occurred while the panel was running!
re.error: bad escape \s at position 20 (line 1, column 21)
REQUEST_DATE: 2025-01-14 11:34:47
VERSION: Debian GNU/Linux 12 x86_64(Py3.12.3) - 7.0.12
REMOTE_ADDR: 223.160.119.88
REQUEST_URI: POST /v2/site?action=ModifyProxy
REQUEST_FORM: {'proxyname': 'Xboard', 'sitename': XXX, 'proxydir': '/', 'proxysite': 'http://127.0.0.1:7001', 'todomain': '$host', 'subfilter': '[{"sub1":"","sub2":""},{"sub1":"","sub2":""},{"sub1":"","sub2":""}]', 'advanced': '0', 'cachetime': '1', 'type': '1', 'cache': '1'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0
Traceback (most recent call last):
File "/www/server/panel/BTPanel/init.py", line 2604, in publicObject
return run_exec().run(toObject, defs, get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/BTPanel/init.py", line 2550, in run
result = getattr(toObject, get.action)(get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class_v2/panel_site_v2.py", line 4765, in ModifyProxy
ng_conf = re.sub(cache_rep,
^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/re/init.py", line 186, in sub
return _compile(pattern, flags).sub(repl, string, count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/re/init.py", line 334, in _compile_template
return _sre.template(pattern, _parser.parse_template(repl, pattern))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/re/_parser.py", line 1075, in parse_template
raise s.error('bad escape %s' % this, len(this)) from None
re.error: bad escape \s at position 20 (line 1, column 21)
Screenshot of the reported error(Please do desensitization)
报告错误的截图(请做脱敏处理)
Run the php artisan log:export 7 command to export log files (where 7 represents logs for the last 7 days).
运行php artisan log:export 7 命令导出的日志文件(其中7为最近7天的日志)。
--------无
The text was updated successfully, but these errors were encountered:
🙇♂️🙇♂️🙇♂️注意:XrayR等非XBoard问题请前往项目方提问
🙇♂️🙇♂️🙇♂️Note: XrayR and other non-XBoard issues please go to the project side to ask questions
在宝塔面板里网站的反向代理无法缓存是怎么回事?
The XBoard version number you are using
当前使用的XBoard版本号(git commit id)
--------[v0.1.9]
Would you like to deploy using Docker?
你的部署方式(是否为Docker)
--------aapanel+docker
Please briefly describe the issue you encountered (preferably with reproducible steps).
简单描述你遇到的问题(最好带上复现步骤)
--------在宝塔面板里——网站——反向代理-xboard-无法缓存是怎么回事?怎么修复?
in aapanel-website-reverse proxy, it shows Xboard'cache is disabled:
An error occurred while the panel was running!
re.error: bad escape \s at position 20 (line 1, column 21)
REQUEST_DATE: 2025-01-14 11:34:47
VERSION: Debian GNU/Linux 12 x86_64(Py3.12.3) - 7.0.12
REMOTE_ADDR: 223.160.119.88
REQUEST_URI: POST /v2/site?action=ModifyProxy
REQUEST_FORM: {'proxyname': 'Xboard', 'sitename': XXX, 'proxydir': '/', 'proxysite': 'http://127.0.0.1:7001', 'todomain': '$host', 'subfilter': '[{"sub1":"","sub2":""},{"sub1":"","sub2":""},{"sub1":"","sub2":""}]', 'advanced': '0', 'cachetime': '1', 'type': '1', 'cache': '1'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0
Traceback (most recent call last):
File "/www/server/panel/BTPanel/init.py", line 2604, in publicObject
return run_exec().run(toObject, defs, get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/BTPanel/init.py", line 2550, in run
result = getattr(toObject, get.action)(get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class_v2/panel_site_v2.py", line 4765, in ModifyProxy
ng_conf = re.sub(cache_rep,
^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/re/init.py", line 186, in sub
return _compile(pattern, flags).sub(repl, string, count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/re/init.py", line 334, in _compile_template
return _sre.template(pattern, _parser.parse_template(repl, pattern))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/re/_parser.py", line 1075, in parse_template
raise s.error('bad escape %s' % this, len(this)) from None
re.error: bad escape \s at position 20 (line 1, column 21)
Screenshot of the reported error(Please do desensitization)
报告错误的截图(请做脱敏处理)
Run the php artisan log:export 7 command to export log files (where 7 represents logs for the last 7 days).
运行
php artisan log:export 7
命令导出的日志文件(其中7为最近7天的日志)。--------无
The text was updated successfully, but these errors were encountered: