Is there a reason I cannot connect to Redis from a Trial Wowza Streaming Engine? Is there some kind of limitation?
The code below simply hangs and nothing gets logged except for the server initialisation logs.
Removing all Redis related code fixes the issue.
public class ModuleListenWebRTCSession extends ModuleBase{
public JedisPool pool = null;
public void onAppStart(IApplicationInstance appInstance) {
getLogger().info("[APP] Running"); //does not show in accesslog
this.pool = new JedisPool(new JedisPoolConfig(), "localhost");
try (Jedis jedis = pool.getResource()) {
jedis.set("foo", "bar");
String foobar = jedis.get("foo");
getLogger().info("Got foobar: " + foobar);
}
catch (Exception e){
getLogger().error(e.getMessage());
}
}
}