testing, STB blocked and stbapp

5,534 views
Skip to first unread message

Alejandro Murillo

unread,
Jun 19, 2013, 1:29:48 PM6/19/13
to stalker-m...@googlegroups.com
Hi. 
I downloaded the  VmVirtualBox_Ubuntu12.04.i386_MW.Stalker version in order to test if the portal can suit my needs. Everything seems to work fine, i can connect to the admin site, and can set a new user with my mac, but when i try to test the client with my browser (i'm using chrome), it keeps showing the 'Your STB is blocked' error message. I checked on the 'users' section on admin site and it says that i'm 'online', so the client is detected.

Searching on this group i found a similar problem, but they were requesting to enter debug mode, killing first the stbapp process

killall stbapp 
/usr/share/qt-4.6.0/stbapp -qws -display directfb http://.../stalker_portal/c/?debug

But this process is never run in my server, and even the /usr/share/qt-4.6.0 doesn't exists. I have read the install documentation and also i can't find anything related to stbapp.

Do i have missed something?

Peter Marinov

unread,
Jun 19, 2013, 1:48:06 PM6/19/13
to Stalker Middleware on behalf of Alejandro Murillo
​ ​
 /usr/share/qt-4.6.0.. stbapp
​  <-​
T
​his is the player app on STB MAG2XX not on stalker server.

To test
​portal ​
in browser
​from your computer ​
you need to provide debug and debug key parameters.


see this :


​Regards,


2013/6/19 Alejandro Murillo, Stalker Middleware <stalker-middleware+noreply-APn2w...@googlegroups.com>
>
> /usr/share/qt-4.6.0

Alejandro Murillo

unread,
Jun 20, 2013, 5:45:15 AM6/20/13
to stalker-m...@googlegroups.com
Hi Peter, tahnks for your quick reply.

Well, i tried that already, but i wasn't able to understand the problem just reading the log.

I even tried to send events to the client using the admin area and some of them worked. So is clear connected. It is just... blocked.

I keep searching, i post my debug log anyway in case it is a common problem.

Thanks again.



stb.init global.js:35
loader.append global.js:35
load_bar.add_pos 0 global.js:35
load_bar.set_pos 0 global.js:35
load_bar.add_log global.js:35
loader.append global.js:35
load_bar.add_pos 0 global.js:35
load_bar.set_pos 0 global.js:35
load_bar.add_log global.js:35
player.init global.js:35
TypeError Object #<Object> has no method 'InitPlayer' global.js:35
player.init_quick_ch_switch global.js:35
volume.init global.js:35
osd_clock.init global.js:35
time_shift_indication.init global.js:35
progressBar.init global.js:35
player.init_aspect_info global.js:35
stb.portal_path: stalker_portal global.js:35
TypeError Object #<Object> has no method 'RDir' global.js:35
this.mac: 00-22-64-1A-CF-09 global.js:35
this.serial_number: undefined global.js:35
this.stb_lang: undefined global.js:35
this.timezone: undefined global.js:35
this.ntp_server: undefined global.js:35
this.ip: global.js:35
this.type: global.js:35
this.version: global.js:35
this.hd: 0 global.js:35
this.get_user_profile global.js:35
stb.load() global.js:35
params: ({type:stb, action:get_profile, hd:0, ver:, num_banks: undefined, sn: undefined, stb_type:, image_version: undefined}) global.js:35
TypeError Object #<Object> has no method 'SetListFilesExt' global.js:35
connection_problem.hide global.js:35
/* SELECT * FROM (users) WHERE (mac='00-22-64-1A-CF-09') */ /* SELECT * FROM (cities) WHERE (id='25') */ /* SET time_zone="+03:00" */ /* SELECT * FROM (moderators) WHERE (mac='00-22-64-1A-CF-09' AND status=1) */ generated in: 0.019s; query counter: 5; cache hits: 0; cache miss: 0; php errors: 0; sql errors: 0; global.js:35
connection_problem.hide global.js:35
stb.get_localization global.js:35
stb.load() global.js:35
params: ({type:stb, action:get_localization}) global.js:35
loader.next global.js:35
loader.next global.js:35
/* SELECT * FROM (users) WHERE (mac='00-22-64-1A-CF-09') */ /* SELECT * FROM (cities) WHERE (id='25') */ /* SET time_zone="+03:00" */ /* SELECT * FROM (moderators) WHERE (mac='00-22-64-1A-CF-09' AND status=1) */ generated in: 0.033s; query counter: 5; cache hits: 0; cache miss: 0; php errors: 0; sql errors: 0; global.js:35
connection_problem.hide global.js:35
load_bar.add_pos 13 global.js:35
load_bar.set_pos 13 global.js:35
load_bar.add_log global.js:35
this.user: ({status:1}) global.js:35
this.user[deny_720p_gmode_on_mag200] undefined global.js:35
this.type global.js:35
screen.height 1024 global.js:35
screensaver.hide global.js:35
load_bar.stop global.js:35
stb.cut_off global.js:35
stb.player.media_type undefined global.js:35
stb.cur_place global.js:35
stb.load() global.js:35
params: ({type:stb, action:log, real_action:cut_off(), param:, tmp_type:0}) global.js:35
player.stop global.js:35
playback_limit.reset global.js:35
time_shift_indication.hide global.js:35
player.set_pos_button 0 global.js:35
player.update_current_time 0 global.js:35
to_pos 0 global.js:35
player.reset_pos_by_numbers global.js:35
stb.player.media_type undefined global.js:35
stb.cur_place global.js:35
stb.load() global.js:35
params: ({type:stb, action:log, real_action:stop, param:, tmp_type:0}) global.js:35
blocking.show global.js:35
stb.load_account_modules global.js:35
stb.load() global.js:35
params: ({type:stb, action:get_modules}) global.js:35
watchdog.run undefined undefined global.js:35
this.request_timeout 30000 global.js:35
now 1371720836305 global.js:35
day_start 1371679200000 global.js:35
Math.floor((now - day_start)/this.request_timeout) 1387 global.js:35
delay 3695 global.js:35
delay NaN global.js:35
date Invalid Date NaNms global.js:35
stb.player.media_type undefined global.js:35
stb.cur_place global.js:35
cur_play_type 0 global.js:35
now Thu Jun 20 2013 11:33:56 GMT+0200 (Hora de verano romance) 307ms global.js:35
stb.load() global.js:35
params: ({type:watchdog, action:get_events, cur_play_type:0, event_active_id:0, init:1}) global.js:35
clock.start() global.js:35
stb.setFrontPanel 1133 true global.js:35
stb.player.media_type undefined global.js:35
stb.cur_place global.js:35
cur_play_type 0 global.js:35
now Thu Jun 20 2013 11:33:56 GMT+0200 (Hora de verano romance) 340ms global.js:35
stb.load() global.js:35
params: ({type:watchdog, action:get_events, cur_play_type:0, event_active_id:0, init:0}) global.js:35
/* SELECT * FROM (users) WHERE (mac='00-22-64-1A-CF-09') */ /* SELECT * FROM (cities) WHERE (id='25') */ /* SET time_zone="+03:00" */ /* SELECT * FROM (moderators) WHERE (mac='00-22-64-1A-CF-09' AND status=1) */ /* INSERT INTO user_log (mac, action, param, time, type) value ('00-22-64-1A-CF-09', 'cut_off()', '', NOW(), '0') */ /* UPDATE users SET last_active=NOW(), keep_alive=NOW(), now_playing_type='0' WHERE (mac='00-22-64-1A-CF-09') */ generated in: 0.016s; query counter: 7; cache hits: 0; cache miss: 0; php errors: 0; sql errors: 0; global.js:35
connection_problem.hide global.js:35
/* SELECT * FROM (users) WHERE (mac='00-22-64-1A-CF-09') */ /* SELECT * FROM (cities) WHERE (id='25') */ /* SET time_zone="+03:00" */ /* SELECT * FROM (moderators) WHERE (mac='00-22-64-1A-CF-09' AND status=1) */ /* INSERT INTO user_log (mac, action, param, time, type) value ('00-22-64-1A-CF-09', 'stop', '', NOW(), '0') */ /* DELETE FROM vclub_paused WHERE (mac='00-22-64-1A-CF-09') */ /* UPDATE users SET now_playing_content='', storage_name='', hd_content='', now_playing_link_id='', now_playing_streamer_id='', last_active=NOW(), keep_alive=NOW(), now_playing_type=0 WHERE (mac='00-22-64-1A-CF-09') */ generated in: 0.088s; query counter: 8; cache hits: 0; cache miss: 0; php errors: 0; sql errors: 0; global.js:35
connection_problem.hide global.js:35
/* SELECT * FROM (users) WHERE (mac='00-22-64-1A-CF-09') */ /* SELECT * FROM (cities) WHERE (id='25') */ /* SET time_zone="+03:00" */ /* SELECT * FROM (moderators) WHERE (mac='00-22-64-1A-CF-09' AND status=1) */ /* UPDATE users SET keep_alive=NOW(), ip='192.168.1.13', now_playing_type=0, just_started=1, last_watchdog=NOW() WHERE (mac='00-22-64-1A-CF-09') */ /* SELECT * FROM (events) WHERE (uid='8' AND ended=0 AND eventtime>NOW()) ORDER BY priority ASC, addtime ASC */ /* SELECT * FROM (updated_places) WHERE (uid='8') */ generated in: 0.085s; query counter: 8; cache hits: 0; cache miss: 0; php errors: 0; sql errors: 0; global.js:35
connection_problem.hide global.js:35
watchdog.parse_result ({msgs:0, additional_services_on:1, updated:{anec:0, vclub:0}}) global.js:35
check_additional_services 1 global.js:35
/* SELECT * FROM (users) WHERE (mac='00-22-64-1A-CF-09') */ /* SELECT * FROM (cities) WHERE (id='25') */ /* SET time_zone="+03:00" */ /* SELECT * FROM (moderators) WHERE (mac='00-22-64-1A-CF-09' AND status=1) */ /* UPDATE users SET keep_alive=NOW(), ip='192.168.1.13', now_playing_type=0, just_started=0, last_watchdog=NOW() WHERE (mac='00-22-64-1A-CF-09') */ /* SELECT * FROM (events) WHERE (uid='8' AND ended=0 AND eventtime>NOW()) ORDER BY priority ASC, addtime ASC */ /* SELECT * FROM (updated_places) WHERE (uid='8') */ generated in: 0.061s; query counter: 8; cache hits: 0; cache miss: 0; php errors: 0; sql errors: 0; global.js:35
connection_problem.hide global.js:35
watchdog.parse_result ({msgs:0, additional_services_on:1, updated:{anec:0, vclub:0}}) global.js:35
check_additional_services 1 global.js:35
/* SELECT * FROM (users) WHERE (mac='00-22-64-1A-CF-09') */ /* SELECT * FROM (cities) WHERE (id='25') */ /* SET time_zone="+03:00" */ /* SELECT * FROM (moderators) WHERE (mac='00-22-64-1A-CF-09' AND status=1) */ /* SELECT * FROM (user_modules) WHERE (uid=8) */ /* SELECT * FROM (user_modules) WHERE (uid=8) */ generated in: 0.128s; query counter: 7; cache hits: 0; cache miss: 0; php errors: 0; sql errors: 0; global.js:35
connection_problem.hide global.js:35
stb.load_account_modules callback ({all_modules:[media_browser, tv, tv_archive, time_shift, epg.reminder, epg.recorder, epg, epg.simple, vclub, ex, olltv, megogo, vidimax, downloads_dialog, downloads, youtube, karaoke, radio, weather.current, widget.audio, records, remotepvr, pvr_local, settings.parent, settings.localization, settings.update, settings.playback, settings.common, settings.network_status, game.lines, game.memory, game.sudoku, picasa, settings, course.nbu, weather.weatherco.day, cityinfo, horoscope, anecdote, game.mastermind, account, demo, infoportal, internet, service_management, account_menu]], switchable_modules:[vclub, karaoke, weather.day, cityinfo, horoscope, anecdote, game.mastermind, infoportal]], disabled_modules:[], restricted_modules:[]}) global.js:35
all_modules [reset, context_menu, main_menu, alert, speedtest, layer.base, layer.list, layer.setting, layer.simple, layer.input, layer.sidebar, layer.search_box, layer.bottom_menu, layer.scrollbar, layer.vclub_info, image.viewer, password_input, series_switch, duration_input, account]] global.js:35
loader.add global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 16 global.js:35
load_bar.add_log global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 19 global.js:35
load_bar.add_log global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 22 global.js:35
load_bar.add_log global.js:35
main_menu.init global.js:35
get_image_version global.js:35
TypeError Object #<Object> has no method 'RDir' global.js:35
main_menu.hide global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 25 global.js:35
load_bar.add_log global.js:35
stb.init_alerts global.js:35
_alert.hide global.js:35
_alert.t_queue_handler global.js:35
_alert.hide global.js:35
_alert.t_queue_handler global.js:35
_alert.hide global.js:35
_alert.t_queue_handler global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 28 global.js:35
load_bar.add_log global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 31 global.js:35
load_bar.add_log global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 34 global.js:35
load_bar.add_log global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 37 global.js:35
load_bar.add_log global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 40 global.js:35
load_bar.add_log global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 43 global.js:35
load_bar.add_log global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 46 global.js:35
load_bar.add_log global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 49 global.js:35
load_bar.add_log global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 52 global.js:35
load_bar.add_log global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 55 global.js:35
load_bar.add_log global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 58 global.js:35
load_bar.add_log global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 61 global.js:35
load_bar.add_log global.js:35
BaseLayer.hide global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 64 global.js:35
load_bar.add_log global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 67 global.js:35
load_bar.add_log global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 70 global.js:35
load_bar.add_log global.js:35
loader.next global.js:35
loader.append global.js:35
load_bar.add_pos 3 global.js:35
load_bar.set_pos 73 global.js:35
load_bar.add_log global.js:35
account.init global.js:35
BaseLayer.init global.js:35
scrollbar.init global.js:35
stb.load() global.js:35
params: ({type:account_info, action:get_main_info}) global.js:35
scrollbar.init global.js:35
stb.load() global.js:35
params: ({type:account_info, action:get_payment_info}) global.js:35
scrollbar.init global.js:35
stb.load() global.js:35
params: ({type:account_info, action:get_agreement_info}) global.js:35
scrollbar.init global.js:35
stb.load() global.js:35
params: ({type:account_info, action:get_terms_info}) global.js:35
account.hide global.js:35
BaseLayer.hide global.js:35
scrollbar.reset global.js:35
setText INFORMATION global.js:35
setText PAYMENT global.js:35
setText AGREEMENT global.js:35
setText TERMS OF USE global.js:35
account.hide global.js:35
BaseLayer.hide global.js:35
scrollbar.reset global.js:35
loader.next global.js:35
/* SELECT * FROM (users) WHERE (mac='00-22-64-1A-CF-09') */ /* SELECT * FROM (cities) WHERE (id='25') */ /* SET time_zone="+03:00" */ /* SELECT * FROM (moderators) WHERE (mac='00-22-64-1A-CF-09' AND status=1) */ /* SELECT * FROM (users) WHERE (id=8) */ /* SELECT * FROM (tariff_plan) WHERE (user_default=1) */ generated in: 0.061s; query counter: 7; cache hits: 0; cache miss: 0; php errors: 0; sql errors: 0; global.js:35
connection_problem.hide global.js:35
account.fill_main_info ({fname:Alejandro, phone:, ls:10, last_change_status:2013-06-20 11:30:52}) global.js:35
/* SELECT * FROM (users) WHERE (mac='00-22-64-1A-CF-09') */ /* SELECT * FROM (cities) WHERE (id='25') */ /* SET time_zone="+03:00" */ /* SELECT * FROM (moderators) WHERE (mac='00-22-64-1A-CF-09' AND status=1) */ generated in: 0.057s; query counter: 5; cache hits: 0; cache miss: 0; php errors: 0; sql errors: 0; global.js:35
connection_problem.hide global.js:35
/* SELECT * FROM (users) WHERE (mac='00-22-64-1A-CF-09') */ /* SELECT * FROM (cities) WHERE (id='25') */ /* SET time_zone="+03:00" */ /* SELECT * FROM (moderators) WHERE (mac='00-22-64-1A-CF-09' AND status=1) */ generated in: 0.071s; query counter: 5; cache hits: 0; cache miss: 0; php errors: 0; sql errors: 0; global.js:35
connection_problem.hide global.js:35
/* SELECT * FROM (users) WHERE (mac='00-22-64-1A-CF-09') */ /* SELECT * FROM (cities) WHERE (id='25') */ /* SET time_zone="+03:00" */ /* SELECT * FROM (moderators) WHERE (mac='00-22-64-1A-CF-09' AND status=1) */ generated in: 0.026s; query counter: 5; cache hits: 0; cache miss: 0; php errors: 0; sql errors: 0; global.js:35
connection_problem.hide global.js:35
_alert.queue_handler global.js:35
_alert.queue_handler global.js:35
_alert.queue_handler global.js:35
stb.setFrontPanel 1134 true global.js:35
stb.player.media_type undefined global.js:35
stb.cur_place global.js:35
cur_play_type 0 global.js:35
now Thu Jun 20 2013 11:34:26 GMT+0200 (Hora de verano romance) 340ms global.js:35
stb.load() global.js:35
params: ({type:watchdog, action:get_events, cur_play_type:0, event_active_id:0, init:0}) global.js:35
/* SELECT * FROM (users) WHERE (mac='00-22-64-1A-CF-09') */ /* SELECT * FROM (cities) WHERE (id='25') */ /* SET time_zone="+03:00" */ /* SELECT * FROM (moderators) WHERE (mac='00-22-64-1A-CF-09' AND status=1) */ /* UPDATE users SET keep_alive=NOW(), ip='192.168.1.13', now_playing_type=0, just_started=0, last_watchdog=NOW() WHERE (mac='00-22-64-1A-CF-09') */ /* SELECT * FROM (events) WHERE (uid='8' AND ended=0 AND eventtime>NOW()) ORDER BY priority ASC, addtime ASC */ /* SELECT * FROM (updated_places) WHERE (uid='8') */ generated in: 0.02s; query counter: 8; cache hits: 0; cache miss: 0; php errors: 0; sql errors: 0; global.js:35
connection_problem.hide global.js:35
watchdog.parse_result ({msgs:0, additional_services_on:1, updated:{anec:0, vclub:0}}) global.js:35
check_additional_services 1 global.js:35










El dimecres 19 de juny de 2013 19:48:06 UTC+2, Peter va escriure:
​Regards,


2013/6/19 Alejandro Murillo, Stalker Middleware <stalker-middleware+noreply-APn2wQfHcL8CwiAH-Umvdrb9Xz06qeq5_VPhT@googlegroups.com>
>
> /usr/share/qt-4.6.0

Aleksey Zhurbitsky

unread,
Jun 20, 2013, 8:54:05 AM6/20/13
to stalker-m...@googlegroups.com
this.mac: 00-22-64-1A-CF-09
You need to use MAC of your stb (MAG250 or AuraHD)  in format 00:1A:79:XX:XX:XX
e.g.
http://../stalker_portal/c/index.html?debug&debug_key=...&mac=00:1A:79:00:00:00

Or you can try to set in server/custom.ini
enable_mac_format_validation = false


<span class="console-message-text source-code" style="box-sizin
...

Rosen Pashov

unread,
Jul 8, 2015, 1:14:21 PM7/8/15
to stalker-m...@googlegroups.com
Hello, I didnt wanted to open new topic so I will ask my question here. 

I've installed stalker portal successfully on ubuntu server 14.04

What I struggle to do is authenticate by mac address.

When i turn enable_mac_format_validation = false - I manage to load the portal on any device (box, android phone with emulator, web browser etc.)
The problem is that I cant figure out how authentication actually works. When i turn enable_mac_format_validation = true - i cant load the portal (i get message "Your stb is blocked") I have setup some users in the admin interface, with the correct mac address of the device im trying to connect with and still no success. 

Please explain me the authentication process and how it works. Is there a conflict between api_authentication and mac_format_validation ? Should i turn api authentication off in order to authenticate by mac address ? I just dont get it.
Thanks in advance

Aleksey Zhurbitsky

unread,
Jul 9, 2015, 3:26:26 AM7/9/15
to stalker-m...@googlegroups.com
When you set
enable_mac_format_validation = true
The portal blocks all devices where mac does not start with 00:1A:79:

Is there a conflict between api_authentication and mac_format_validation ? 
I don't see api_authentication param in the config. 

Rosen Pashov

unread,
Jul 12, 2015, 1:56:56 AM7/12/15
to stalker-m...@googlegroups.com
Thank you Aleksey,

I've managed to authenticate by mac. I did not know that the mac of the device should start with 00:1A:79: 
Problem now solved, thank you.
Reply all
Reply to author
Forward
0 new messages