It worked properly in M5, but after upgrade to M6, this program rapports an errors listed below:
- Code: Select all
[maciek@Piotr Pobrane]$ java -jar airplay.jar -h apple-tv -d
Press ctrl-c to quit
java.io.IOException: Server returned HTTP response code: 403 for URL: http://apple-tv:7000/photo
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1926)
at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1921)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1920)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1490)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
at com.jameslow.AirPlay.doHTTP(Unknown Source)
at com.jameslow.AirPlay.doHTTP(Unknown Source)
at com.jameslow.AirPlay.photoRaw(Unknown Source)
at com.jameslow.AirPlay$PhotoThread.run(Unknown Source)
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: http://apple-tv:7000/photo
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1876)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
... 4 more
I know, airplay.jar is not something supported by Mageia but I think that it is Mageis 6 related problem (JAVA installation) , similar to topic https://forums.mageia.org/en/viewtopic.php?f=7&t=11842&p=69134#p69134
Any idea how to resolve that problem? Any workaround just like in topic listed above?