Wowza Streaming Engine 4.7.5
I’m trying to setup edges with the dynamic lookup of origins with the StreamResolverModule.
I’ve configured the origins and edges according to the documentation and I can see the edge querying the origins and returning the right URL but it then disconnects and tells me it failed to play ‘wowz_STREAMNAME’ and prefixes the original stream name with ‘wowz_’.
Here is the log from the edge server…
INFO server comment - getNewURLsFromIgnite found 1 nodes
INFO server comment - getURLsFromIgnite adding 10.24.27.119 to list of nodes
INFO server comment - getURLsFromIgnite returning 10.24.27.119
INFO server comment - **Checking hostnames ... 10.24.27.119
INFO server comment - ModuleStreamResolver[sendUDPMessage] this.host:: 10.24.27.119 :: this.port :: 9777
INFO server comment - ServerListenerLocateSourceStream[UDPClient]Sending UDP Message :: {streamName: "test", appName: "origin", appInstanceName: "test", packetizerName: ""} to server :: 10.24.27.119:/10.24.27.119
INFO server comment - ServerListenerLocateSourceStream[UDPClient] FROM SERVER:{server: "10.24.27.119/origin/test/test"} from server::/10.24.27.119:9777
INFO server comment - ModuleStreamResolver[sendUDPMessage] response from host :: 10.24.27.119 :: {server: "10.24.27.119/origin/test/test"}
INFO application comment - ModuleStreamResolver.Lookup.run() before adding url for [edge/test/wowz_test] Lookup.url: wowz://10.24.27.119/origin/test/test, urls: {}
INFO application comment - ModuleStreamResolver.Lookup.run() after adding url for [edge/test/wowz_test] Lookup.url: wowz://10.24.27.119/origin/test/test, urls: {wowz_test=wowz://10.24.27.119/origin/test/test}
INFO application comment - ModuleStreamResolver.Lookup.run() before removing lookups for [edge/test/wowz_test] lookups: {wowz_test=Lookup: {streamName: wowz_test, name: test, packetizer: null, startTime: 1532633405084, url: wowz://10.24.27.119/origin/test/test}}
INFO application comment - ModuleStreamResolver.Lookup.run() after removing lookups for [edge/test/wowz_test] lookups: {}
INFO application comment - ModuleStreamResolver.lookupUrl after lookup, returning url for [edge/test/(wowz_test:null)] url: wowz://10.24.27.119/origin/test/test
DEBUG server comment - cmd: play
INFO server comment - ModuleStreamResolver.getStreamName[wowz_test]
INFO application comment - ModuleStreamResolver.lookupUrl Looking up url for [edge/test/(wowz_test:null)] lookups: {}, urls: {wowz_test=wowz://10.24.27.119/origin/test/test}
INFO application comment - ModuleStreamResolver.lookupUrl from urls list, returning url for [edge/test/(wowz_test:null)] url: wowz://10.24.27.119/origin/test/test
DEBUG server comment - cmd: setBufferTime
DEBUG session setbuffertime [605606963,1]: 3000 3000
DEBUG server comment - sessionClosed: send close
DEBUG server comment - sessionClosed: closeConnection: vhost:_defaultVHost_ clientId:605606963
INFO stream destroy wowz_test -
INFO session disconnect 605606963 -
DEBUG server comment - ServerHandler.handleSessionIdle: isDidClose
And this is the output when I try to play the stream from the edge with
$> ffplay -i “rtmp://edgeserver/edge/test/test”
2018-07-26 15:56:04.196 ffplay[70918:15790480] ApplePersistence=NO
[rtmp @ 0x7fd0b8637340] Server error: Failed to play wowz_test; stream not found.
rtmp://edgeserver/edge/test/test: Operation not permitted
Servers have full access to each other and are able to communicate to the resolver UDP(Client/Servers).
There is no security or stream protection on the origin.
I find it odd that it just disconnects.