TCP重置在JPOS服务器上记录
我已经设置了一个JPOS服务器来接收消息。我最近注意到,经过短暂的不活动,我们开始从服务器中实现tcp RESET
错误,
请参见下面的频道配置
<channel name="post-channel" class="org.jpos.iso.channel.PostChannel">
<property name="packager-realm" value="postpack-debug" />
<property name="keep-alive" value="true" />
</channel>
I have set up a JPOS server to receive messages. I noticed recently that after a brief period of inactivity, we start realizing TCP RESET FROM SERVER
errors
See below my configuration for the channel
<channel name="post-channel" class="org.jpos.iso.channel.PostChannel">
<property name="packager-realm" value="postpack-debug" />
<property name="keep-alive" value="true" />
</channel>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
另一端可能不喜欢您的频道发送的
keeplive
,只需通过注释掉该行来禁用它即可。如果您使用保持活动状态来保持通道连接而不因超时而结束,则应定期发送 0800` 网络消息。
在开发过程中,您可以通过将
timeout
属性设置为零(默认值为 30000 秒 = 5 分钟)来禁用该超时:但您不希望在生产环境中出现这种情况。
The other end is probably not liking the
keep alive
sent by your channel, just disable that by commenting out that line.If you
re using that keep alive to keep the channel connected without ending because of timeout, you should send
0800` network messages at regular intervals.While developing, you can disable that timeout from your side by setting the
timeout
property to zero (the default is, 30000 seconds = 5 minutes):But you don't want that in a production environment.