查看: 3943|回复: 5

关于通过外网提交时附件超过1M无法成功的咨询

升级   32.35%

139

主题

252

回帖

1647

积分

金牌会员

Rank: 6Rank: 6

积分
1647
发表于 2022-5-8 23:12:47 | 显示全部楼层 |阅读模式
最新的7.0.5版本DOCKER部署方式,端口为80、20020、20030,用内网IP访问,启动自建的流程表单时上传大于1M的附件没有问题,通过nginx代理到外网ssl1442端口,在提交附件大于1M时,附件图标那里一直转圈显示LOADING,无法成功添加,但小于1M的附件可以成功添加。数据库是部署在另一台服务器的MYSQL5.7,文件是部署在FTP方式访问的群晖存储上。请问有碰到这种情况的吗,有可能会是什么原因呢?内网访问时用浏览器开发者模式看虽然有些错误,但好像并没影响使用:
VM323:1 WebSocket connection to 'ws://10.0.10.7:20020/x_message_assemble_communicate/ws/collaboration?x-token=h-o2ebDF5qARh0MZe9XfAI7QmDp8CXyzAvUTVjJ7e7YnmWDJYOi54EDez_2srt00CBoyeCkCGlM' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
connect @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
initialize @ VM323:1
(匿名) @ mootools-1.6.0_all.js:7093
i.extend.$owner @ mootools-1.6.0_all.js:1399
(匿名) @ mootools-1.6.0_all.js:1357
(匿名) @ VM307:1
_runCallback @ o2.js:329
onSuccess @ o2.js:1726
(匿名) @ mootools-1.6.0_all.js:1520
(匿名) @ mootools-1.6.0_all.js:235
each @ mootools-1.6.0_all.js:345
fireEvent @ mootools-1.6.0_all.js:1518
i.extend.$owner @ mootools-1.6.0_all.js:1399
onSuccess @ mootools-1.6.0_all.js:6338
i.extend.$owner @ mootools-1.6.0_all.js:1399
success @ mootools-1.6.0_all.js:6333
i.extend.$owner @ mootools-1.6.0_all.js:1399
onStateChange @ mootools-1.6.0_all.js:6313
i.extend.$owner @ mootools-1.6.0_all.js:1399
o2.js:482          GET http://10.0.10.7/o2_core/o2/xDesktop/$Default/blue/layout-message-mobile.html 404 (Not Found)
_xhr_get @ o2.js:482
_loadSingleHtml @ o2.js:1011
_loadDisarray @ o2.js:500
_loadHtml @ o2.js:1163
window.o2.window.Element.Element.loadHtml @ o2.js:1350
load @ VM320:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
(匿名) @ VM307:1
_runCallback @ o2.js:329
onSuccess @ o2.js:1726
(匿名) @ mootools-1.6.0_all.js:1520
(匿名) @ mootools-1.6.0_all.js:235
each @ mootools-1.6.0_all.js:345
fireEvent @ mootools-1.6.0_all.js:1518
i.extend.$owner @ mootools-1.6.0_all.js:1399
onSuccess @ mootools-1.6.0_all.js:6338
i.extend.$owner @ mootools-1.6.0_all.js:1399
success @ mootools-1.6.0_all.js:6333
i.extend.$owner @ mootools-1.6.0_all.js:1399
onStateChange @ mootools-1.6.0_all.js:6313
i.extend.$owner @ mootools-1.6.0_all.js:1399
XMLHttpRequest.send(异步)
send @ mootools-1.6.0_all.js:6476
i.extend.$owner @ mootools-1.6.0_all.js:1399
send @ mootools-1.6.0_all.js:10010
r @ o2.js:1745
o @ o2.js:1766
window.o2.o2.require @ o2.js:1829
loadMessageMenu @ VM307:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
(匿名) @ VM307:1
(匿名) @ VM307:1
c @ o2.js:1406
(匿名) @ o2.js:1419
(匿名) @ o2.js:504
(匿名) @ o2.js:750
s @ o2.js:468
XMLHttpRequest.send(异步)
_xhr_get @ o2.js:482
_loadSingleCss @ o2.js:763
_loadDisarray @ o2.js:500
_loadCss @ o2.js:791
_loadAll @ o2.js:1416
window.o2.window.Element.Element.loadAll @ o2.js:1481
loadLayout @ VM307:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
load @ VM307:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
(匿名) @ x.min.js?v=-8a94ee9:1
_runCallback @ o2.js:329
onSuccess @ o2.js:1726
(匿名) @ mootools-1.6.0_all.js:1520
(匿名) @ mootools-1.6.0_all.js:235
each @ mootools-1.6.0_all.js:345
fireEvent @ mootools-1.6.0_all.js:1518
i.extend.$owner @ mootools-1.6.0_all.js:1399
onSuccess @ mootools-1.6.0_all.js:6338
i.extend.$owner @ mootools-1.6.0_all.js:1399
success @ mootools-1.6.0_all.js:6333
i.extend.$owner @ mootools-1.6.0_all.js:1399
onStateChange @ mootools-1.6.0_all.js:6313
i.extend.$owner @ mootools-1.6.0_all.js:1399
XMLHttpRequest.send(异步)
send @ mootools-1.6.0_all.js:6476
i.extend.$owner @ mootools-1.6.0_all.js:1399
send @ mootools-1.6.0_all.js:10010
r @ o2.js:1745
o @ o2.js:1766
window.o2.o2.require @ o2.js:1829
(匿名) @ x.min.js?v=-8a94ee9:1
(匿名) @ VM295:1
(匿名) @ VM295:1
onSuccess @ VM295:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
_runCallback @ o2.js:329
(匿名) @ o2.js:2200
Promise.then(异步)
_restful @ o2.js:2197
(匿名) @ VM295:1
getActions @ VM295:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
invoke @ VM295:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
invoke @ VM295:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
(匿名) @ VM295:1
getDataJson @ VM295:1
(匿名) @ VM295:1
(匿名) @ VM295:1
onSuccess @ VM295:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
_runCallback @ o2.js:329
(匿名) @ o2.js:2200
Promise.then(异步)
_restful @ o2.js:2197
(匿名) @ VM295:1
getActions @ VM295:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
invoke @ VM295:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
invoke @ VM295:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
(匿名) @ VM295:1
getPublicData @ VM295:1
MWF.xDesktop.getUserLayout @ VM295:1
t @ x.min.js?v=-8a94ee9:1
(匿名) @ x.min.js?v=-8a94ee9:1
Promise.then(异步)
(匿名) @ x.min.js?v=-8a94ee9:1
(匿名) @ x.min.js?v=-8a94ee9:1
(匿名) @ base_loader.js:96
s @ base_loader.js:174
(匿名) @ base_loader.js:243
(匿名) @ base_loader.js:76
(匿名) @ VM295:1
(匿名) @ VM295:1
_runCallback @ o2.js:329
(匿名) @ o2.js:2200
Promise.then(异步)
_restful @ o2.js:2197
MWF.xDesktop.getServiceAddressConfigObject @ VM295:1
(匿名) @ VM295:1
(匿名) @ mootools-1.6.0_all.js:235
each @ mootools-1.6.0_all.js:345
MWF.xDesktop.getServiceAddressConfigArray @ VM295:1
MWF.xDesktop.getServiceAddress @ VM295:1
a @ base_loader.js:73
onSuccess @ base_loader.js:242
_runCallback @ o2.js:329
onSuccess @ o2.js:1804
_runCallback @ o2.js:329
onSuccess @ o2.js:1726
(匿名) @ mootools-1.6.0_all.js:1520
(匿名) @ mootools-1.6.0_all.js:235
each @ mootools-1.6.0_all.js:345
fireEvent @ mootools-1.6.0_all.js:1518
i.extend.$owner @ mootools-1.6.0_all.js:1399
onSuccess @ mootools-1.6.0_all.js:6338
i.extend.$owner @ mootools-1.6.0_all.js:1399
success @ mootools-1.6.0_all.js:6333
i.extend.$owner @ mootools-1.6.0_all.js:1399
onStateChange @ mootools-1.6.0_all.js:6313
i.extend.$owner @ mootools-1.6.0_all.js:1399
XMLHttpRequest.send(异步)
send @ mootools-1.6.0_all.js:6476
i.extend.$owner @ mootools-1.6.0_all.js:1399
send @ mootools-1.6.0_all.js:10010
r @ o2.js:1745
o @ o2.js:1766
a @ o2.js:1796
window.o2.o2.require @ o2.js:1825
(匿名) @ base_loader.js:238
f @ base_loader.js:297
(匿名) @ base_loader.js:307
(匿名) @ o2.js:491
l @ o2.js:592
load(异步)
_addListener @ o2.js:239
_loadSingle @ o2.js:606
_loadSequence @ o2.js:486
_load @ o2.js:640
(匿名) @ base_loader.js:302
onReady @ o2.js:3531
domready @ o2.js:3502
check @ o2.js:3506
checkReady @ o2.js:3546
VM323:1 WebSocket connection to 'ws://10.0.10.7:20020/x_message_assemble_communicate/ws/collaboration?x-token=h-o2ebDF5qARh0MZe9XfABew-pcLRYBaAvUTVjJ7e7YnmWDJYOi54EDez_2srt00CBoyeCkCGlM' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
connect @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
retry @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
(匿名) @ VM323:1
VM323:1 WebSocket connection to 'ws://10.0.10.7:20020/x_message_assemble_communicate/ws/collaboration?x-token=h-o2ebDF5qARh0MZe9XfAJd2GN-pEdFXAvUTVjJ7e7YnmWDJYOi54EDez_2srt00CBoyeCkCGlM' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
connect @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
retry @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
(匿名) @ VM323:1
VM323:1 WebSocket connection to 'ws://10.0.10.7:20020/x_message_assemble_communicate/ws/collaboration?x-token=h-o2ebDF5qARh0MZe9XfAFNkMYlw-IpQAvUTVjJ7e7YnmWDJYOi54EDez_2srt00CBoyeCkCGlM' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
connect @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
retry @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
(匿名) @ VM323:1
VM323:1 WebSocket connection to 'ws://10.0.10.7:20020/x_message_assemble_communicate/ws/collaboration?x-token=h-o2ebDF5qARh0MZe9XfACx-csripg4DAvUTVjJ7e7YnmWDJYOi54EDez_2srt00CBoyeCkCGlM' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
connect @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
retry @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
(匿名) @ VM323:1
VM323:1 WebSocket connection to 'ws://10.0.10.7:20020/x_message_assemble_communicate/ws/collaboration?x-token=h-o2ebDF5qARh0MZe9XfACx-csripg4DAvUTVjJ7e7YnmWDJYOi54EDez_2srt00CBoyeCkCGlM' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
connect @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
retry @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
(匿名) @ VM323:1
VM323:1 WebSocket connection to 'ws://10.0.10.7:20020/x_message_assemble_communicate/ws/collaboration?x-token=h-o2ebDF5qARh0MZe9XfACx-csripg4DAvUTVjJ7e7YnmWDJYOi54EDez_2srt00CBoyeCkCGlM' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
connect @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
retry @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
(匿名) @ VM323:1
VM323:1 WebSocket connection to 'ws://10.0.10.7:20020/x_message_assemble_communicate/ws/collaboration?x-token=h-o2ebDF5qARh0MZe9XfACx-csripg4DAvUTVjJ7e7YnmWDJYOi54EDez_2srt00CBoyeCkCGlM' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
connect @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
retry @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
(匿名) @ VM323:1
VM323:1 WebSocket connection to 'ws://10.0.10.7:20020/x_message_assemble_communicate/ws/collaboration?x-token=h-o2ebDF5qARh0MZe9XfACx-csripg4DAvUTVjJ7e7YnmWDJYOi54EDez_2srt00CBoyeCkCGlM' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
connect @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
retry @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
(匿名) @ VM323:1
VM323:1 WebSocket connection to 'ws://10.0.10.7:20020/x_message_assemble_communicate/ws/collaboration?x-token=h-o2ebDF5qARh0MZe9XfACx-csripg4DAvUTVjJ7e7YnmWDJYOi54EDez_2srt00CBoyeCkCGlM' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
connect @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
retry @ VM323:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
(匿名) @ VM323:1

回复

使用道具 举报

升级   32.35%

139

主题

252

回帖

1647

积分

金牌会员

Rank: 6Rank: 6

积分
1647
发表于 2022-5-8 23:13:33 | 显示全部楼层
外网访问浏览器开发者模式有这样的错误
VM199:1
        
       WebSocket connection to 'wss://oa.s9i.cn:1446/x_message_assemble_communicate/ws/collaboration?x-token=h-o2ebDF5qD-abSexTxe64zSHRcc4ECPAvUTVjJ7e7YnmWDJYOi54EDez_2srt00CBoyeCkCGlM' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
connect @ VM199:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
retry @ VM199:1
i.extend.$owner @ mootools-1.6.0_all.js:1399
(匿名) @ VM199:1
VM199:1 Unable to connect to the websocket server, will retry in 4 seconds.
VM199:1 websocket is closed.
回复

使用道具 举报

升级   32.35%

139

主题

252

回帖

1647

积分

金牌会员

Rank: 6Rank: 6

积分
1647
发表于 2022-5-8 23:16:15 | 显示全部楼层
补充一下,基于nginx快速集群部署-端口分发和上下文模式都试过,目前是用的端口分发模式,外网1442-对应内网80,1446对应20020对应1447-20030,按照https://www.yuque.com/o2oa/course/glln53设置了相应配置
回复

使用道具 举报

Ray

升级   100%

31

主题

203

回帖

865

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
865
发表于 2022-5-9 10:37:16 | 显示全部楼层
nginx默认限制了上传body体长度.
回复

使用道具 举报

升级   32.35%

139

主题

252

回帖

1647

积分

金牌会员

Rank: 6Rank: 6

积分
1647
发表于 2022-5-9 10:56:33 | 显示全部楼层
明白了,我一直以为是系统这边的配置原因,谢谢
回复

使用道具 举报

升级   100%

138

主题

1万

回帖

3万

积分

超级版主

Rank: 8Rank: 8

积分
37249
发表于 2022-5-9 16:42:25 | 显示全部楼层
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系客服 关注微信 下载APP 返回顶部 返回列表
viewthread