Barracuda09 / SATPI

SATIP server for linux, suitable to run on an Raspberry Pi, Vu+, GigaBlue or any other linux box. currently supporting DVB-S/S2/T/C and transform DVB-S requests to DVB-C
http://barracuda09.github.io/SATPI
GNU General Public License v2.0
153 stars 32 forks source link

src/decrypt/dvbapi/Client.cpp:229] Connecting to OSCam Server failed #124

Closed BaltasarParreira closed 3 years ago

BaltasarParreira commented 3 years ago

I Know there is already a few explanations about using OSCAM here, but I setup everything using enter to save and so on, but still can't connect to may local OSCAM where SATPI is running. Always only getting: src/decrypt/dvbapi/Client.cpp:229] Connecting to OSCam Server failed

Is this still working with the latest OSCAM and SATPI?

Also can you detail for what are these parameters in the OSCAM configuration page:

Thanks.

Barracuda09 commented 3 years ago

Hi @BaltasarParreira

First of all thanks for your feedback.

Well I don't use the cutting edge version of OSxxx (I use version R11272). I know the API has changed over time and probably not working in combination with SatPI at the moment.

Regards, Marc

BaltasarParreira commented 3 years ago

Ok, going to install that version and see if that's the problem. Anyway any specific oscam.conf parameters apart the usual: [dvbapi] enabled = 1 au = 1 pmt_mode = 2 listen_port = 9999 delayer = 60 read_sdt = 1 write_sdt_prov = 1

You answer so quickly that I was editing the previous post, but I ask again anyway regarding those parameters I put there. ; )

Thanks.

BaltasarParreira commented 3 years ago

Sorry still not working, I'm running now the OSCam r11272 but I'm getting the same error.

My SATPI version is: 1.5.356~g1f7aa3e Enigma

Did you made any changes that could solve this problem after this version?

Thanks.

BaltasarParreira commented 3 years ago

Answering myself regarding SATPI version, I just compile the latest SATPI, now running: 1.5.409~g45892cc

But same problem, can't connect to OSCAM. Don't really know what I can do more so waiting for your feed back please.

Thanks.

Barracuda09 commented 3 years ago

I have these as API [dvbapi] enabled = 1 au = 1 pmt_mode = 4 listen_port = 15012 user = TEST read_sdt = 2 boxtype = pc

BaltasarParreira commented 3 years ago

Ok and did you create the user "TEST"?

Barracuda09 commented 3 years ago

Yes I did

BaltasarParreira commented 3 years ago

Ok, still nothing.

So my scenario is, a Gigablue UHD UE 4K receiver running OSCAM and SATPI inside. Is this ok for the SATPI configuration? image

Barracuda09 commented 3 years ago

I have this:

image

BaltasarParreira commented 3 years ago

Nothing... really strange since I have everything identical. This is my oscam.version giving by the interface:

Unix starttime: 1615499023
Starttime:      11.03.2021 21:43:43
Version:        oscam-1.20-unstable_svn-r11272
Compiler:       arm-newnigma2-linux-gnueabihf
Box type:       gigablue (generic)
PID:            2701
TempDir:        /tmp/.oscam
ConfigDir:      /etc/tuxbox/config/oscam-stable/
WebifPort:      83

Web interface support:                   yes
LiveLog support:                         yes
jQuery support intern:                   yes
Touch interface support:                 no
SSL support:                             no
DVB API support:                         yes
DVB API with AZBOX support:              no
DVB API with MCA support:                no
DVB API with COOLAPI support:            no
DVB API with COOLAPI2 support:           no
DVB API with STAPI support:              no
DVB API with STAPI5 support:             no
DVB API read-sdt charsets:               yes
Irdeto guessing:                         yes
Anti-cascading support:                  no
Debug mode:                              yes
Monitor:                                 yes
Loadbalancing support:                   yes
Cache exchange support:                  no
CW Cycle Check support:                  no
LCD support:                             no
LED support:                             no
Clockfix with realtime clock:            no
IPv6 support:                            no

camd 3.3x:                               no
camd 3.5 UDP:                            yes
camd 3.5 TCP:                            yes
newcamd:                                 yes
CCcam:                                   yes
CCcam share:                             yes
gbox:                                    yes
radegast:                                no
scam:                                    yes
serial:                                  no
constant CW:                             no
Pandora:                                 no
ghttp:                                   no

Reader support:                          yes

Nagra:                                   yes
Irdeto:                                  yes
Conax:                                   yes
Cryptoworks:                             yes
Seca:                                    yes
Viaccess:                                yes
NDS Videoguard:                          yes
DRE Crypt:                               yes
TONGFANG:                                yes
Bulcrypt:                                yes
Griffin:                                 yes
DGCrypt:                                 yes

cardreader_phoenix:                      yes
cardreader_drecas:                       no
cardreader_internal_azbox:               no
cardreader_internal_coolapi:             no
cardreader_internal_coolapi2:            no
cardreader_internal_sci:                 yes
cardreader_sc8in1:                       no
cardreader_mp35:                         no
cardreader_smargo:                       no
cardreader_pcsc:                         no
cardreader_smartreader:                  no
cardreader_db2com:                       no
cardreader_stapi:                        no
cardreader_stapi5:                       no
cardreader_stinger:                      yes

Do you have any other protocol or something that is missing in mine?

Barracuda09 commented 3 years ago

You did restart OSCam I assume.

BaltasarParreira commented 3 years ago

Yes I did. I'm starting SATPI only like this: satpi --http-path /usr/share/satpi/web

Do you use any other parameter?

Barracuda09 commented 3 years ago

I will convert this to a discussion