Hello,
I’m not able to use the ModuleRefererValidate in conjunction with Streamnamealias. How should I do?
I think that problem is in ${Stream.Name}. I use this play alias: mp4:demonstracao/*=mp4:amazons3/account/demonstracao/${Wildcard.Match1} and receive this error log in debug: running streamName does not equal session streamName.
2015-02-05 09:59:57 BRST comment server INFO 200 - ModuleStreamNameAlias.nameToAlias[play]: streamName:mp4:demonstracao/gopro360p.mp4 alias:{pattern: “mp4:demonstracao/*” alias:“mp4:amazons3/account/demonstracao/${Wildcard.Match1}” wildcardMatches:{[0]: “gopro360p.mp4”}} result:mp4:amazons3/account/demonstracao/gopro360p.mp4
2015-02-05 09:59:57 BRST comment application INFO 200 - ModuleRefererValidate: http request ipAddress [200.196.49.194]-
2015-02-05 09:59:57 BRST comment application INFO 200 - ModuleRefererValidate: http request streamName [amazons3/account/demonstracao/gopro360p.mp4]-
2015-02-05 09:59:57 BRST comment application INFO 200 - ModuleRefererValidate.checkSession [200.196.49.194: amazons3/account/demonstracao/gopro360p.mp4]
2015-02-05 09:59:57 BRST comment application INFO 200 - ModuleRefererValidate.checkSession : session info IPAddress [200.196.49.194]
2015-02-05 09:59:57 BRST comment application INFO 200 - ModuleRefererValidate.checkSession : session info Referer [relatorios.flash.account.com.br]
2015-02-05 09:59:57 BRST comment application INFO 200 - ModuleRefererValidate.checkSession : session info QueryStr []
2015-02-05 09:59:57 BRST comment application INFO 200 - ModuleRefererValidate.checkSession : session info ExpireTime [1423138194383]-
2015-02-05 09:59:57 BRST comment application INFO 200 - ModuleRefererValidate.checkSession : session info StreamName [demonstracao/gopro360p.mp4] -
2015-02-05 09:59:57 BRST comment application INFO 200 - ModuleRefererValidate.checkSession : session info AppInstance [definst] -
2015-02-05 09:59:57 BRST comment application INFO 200 - ModuleRefererValidate.checkSession : session info AppName [apptoken2]
2015-02-05 09:59:57 BRST comment application INFO 200 - ModuleRefererValidate.checkSession [session: appName: apptoken2, appInstName: definst, streamName: demonstracao/gopro360p.mp4, ipAddress: 200.196.49.194, queryStr: ] [ running appInstance: ‘definst’] [ running appName: ‘apptoken2’] [ session appInstance: ‘definst’] [ session appName: ‘apptoken2’]
2015-02-05 09:59:57 BRST comment application INFO 200 - ModuleRefererValidate.checkSession [session: appName: apptoken2, appInstName: definst, streamName: demonstracao/gopro360p.mp4, ipAddress: 200.196.49.194, queryStr: ]-
2015-02-05 09:59:57 BRST comment application INFO 200 - ModuleRefererValidate.checkSession [session: appName: apptoken2, appInstName: definst, streamName: demonstracao/gopro360p.mp4, ipAddress: 200.196.49.194, queryStr: ] [ running ipAddress: ‘200.196.49.194’ ] [ session ipAddress: ‘200.196.49.194’ ]-
2015-02-05 09:59:57 BRST comment application INFO 200 - ModuleRefererValidate.checkSession [session: appName: apptoken2, appInstName: definst, streamName: demonstracao/gopro360p.mp4, ipAddress: 200.196.49.194, queryStr: ] [ passFlag: true]
2015-02-05 09:59:57 BRST comment application INFO 200 - ModuleRefererValidate.checkSession [session: appName: apptoken2, appInstName: definst, streamName: demonstracao/gopro360p.mp4, ipAddress: 200.196.49.194, queryStr: ] [ running streamName: ‘amazons3/account/demonstracao/gopro360p.mp4’] [ session streamName: ‘demonstracao/gopro360p.mp4’]
2015-02-05 09:59:57 BRST comment application INFO 200 - ModuleRefererValidate.checkSession [session: appName: apptoken2, appInstName: definst, streamName: demonstracao/gopro360p.mp4, ipAddress: 200.196.49.194, queryStr: ] [ running streamName does not equal session streamName ]
2015-02-05 09:59:57 BRST comment application INFO 200 - ModuleRefererValidate.checkSession end [ passFlag: false] -
2015-02-05 09:59:57 BRST comment application INFO 200 - ModuleRefererValidate: http stream play rejected. 200.196.49.194: amazons3/account/demonstracao/gopro360p.mp4 -
2015-02-05 09:59:57 BRST comment server WARN 200 - HTTPStreamerAdapterCupertinoStreamer.onPlaylist[apptoken2/definst/mp4:demonstracao/gopro360p.mp4/playlist.m3u8]: Session not accepted