Opened 5 years ago

Last modified 5 years ago

#4444 new defect

Out of Control Connection attemps to Network-Reader

Reported by: flow Owned by:
Priority: minor Component: Reader
Severity: medium Keywords:
Cc: Sensitive: no

Description

In short, connection attempts to offline readers make problems, and seem to be impossible to control.

Setting Reconnecttimeout:
Oscam installed on a 7490 Box

The problem seem to affects all Reviosionen, at least as far as I can tell from r10066, probably earlier revisions aswell.

Since 10066, I'm struggling with this problem. Sometimes oscam behaves as expected (at least for some readers) and sometimes the situation is like this.

Depending on the release changes since 10066 the only thing that differs is the (retry)timeout of the failing connection attempts.

I could observe 30 seconds, 20 seconds, 10 seconds, and sometimes (very rare) the correct time I set in oscam.readers for reconnecttimeouts, here 180s.

In r11213 oscam tries to connect every 10 seconds.

Today I have tested with 4 readers which were offline and for 2 I entered wrong credentials.

I really do not know where this 10 Seconds are coming from.
In the whole oscam configuration there is nothing with 10, and just one 10 somewhere as default value for someting I cannot remember now, but which g´has nothing to do with reader setting.

This was the situation when I tested:

Oscam is spamming reconnecting retries every 10 seconds, to all lost Readers.

Then I did just commented out this Setting like shown

#InactivityTimeout = 30

(see below). After that, this reader was contacted very correctly every 180 seconds.

Then I did the same for all of the remote readers

Now all offline Readers started spamming every 10 seconds again.

CCcam or newcamd doesn't really matter.
It also does not matter if just the Password is wrong or if the proper key was't found in the first attemp

Im my test all Reader were set up like this in the reader.config:

[reader]
label                         = xxx
protocol                      = xxx
device                        = DYNDNS
user                          = xxx
password                      = xxx
#inactivitytimeout             = 30
reconnecttimeout              = 180
group                         = 1
cccversion                    = 2.3.0
cccmaxhops                    = 2
ccckeepalive                  = 1
cccreshare                    = 0
audisabled                    = 1

If this situation occous, then one small problem leads to the next small problem, causing minor, then major problems. The 7490 begins to stall, connections to working readers, as data is not come through in time, and that now causes other reader connection spamming the same way, killing the red box at the end, which need a manual por.

example log:

mehr logs im Anhang:
2016/03/21 06:42:56 0ECB2779 p (net) can't resolve bobobobobo.ath.cx, error: Name or service not known
2016/03/21 06:42:56 448AD7C0 p (net) can't resolve fefefefefefe.ath.cx, error: Name or service not known
2016/03/21 06:42:56 703D1B79 p (net) can't resolve flflflflflflf.ddns.net, error: Name or service not known
2016/03/21 06:42:57 580E93C1 p (reader) lalalalalalala [cccam] connecting to lalalalalalala.dyndns.org:1515
2016/03/21 06:42:57 63B0637A p (reader) dddddddddd [cccam] connecting to dddddddddd.myfritz.net:1212
2016/03/21 06:42:58 580E93C1 p (cccam) init error from reader lalalalalalala
2016/03/21 06:42:59 0124CDE1 p (reader) gagagagagaga [cccam] connecting to gagagagagaga.no-ip.org:1501
2016/03/21 06:43:00 0124CDE1 p (reader) gagagagagaga [cccam] connect failed: No route to host
2016/03/21 06:43:01 63B0637A p (cccam) cccam(r) dddddddddd: login failed, usr/pwd invalid
2016/03/21 06:43:09 0ECB2779 p (net) can't resolve bobobobobo.ath.cx, error: Name or service not known
2016/03/21 06:43:09 790D6080 p (net) can't resolve momomomomo.ddns.net, error: Name or service not known
2016/03/21 06:43:09 703D1B79 p (net) can't resolve flflflflflflf.ddns.net, error: Name or service not known
2016/03/21 06:43:09 448AD7C0 p (net) can't resolve fefefefefefe.ath.cx, error: Name or service not known
2016/03/21 06:43:10 63B0637A p (reader) dddddddddd [cccam] connecting to dddddddddd.myfritz.net:1212
2016/03/21 06:43:10 580E93C1 p (reader) lalalalalalala [cccam] connecting to lalalalalalala.dyndns.org:1515
2016/03/21 06:43:11 580E93C1 p (cccam) init error from reader lalalalalalala
2016/03/21 06:43:13 63B0637A p (cccam) cccam(r) dddddddddd: login failed, usr/pwd invalid
2016/03/21 06:43:22 0ECB2779 p (net) can't resolve bobobobobo.ath.cx, error: Name or service not known
2016/03/21 06:43:22 703D1B79 p (net) can't resolve flflflflflflf.ddns.net, error: Name or service not known
2016/03/21 06:43:22 790D6080 p (net) can't resolve momomomomo.ddns.net, error: Name or service not known
2016/03/21 06:43:22 448AD7C0 p (net) can't resolve fefefefefefe.ath.cx, error: Name or service not known
2016/03/21 06:43:23 63B0637A p (reader) dddddddddd [cccam] connecting to dddddddddd.myfritz.net:1212
2016/03/21 06:43:23 580E93C1 p (reader) lalalalalalala [cccam] connecting to lalalalalalala.dyndns.org:1515
2016/03/21 06:43:24 63B0637A p (cccam) init error from reader dddddddddd
2016/03/21 06:43:25 580E93C1 p (cccam) init error from reader lalalalalalala
2016/03/21 06:43:35 448AD7C0 p (net) can't resolve fefefefefefe.ath.cx, error: Name or service not known
2016/03/21 06:43:35 0ECB2779 p (net) can't resolve bobobobobo.ath.cx, error: Name or service not known
2016/03/21 06:43:35 703D1B79 p (net) can't resolve flflflflflflf.ddns.net, error: Name or service not known
2016/03/21 06:43:35 790D6080 p (net) can't resolve momomomomo.ddns.net, error: Name or service not known
2016/03/21 06:43:36 580E93C1 p (reader) lalalalalalala [cccam] connecting to lalalalalalala.dyndns.org:1515
2016/03/21 06:43:36 63B0637A p (reader) dddddddddd [cccam] connecting to dddddddddd.myfritz.net:1212
2016/03/21 06:43:37 63B0637A p (cccam) init error from reader dddddddddd
2016/03/21 06:43:37 580E93C1 p (cccam) init error from reader lalalalalalala
2016/03/21 06:43:48 0ECB2779 p (net) can't resolve bobobobobo.ath.cx, error: Name or service not known
2016/03/21 06:43:48 790D6080 p (net) can't resolve momomomomo.ddns.net, error: Name or service not known
2016/03/21 06:43:48 448AD7C0 p (net) can't resolve fefefefefefe.ath.cx, error: Name or service not known
2016/03/21 06:43:48 703D1B79 p (net) can't resolve flflflflflflf.ddns.net, error: Name or service not known
2016/03/21 06:43:49 63B0637A p (reader) dddddddddd [cccam] connecting to dddddddddd.myfritz.net:1212
2016/03/21 06:43:49 580E93C1 p (reader) lalalalalalala [cccam] connecting to lalalalalalala.dyndns.org:1515
2016/03/21 06:43:50 63B0637A p (cccam) init error from reader dddddddddd
2016/03/21 06:43:50 580E93C1 p (cccam) init error from reader lalalalalalala 

More will be attached to this ticket
More logs a

Attachments (1)

Downloads.rar (16.2 KB ) - added by flow 5 years ago.

Download all attachments as: .zip

Change History (2)

by flow, 5 years ago

Attachment: Downloads.rar added

comment:1 by Aeon, 5 years ago

The reconnecttimeout setting is broken atm.
Please wait for the next major oscam version.

Note: See TracTickets for help on using tickets.