求助:右上角表单按钮,点创建新表单,输入名称提交后报“服务器内部错误”


开发者版3.0

日志:
seahub.dtable.views:905 dtable_form_edit <urlopen error [Errno 111] Connection refused>

我在云端新建表单是正常的


你本地部署可以提供更多的日志信息吗?
重启服务并刷新浏览器能否复现?

重启服务,和刷新页面,或者再建表单都是报这个错误,请问日志文件需要取哪个?我取过来发

创建新表单,输入表名,然后点提交,浏览器打开https://**:4480/dtable/form-edit/e7a17740-a9b0-4a45-a56a-6a8bbd694d79/,页面上报“服务内部错误”,打不开你图片上的这个表单设置页面
我的是本地群晖docker部署

dtable_web.log

2022-06-02 02:02:59,370 [WARNING] django.request:230 log_response Bad Request: /api/v2.1/dtable-message-status/
2022-06-02 02:05:50,662 [WARNING] django.request:230 log_response Bad Request: /api/v2.1/dtable-message-status/
2022-06-02 02:08:34,283 [WARNING] django.request:230 log_response Bad Request: /api/v2.1/dtable-message-status/
2022-06-02 02:10:54,620 [WARNING] django.request:230 log_response Bad Request: /api/v2.1/dtable-message-status/
2022-06-02 02:19:23,272 [WARNING] django.request:230 log_response Bad Request: /api/v2.1/dtable-message-status/
2022-06-02 02:28:59,219 [WARNING] django.request:230 log_response Bad Request: /api/v2.1/dtable-message-status/
2022-06-02 05:40:43,636 [ERROR] seahub.dtable.views:905 dtable_form_edit <urlopen error [Errno 111] Connection refused>
2022-06-02 05:44:10,115 [ERROR] seahub.dtable.views:905 dtable_form_edit <urlopen error [Errno 111] Connection refused>
2022-06-02 05:44:24,723 [WARNING] django.request:230 log_response Not Found: /favicon.ico
2022-06-02 05:44:48,109 [ERROR] seahub.dtable.views:905 dtable_form_edit <urlopen error [Errno 111] Connection refused>
2022-06-02 05:45:41,327 [ERROR] seahub.dtable.views:905 dtable_form_edit <urlopen error [Errno 111] Connection refused>
2022-06-02 05:46:20,833 [ERROR] seahub.dtable.views:905 dtable_form_edit <urlopen error [Errno 111] Connection refused>
2022-06-02 06:16:58,674 [ERROR] seahub.dtable.views:905 dtable_form_edit <urlopen error [Errno 111] Connection refused>
2022-06-02 06:17:19,448 [WARNING] django.request:230 log_response Not Found: /dtable/form-edit/
2022-06-02 06:17:47,282 [ERROR] seahub.dtable.views:691 dtable_form_view <urlopen error [Errno 111] Connection refused>
2022-06-02 06:57:55,193 [ERROR] seahub.dtable.views:905 dtable_form_edit <urlopen error [Errno 111] Connection refused>

解:
局域网域名访问问题,不支持局域网IP通过域名访问局域网内部服务器,可在路由器上添加虚拟服务器端口指向服务器IP

学到了,原来是局域网 DNS 问题。