Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#2704 closed defect (invalid)

peers disconnecting

Reported by: Tasiorsa Owned by: corsair
Priority: trivial Component: Protocol - CCCam
Severity: low Keywords: peers, CCcam
Cc: Sensitive: yes

Description

Hello again
Unfortunately, the latest compilation of oscam #7278 still doesn’t work well. After a certain period of time, in my case it’s about 50 minutes, a peer who is using cccam to connect to my Oscam server is disconnected. Peers who use oscam never get disconnected.
The problem has nothing to do with configuration because on a DM800 and a Debian server it works fine with the same config files.
As I really want to solve this issue (I have a DM 8000 rev. 1.0), I started oscam with –d255 and observed that a peer gets disconnected after the following situation:

2012/08/23 12:54:15    0  card 00000064 timed out! refresh forced
2012/08/23 12:54:15    0  s-card added: id    0 remoteid  10000 caid 100 hop 0 reshare 1 originid    0 cardtype 1
2012/08/23 12:54:15    0  card 00000000 timed out! refresh forced
2012/08/23 12:54:15    0  s-card added: id    0 remoteid  10000 caid 100 hop 0 reshare 1 originid    0 cardtype 1
2012/08/23 12:54:15    0  s-card removed: id    64 remoteid  10000 caid 100 hop 0 reshare 1 originid    0 cardtype 1
2012/08/23 12:54:15    0  s-card removed: id    0 remoteid  10000 caid 100 hop 0 reshare 1 originid    0 cardtype 1
2012/08/23 12:54:15    0  s-card added: id    0 remoteid   FC4 caid 500 hop 2 reshare 0 originid  6D0BC cardtype 10
2012/08/23 12:54:15    0  s-card removed: id    0 remoteid   906 caid 500 hop 2 reshare 0 originid  6A650 cardtype 10
2012/08/23 12:54:15    0  card 00000066 timed out! refresh forced
2012/08/23 12:54:15    0  s-card added: id    0 remoteid  20000 caid B00 hop 0 reshare 1 originid    0 cardtype 5
2012/08/23 12:54:15    0  card 00000000 timed out! refresh forced
2012/08/23 12:54:15    0  s-card added: id    0 remoteid  20000 caid B00 hop 0 reshare 1 originid    0 cardtype 5
2012/08/23 12:54:15    0  s-card removed: id    66 remoteid  20000 caid B00 hop 0 reshare 1 originid    0 cardtype 5
2012/08/23 12:54:15    0  s-card removed: id    0 remoteid  20000 caid B00 hop 0 reshare 1 originid    0 cardtype 5
2012/08/23 12:54:15    0  reported/updated +5/-5/dup 0 of 39 cards to sharelist

This log occurs about one hour after oscam is started and then the cccam client (peer) is disconnected. I understand that this is a function of refreshing the card list. Unfortunately, on my DM 8000, this has a negative effect on people who watch a channel (channels) using my server.
Fr example, when one peer is watching a channel for 45 minutes, another is watching one channel for 15 minutes, it doesn’t matter because when the refreshing function is in action, both (all) peers watching from my server get disconnected. Please, give me a hand with that.
Thanks in advance.

Attachments (1)

force1hrem.diff (616 bytes ) - added by Tasiorsa 11 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 by Tasiorsa, 11 years ago

I removed the function "card %08X timed out! refresh forced" and compiled Oscam for myself. Oscam compilation without this function does not disconnect cccam clients - I can see a client that has been active for 1h 20 min and everything's fine.

comment:2 by Tasiorsa, 11 years ago

Sensitive: set

comment:3 by Tasiorsa, 11 years ago

I have been using Oscam #7278 with the function ""card %08X timed out! refresh forced" removed and everything works perfectly. Peers do not get disconnected and their activity time reaches several hours.

comment:4 by gf, 11 years ago

Post the diff with your changes to see exactly what you changed, because from your description it is not clear.

comment:5 by Deas, 11 years ago

and what do you think we should do with a 400kb file?!? you should create a diff which includes only your changes. this file is useless...

go to your svn dir and do: svn diff > myPatch.diff

by Tasiorsa, 11 years ago

Attachment: force1hrem.diff added

comment:6 by Tasiorsa, 10 years ago

Resolution: fixed
Status: newclosed

Probably fixed #7965. 105 min on DM 8000 and client still active :)


EDIT:
Sorry problem still exists :( Peer has only one card with this channel therefore doesen't hop after 57 min.

Last edited 10 years ago by Tasiorsa (previous) (diff)

comment:7 by Tasiorsa, 10 years ago

Resolution: fixed
Status: closedreopened

comment:8 by ni hao, 10 years ago

Please discuss in forum first and try to use latest revision.
Your pre-last post here was 4 months ago...

Last edited 10 years ago by ni hao (previous) (diff)

comment:9 by ni hao, 10 years ago

Priority: majortrivial
Resolution: invalid
Severity: highlow
Status: reopenedclosed
Note: See TracTickets for help on using tickets.