简体   繁体   English

JPOS 服务器上记录的 TCP 重置

[英]TCP reset recorded on JPOS server

I have set up a JPOS server to receive messages.我已经设置了一个 JPOS 服务器来接收消息。 I noticed recently that after a brief period of inactivity, we start realizing TCP RESET FROM SERVER errors我最近注意到,在短暂的不活动之后,我们开始意识到TCP RESET FROM SERVER错误

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>

The other end is probably not liking the keep alive sent by your channel, just disable that by commenting out that line.另一端可能不喜欢您的频道发送的keep alive状态,只需通过注释掉该行来禁用它。

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.如果你re using that keep alive to keep the channel connected without ending because of timeout, you should send 0800`.network 消息。

While developing, you can disable that timeout from your side by setting the timeout property to zero (the default is, 30000 seconds = 5 minutes):在开发过程中,您可以通过将timeout属性设置为零(默认值为 30000 秒 = 5 分钟)来禁用该超时:

<property name="timeout" value="0"/>

But you don't want that in a production environment.但是您不希望在生产环境中出现这种情况。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM