I have just updated our Wowza farm from 4.7.7 to 4.8.0 and now I’m getting this error on 4 out of 10 servers (all Windows). None of the servers reported error during upgrade. I have tried restarting one of the servers but it still returns this error.
I’ll demonstrate all the REST API calls below.
Get stream files:
http://hostname:8087
/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/streamfiles
Returns:
{
"serverName": "_defaultServer_",
"streamFiles": [
{
"id": "myStream",
"href": "/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/streamfiles/myStream"
}
]
}
Get stream file:
[http://hostname:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/streamfiles/myStream](http://hostname:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/streamfiles/myStream)
Returns:
{
"version": "1591450261539",
"serverName": "_defaultServer_",
"name": "myStream",
"uri": "srt://0.0.0.0:10000"
}
Connect stream file:
http://hostname:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/streamfiles/myStream/actions/connect?connectAppName=live&appInstance=_definst_&mediaCasterType=srt
Returns:
<strong>{
"success": false,
"message": "Unknown action: connect",
"data": null
}</strong>
Trying to connect it in the GUI results in the same message:
The error log confirms it:
ERROR server comment 2020-06-06 21:47:50 - - - - - 74865.239 - - - - - - - - REST API: Unknown action: connect
In the access log there is a Java error right before the “Unknown action: connect” message:
2020-06-06 20:36:59 CST comment server INFO 200 - SRTSessionNative.loadLibrary: Native load error: D:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.6.0/lib-native/win64/srt/srt.dll: java.lang.UnsatisfiedLinkError: D:\Program Files (x86)\Wowza Media Systems\Wowza Streaming Engine 4.6.0\lib-native\win64\srt\srt.dll: Can't find dependent libraries|at java.base/java.lang.ClassLoader$NativeLibrary.load(Native Method)|at java.base/java.lang.ClassLoader.loadLibrary0(Unknown Source)|at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source)|at java.base/java.lang.Runtime.load0(Unknown Source)|at java.base/java.lang.System.load(Unknown Source)| - - - 70614.305 - - - - - - - - - - - - - - - - - - - - - - - - -
2020-06-06 20:36:59 CST comment server INFO 200 - SRTSessionNative.loadLibrary: Native load error: D:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.6.0/lib-native/win64/srt/wms-srt.dll: java.lang.UnsatisfiedLinkError: D:\Program Files (x86)\Wowza Media Systems\Wowza Streaming Engine 4.6.0\lib-native\win64\srt\wms-srt.dll: Can't find dependent libraries|at java.base/java.lang.ClassLoader$NativeLibrary.load(Native Method)|at java.base/java.lang.ClassLoader.loadLibrary0(Unknown Source)|at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source)|at java.base/java.lang.Runtime.load0(Unknown Source)|at java.base/java.lang.System.load(Unknown Source)| - - - 70614.325 - - - - - - - - - - - - - - - - - - - - - - - - -
2020-06-06 20:37:00 CST comment server ERROR 500 - REST API: Unknown action: connect - - - 70614.391 - - - - - - - - - - - - - - - - - - - - - - - - -
Edit: I started Wowza in console mode and retried the same operation. It logged the following:
INFO server comment - LiveMediaSRTReceiver.create
INFO server comment - SRTSessionNative.loadLibrary: Native load error: C:/Progra
m Files (x86)/Wowza Media Systems/Wowza Streaming Engine/lib-native/win64/srt/sr
t.dll: java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Wowza Media System
s\Wowza Streaming Engine\lib-native\win64\srt\srt.dll: Can't find dependent libr
aries|at java.base/java.lang.ClassLoader$NativeLibrary.load(Native Method)|at ja
va.base/java.lang.ClassLoader.loadLibrary0(Unknown Source)|at java.base/java.lan
g.ClassLoader.loadLibrary(Unknown Source)|at java.base/java.lang.Runtime.load0(U
nknown Source)|at java.base/java.lang.System.load(Unknown Source)|
INFO server comment - SRTSessionNative.loadLibrary: Native load error: C:/Progra
m Files (x86)/Wowza Media Systems/Wowza Streaming Engine/lib-native/win64/srt/wm
s-srt.dll: java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Wowza Media Sy
stems\Wowza Streaming Engine\lib-native\win64\srt\wms-srt.dll: Can't find depend
ent libraries|at java.base/java.lang.ClassLoader$NativeLibrary.load(Native Metho
d)|at java.base/java.lang.ClassLoader.loadLibrary0(Unknown Source)|at java.base/
java.lang.ClassLoader.loadLibrary(Unknown Source)|at java.base/java.lang.Runtime
.load0(Unknown Source)|at java.base/java.lang.System.load(Unknown Source)|
ERROR server comment - REST API: Unknown action: connect
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields
(file:/C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine/lib/xst
ream-1.4.11.1.jar) to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.x
stream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect
ive access operations
WARNING: All illegal access operations will be denied in a future release