Jump to content


Photo

[HELP] Android app does not want to play any videos, but browser on laptop (win10) works.

android not playing vpn movie

  • Please log in to reply
5 replies to this topic

#1 Berghopper OFFLINE  

Berghopper

    Newbie

  • Members
  • 3 posts
  • Local time: 02:49 AM

Posted 01 January 2018 - 01:52 PM

So a little background to my setup;

 

Server Specs:
 
  • Ryzen 5 1600
  • Asus b350-plus
  • 2x4tb WD Reds
  • 2x128gb Sandisk ssds
  • Antec 530W power supply
  • gt710
  • 16gb balistix RAM

The server is running latest debian (9.3) and has multiple virtual machines to handle certain things (also running the same debian version). Emby is running under a virtual machine 'debianserving' and has a shared folder pointed to it so emby can access the files. However (and I suspect this might be a culprit) I do not want to port-forward the emby server, and instead I have another vm with openvpn installed on it so I can have access to my internal network. I am using 2048-bits encryption. Using emby via browser works fine when I connect to the internal ip when I'm on the vpn. Android however, does not seem to want to play any videos. I can access the server and everything on it, but once I want to play a video it just keeps showing the loading animation. As far as I can read the logs, the app tries to reach the public ip address of the server (I replaced it in the logs with 'mypublicip') and request something. I added my emby account to the admin user on the server as well. I have no idea what is going on here honestly, hoping you guys can help. Logs are below;

 

(9b6cd5f0-83e8-414d-9d6b-00a7290ce8d0.log)

Mon Jan 01 18:52:42 GMT+02:00 2018 AndroidSyncFileRepository started. syncPath: /storage/emulated/0/Android/data/com.mb.android/files/sync
Mon Jan 01 18:52:42 GMT+02:00 2018 Calling MediaSyncAdapter.updateSyncPreferences. syncPath: null
Mon Jan 01 18:52:43 GMT+02:00 2018 Received instruction to updateCredentials
Mon Jan 01 18:52:43 GMT+02:00 2018 AppVersion: 2.9.76
Mon Jan 01 18:52:43 GMT+02:00 2018 DeviceId: 1758019bfd5688de
Mon Jan 01 18:52:43 GMT+02:00 2018 DeviceName: Moto G 4
Mon Jan 01 18:52:43 GMT+02:00 2018 initStore called
Mon Jan 01 18:52:43 GMT+02:00 2018 IAB helper created.
Mon Jan 01 18:52:43 GMT+02:00 2018 Starting in-app billing setup.
Mon Jan 01 18:52:43 GMT+02:00 2018 Billing service connected.
Mon Jan 01 18:52:43 GMT+02:00 2018 Checking for in-app billing 3 support.
Mon Jan 01 18:52:43 GMT+02:00 2018 In-app billing version 3 supported for com.mb.android
Mon Jan 01 18:52:43 GMT+02:00 2018 Subscriptions AVAILABLE.
Mon Jan 01 18:52:43 GMT+02:00 2018 Starting async operation: refresh inventory
Mon Jan 01 18:52:43 GMT+02:00 2018 Querying owned items, item type: inapp
Mon Jan 01 18:52:43 GMT+02:00 2018 Package name: com.mb.android
Mon Jan 01 18:52:43 GMT+02:00 2018 Querying SKU details.
Mon Jan 01 18:52:43 GMT+02:00 2018 Querying owned items, item type: subs
Mon Jan 01 18:52:43 GMT+02:00 2018 Package name: com.mb.android
Mon Jan 01 18:52:43 GMT+02:00 2018 Querying SKU details.
Mon Jan 01 18:52:43 GMT+02:00 2018 Ending async operation: refresh inventory
Mon Jan 01 18:52:43 GMT+02:00 2018 Sending url to webView: IapManager.onStoreReady();
Mon Jan 01 18:52:43 GMT+02:00 2018 getPurchaseInfos
Mon Jan 01 18:52:43 GMT+02:00 2018 Checking purchase status of com.mb.android.playback
Mon Jan 01 18:52:43 GMT+02:00 2018 Starting async operation: refresh inventory
Mon Jan 01 18:52:43 GMT+02:00 2018 Querying owned items, item type: inapp
Mon Jan 01 18:52:43 GMT+02:00 2018 Package name: com.mb.android
Mon Jan 01 18:52:43 GMT+02:00 2018 file:///android_asset/www/index.html: Line 0 : Uncaught (in promise) SecurityError: Failed to register a ServiceWorker: The URL protocol of the current origin ('file://') is not supported.
Mon Jan 01 18:52:43 GMT+02:00 2018 Querying SKU details.
Mon Jan 01 18:52:43 GMT+02:00 2018 queryPrices: nothing to do because there are no SKUs.
Mon Jan 01 18:52:43 GMT+02:00 2018 Querying owned items, item type: subs
Mon Jan 01 18:52:43 GMT+02:00 2018 Package name: com.mb.android
Mon Jan 01 18:52:43 GMT+02:00 2018 Querying SKU details.
Mon Jan 01 18:52:43 GMT+02:00 2018 queryPrices: nothing to do because there are no SKUs.
Mon Jan 01 18:52:43 GMT+02:00 2018 Ending async operation: refresh inventory
Mon Jan 01 18:52:43 GMT+02:00 2018 *** IsPurchased Result: com.mb.android.playback Failure
Mon Jan 01 18:52:43 GMT+02:00 2018 Sending url to webView: window.IapManager.updateProduct("com.mb.android.playback", false, "€4,99")
Mon Jan 01 18:52:43 GMT+02:00 2018 Checking purchase status of com.mb.android.unlock
Mon Jan 01 18:52:43 GMT+02:00 2018 Starting async operation: refresh inventory
Mon Jan 01 18:52:43 GMT+02:00 2018 Querying owned items, item type: inapp
Mon Jan 01 18:52:43 GMT+02:00 2018 Package name: com.mb.android
Mon Jan 01 18:52:43 GMT+02:00 2018 Querying SKU details.
Mon Jan 01 18:52:43 GMT+02:00 2018 queryPrices: nothing to do because there are no SKUs.
Mon Jan 01 18:52:43 GMT+02:00 2018 Querying owned items, item type: subs
Mon Jan 01 18:52:43 GMT+02:00 2018 Package name: com.mb.android
Mon Jan 01 18:52:43 GMT+02:00 2018 Querying SKU details.
Mon Jan 01 18:52:43 GMT+02:00 2018 queryPrices: nothing to do because there are no SKUs.
Mon Jan 01 18:52:43 GMT+02:00 2018 Ending async operation: refresh inventory
Mon Jan 01 18:52:43 GMT+02:00 2018 *** IsPurchased Result: com.mb.android.unlock Failure
Mon Jan 01 18:52:43 GMT+02:00 2018 Checking purchase status of emby.supporter.monthly
Mon Jan 01 18:52:43 GMT+02:00 2018 Starting async operation: refresh inventory
Mon Jan 01 18:52:43 GMT+02:00 2018 Querying owned items, item type: inapp
Mon Jan 01 18:52:43 GMT+02:00 2018 Package name: com.mb.android
Mon Jan 01 18:52:43 GMT+02:00 2018 Querying SKU details.
Mon Jan 01 18:52:43 GMT+02:00 2018 queryPrices: nothing to do because there are no SKUs.
Mon Jan 01 18:52:43 GMT+02:00 2018 Querying owned items, item type: subs
Mon Jan 01 18:52:43 GMT+02:00 2018 Package name: com.mb.android
Mon Jan 01 18:52:43 GMT+02:00 2018 Querying SKU details.
Mon Jan 01 18:52:43 GMT+02:00 2018 queryPrices: nothing to do because there are no SKUs.
Mon Jan 01 18:52:43 GMT+02:00 2018 Ending async operation: refresh inventory
Mon Jan 01 18:52:43 GMT+02:00 2018 *** IsPurchased Result: emby.supporter.monthly Failure
Mon Jan 01 18:52:43 GMT+02:00 2018 Sending url to webView: window.IapManager.updateProduct("emby.supporter.monthly", false, "€7,05")
Mon Jan 01 18:52:43 GMT+02:00 2018 com.mb.android.apiinteraction.discovery.ServerLocator>>> Request packet sent to: 255.255.255.255 (DEFAULT)
Mon Jan 01 18:52:43 GMT+02:00 2018 com.mb.android.apiinteraction.discovery.ServerLocator>>> Done looping over all network interfaces. Now waiting for a reply!
Mon Jan 01 18:52:44 GMT+02:00 2018 Executing chromecast action initialize request id: 1
Mon Jan 01 18:52:44 GMT+02:00 2018 initialize origin_scoped 2D4B1DA3 2D4B1DA3
Mon Jan 01 18:52:44 GMT+02:00 2018 lastAppId 2D4B1DA3
Mon Jan 01 18:52:44 GMT+02:00 2018 Server discovery timed out waiting for response.
Mon Jan 01 18:52:44 GMT+02:00 2018 Found 0 servers
Mon Jan 01 18:52:44 GMT+02:00 2018 Received instruction to updateCredentials
Mon Jan 01 18:52:45 GMT+02:00 2018 Received instruction to updateCredentials
Mon Jan 01 18:52:45 GMT+02:00 2018 Executing chromecast action emitAllRoutes request id: 2
Mon Jan 01 18:52:49 GMT+02:00 2018 Executing chromecast action emitAllRoutes request id: 3
Mon Jan 01 18:52:51 GMT+02:00 2018 No local media source found for item id: 49f1db73b6bc58fc6ecdebe777e65b06
Mon Jan 01 18:52:59 GMT+02:00 2018 Executing chromecast action emitAllRoutes request id: 4
Mon Jan 01 18:57:42 GMT+02:00 2018 MainActivity.onPause
Mon Jan 01 19:01:42 GMT+02:00 2018 file:///android_asset/www/index.html#!/itemdetails.html?id=49f1db73b6bc58fc6ecdebe777e65b06&serverId=fc72b768bd774fefbd185b6d0412bb7d: Line 0 : Uncaught (in promise) TypeError: Failed to fetch
Mon Jan 01 19:01:42 GMT+02:00 2018 file:///android_asset/www/index.html#!/itemdetails.html?id=49f1db73b6bc58fc6ecdebe777e65b06&serverId=fc72b768bd774fefbd185b6d0412bb7d: Line 0 : Uncaught (in promise) TypeError: Failed to fetch
Mon Jan 01 19:02:43 GMT+02:00 2018 Checking network connection
Mon Jan 01 19:02:43 GMT+02:00 2018 Current network type NOT_ROAMING
Mon Jan 01 19:02:43 GMT+02:00 2018 MediaSyncAdapter starting
Mon Jan 01 19:02:43 GMT+02:00 2018 AndroidSyncFileRepository started. syncPath: /storage/emulated/0/Android/data/com.mb.android/files/sync
Mon Jan 01 19:02:43 GMT+02:00 2018 Skipping manual connection test because the address is the same as the local address
Mon Jan 01 19:02:43 GMT+02:00 2018 Getting response stream from http://192.168.59.247:8096/emby/system/info/public?format=json
Mon Jan 01 19:02:53 GMT+02:00 2018 Error sending request
java.net.SocketTimeoutException
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:343)
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:205)
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:187)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:356)
java.net.Socket.connect(Socket.java:586)
com.android.okhttp.internal.Platform.connectSocket(Platform.java:113)
com.android.okhttp.Connection.connectSocket(Connection.java:196)
com.android.okhttp.Connection.connect(Connection.java:172)
com.android.okhttp.Connection.connectAndSetOwner(Connection.java:367)
com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:130)
com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:329)
com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:246)
com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:457)
com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:126)
com.mb.android.apiinteraction.RequestHelper.getResponseStreamInternal(RequestHelper.java:126)
com.mb.android.apiinteraction.RequestHelper$1.run(RequestHelper.java:24)
java.lang.Thread.run(Thread.java:761)
Mon Jan 01 19:02:53 GMT+02:00 2018 Getting response stream from http://mypublicip:8096/emby/system/info/public?format=json
Mon Jan 01 19:03:08 GMT+02:00 2018 Error sending request
java.net.SocketTimeoutException
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:343)
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:205)
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:187)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:356)
java.net.Socket.connect(Socket.java:586)
com.android.okhttp.internal.Platform.connectSocket(Platform.java:113)
com.android.okhttp.Connection.connectSocket(Connection.java:196)
com.android.okhttp.Connection.connect(Connection.java:172)
com.android.okhttp.Connection.connectAndSetOwner(Connection.java:367)
com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:130)
com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:329)
com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:246)
com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:457)
com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:126)
com.mb.android.apiinteraction.RequestHelper.getResponseStreamInternal(RequestHelper.java:126)
com.mb.android.apiinteraction.RequestHelper$1.run(RequestHelper.java:24)
java.lang.Thread.run(Thread.java:761)
Mon Jan 01 19:03:08 GMT+02:00 2018 No server available
Mon Jan 01 19:03:08 GMT+02:00 2018 Skipping sync process for server debianserving. No server authentication information available.
Mon Jan 01 19:03:08 GMT+02:00 2018 Skipping manual connection test because the address is the same as the local address
Mon Jan 01 19:03:08 GMT+02:00 2018 Getting response stream from http://192.168.59.247:8096/emby/system/info/public?format=json
Mon Jan 01 19:03:18 GMT+02:00 2018 Error sending request
java.net.SocketTimeoutException
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:343)
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:205)
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:187)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:356)
java.net.Socket.connect(Socket.java:586)
com.android.okhttp.internal.Platform.connectSocket(Platform.java:113)
com.android.okhttp.Connection.connectSocket(Connection.java:196)
com.android.okhttp.Connection.connect(Connection.java:172)
com.android.okhttp.Connection.connectAndSetOwner(Connection.java:367)
com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:130)
com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:329)
com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:246)
com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:457)
com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:126)
com.mb.android.apiinteraction.RequestHelper.getResponseStreamInternal(RequestHelper.java:126)
com.mb.android.apiinteraction.RequestHelper$1.run(RequestHelper.java:24)
java.lang.Thread.run(Thread.java:761)
Mon Jan 01 19:03:18 GMT+02:00 2018 Getting response stream from http://mypublicip:8096/emby/system/info/public?format=json
Mon Jan 01 19:03:33 GMT+02:00 2018 Error sending request
java.net.SocketTimeoutException
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:343)
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:205)
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:187)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:356)
java.net.Socket.connect(Socket.java:586)
com.android.okhttp.internal.Platform.connectSocket(Platform.java:113)
com.android.okhttp.Connection.connectSocket(Connection.java:196)
com.android.okhttp.Connection.connect(Connection.java:172)
com.android.okhttp.Connection.connectAndSetOwner(Connection.java:367)
com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:130)
com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:329)
com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:246)
com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:457)
com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:126)
com.mb.android.apiinteraction.RequestHelper.getResponseStreamInternal(RequestHelper.java:126)
com.mb.android.apiinteraction.RequestHelper$1.run(RequestHelper.java:24)
java.lang.Thread.run(Thread.java:761)
Mon Jan 01 19:03:33 GMT+02:00 2018 No server available
Mon Jan 01 19:03:33 GMT+02:00 2018 Skipping sync process for server debianserving. No server authentication information available.
Mon Jan 01 19:03:33 GMT+02:00 2018 MultiServerSync complete

This is the log from my android phone (moto g4). I also took a look at the server log, but it does not seem to have logged anything during the time of trying to reach it with the app.

 

Thanks in advance for any replies.

 

Attached Files



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139848 posts
  • Local time: 08:49 PM

Posted 01 January 2018 - 02:15 PM

Hi, it appears to me like the entire app has lost connection with the server. Did the network change on the device from the time you started the app until the time you tried to play something?



#3 Berghopper OFFLINE  

Berghopper

    Newbie

  • Members
  • 3 posts
  • Local time: 02:49 AM

Posted 01 January 2018 - 02:39 PM

Hi, it appears to me like the entire app has lost connection with the server. Did the network change on the device from the time you started the app until the time you tried to play something?

No, I am staying on the same network, I keep my vpn enabled while it's loading the video. Also another issue; I did not know the app had to be purchased, because I am not getting any messages about this. Another user on discord informed me about this. I don't mind to purchase the app, but there's no messages / menu or whatever that makes it possible for me to do so. Also the network the server is currently on is really unstable with any dns queries for some reason. I will move the server to another place in 2 weeks or so. Might it be possible that the connection is lost because it is dependent on dns queries?


Edited by Berghopper, 01 January 2018 - 02:54 PM.


#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139848 posts
  • Local time: 08:49 PM

Posted 23 January 2018 - 03:11 AM

hi @Berghopper, not that i would expect a major difference, but can you please try again with the new release of emby server? thanks !



#5 Berghopper OFFLINE  

Berghopper

    Newbie

  • Members
  • 3 posts
  • Local time: 02:49 AM

Posted 23 January 2018 - 06:24 AM

hi @Berghopper, not that i would expect a major difference, but can you please try again with the new release of emby server? thanks !

Actually since last time, I have moved the server to another place where the network is stable. So far I have not had any issues on this network. So, sorry, I cannot test the newer version of emby on the old network it was on. VPN and everything works fine too. The old network mainly had issues with DNS request, it if had too much traffic it would basically throw up and not want to deal with it. I think that this is also why my VPN was having issues.

 

Anyways, thanks for still informing me, I won't mark this post as solved but I'll just leave it for the next person that has these kinds of problems so they can bump it.

 

Cheers!



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139848 posts
  • Local time: 08:49 PM

Posted 23 January 2018 - 01:42 PM

Thanks for the feedback.







Also tagged with one or more of these keywords: android, not playing, vpn, movie

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users