If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Hundreds to THOUSANDS of UDP Multicast requests (Bug Report)

abuttinoabuttino Posts: 238Members ✭✭
Recently I had noticed a flood of UDP Multicast requests coming from my tablet and phone, usually thousands per minute, sometimes stopping the firewall log because they are too frequent.

I froze Plex on my MotoX first (with greenify) while watching the firewall log; the requests from my phone immediately stopped. Same when I stopped it on my tablet.

Plex hasn't been running on my phone in quite a while. As far as i can tell, there is no reason for these requests to be coming through.

This could drain battery for sure, why does it happen?


Sent from my XT1060 using Tapatalk
«13

Comments

  • abuttinoabuttino Posts: 238Members ✭✭
    I was watching my firewall logs again today and found that Plex came out of a "greenified" hibernation and started broadcasting UDP/upnp broadcasts to my network.

    I would say that this kind of action should not happen on any circumstances.

    Not only this, the phone was SLEEPING when this happened! Not a behavior I'd expect out of any application that is hibernated while the phone is sleeping

    Sent from my Moto X
  • abuttinoabuttino Posts: 238Members ✭✭
    edited June 2014
    Why hasn't a Dev or Mod answered this? I need to keep donating money if they can't answer a simple question.

    This and the other problem where the cast API needs to be updated have gotten no attention.

    If you want money from constituents, tell us of some progress. Politicians have the luxury of people not wanting to move to escape corruption because they are lazy..

    Sent from my Moto X
  • Wag3Wag3 Posts: 237Members, Plex Pass Plex Pass

    Do you have the advertise as a player option turned on?

    Primary PMS: Ubuntu 14.04 VirtualBox VM, i7 4470k @3.8GHz, 8GB RAM

    Storage: 32TB ZFS Raid

    Mobile Client: Nexus 5, Nexus 7, TF101, TF201

    Other Clients: Multiple Chromecasts

  • abuttinoabuttino Posts: 238Members ✭✭
    No.

    Sent from my Nexus 7 using Tapatalk
  • Wag3Wag3 Posts: 237Members, Plex Pass Plex Pass

    I've been packet sniffing my wifi, and I don't see the behavior you're seeing. I've got a Nexus 5 and a Nexus 7 on this network and the upnp discovery packets are only coming a few per minute. Is the broadcast address on your nic being set correctly? I can't think of anything that would cause discovery to flip out like that, unless something was spamming plex with sleep/wake requests.

    Primary PMS: Ubuntu 14.04 VirtualBox VM, i7 4470k @3.8GHz, 8GB RAM

    Storage: 32TB ZFS Raid

    Mobile Client: Nexus 5, Nexus 7, TF101, TF201

    Other Clients: Multiple Chromecasts

  • abuttinoabuttino Posts: 238Members ✭✭
    My Nexus 7 2012 and Moto X observe the same behavior.

    The broadcast address on what nic?

    The firewall is blocking these requests because it is not destined for a computer.

    Sent from my Nexus 7 using Tapatalk
  • sa2000sa2000 Posts: 28,870Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member

    These packets should be sent every a few seconds - so at most probably 20 or so a minute.

    I think you should wait for the next occurrence and upload a packet capture and also the Plex for Android app log file which now you can send to yourself through the settings  

    Help given free on forums.            Fee-Based Personal Support & Help.        

    _______________________________________________________________________________________

    Plex Support Information              Troubleshooting               FAQs

    Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

    For list of 3rd party programs and malware / adware crashing Plex Media Server and mswsock.dll on windows, see Repeated crashing of Plex Media Server on Windows
     
  • Wag3Wag3 Posts: 237Members, Plex Pass Plex Pass

    The broadcast address on your wifi from the android. I just tried to check mine and I don't even know how to from within adb. I think it may be calculated via the subnet mask in android.

    Primary PMS: Ubuntu 14.04 VirtualBox VM, i7 4470k @3.8GHz, 8GB RAM

    Storage: 32TB ZFS Raid

    Mobile Client: Nexus 5, Nexus 7, TF101, TF201

    Other Clients: Multiple Chromecasts

  • Wag3Wag3 Posts: 237Members, Plex Pass Plex Pass
    sa2000 wrote on June 13 2014, 8:44 PM: »

    These packets should be sent every a few seconds - so at most probably 20 or so a minute.

    I think you should wait for the next occurrence and upload a packet capture and also the Plex for Android app log file which now you can send to yourself through the settings  

    Good idea. 

    t's possible that plex is getting some form of response from the firewall that is triggering a retry. It's likely a packet capture or even the log could shed some light.

    Primary PMS: Ubuntu 14.04 VirtualBox VM, i7 4470k @3.8GHz, 8GB RAM

    Storage: 32TB ZFS Raid

    Mobile Client: Nexus 5, Nexus 7, TF101, TF201

    Other Clients: Multiple Chromecasts

  • abuttinoabuttino Posts: 238Members ✭✭
    Ya, that's what I thought..

    255.0.0.0

    It obliterates battery and doesn't need to be sent for Plex to work properly. Please put this on the highest priority to be fixed.

    Waking the Android device to send these broadcast packets doesn't make Plex work any better and force stopping Plex doesn't effect the usability in the least.

    Sent from my Nexus 7 using Tapatalk
  • sa2000sa2000 Posts: 28,870Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member
    abuttino wrote on June 13 2014, 8:51 PM: »

    Ya, that's what I thought..

    255.0.0.0

    It obliterates battery and doesn't need to be sent for Plex to work properly. Please put this on the highest priority to be fixed.

    Waking the Android device to send these broadcast packets doesn't make Plex work any better and force stopping Plex doesn't effect the usability in the least.

    Sent from my Nexus 7 using Tapatalk

    i don't think anyone will fix anything without them seeing hard evidence of the problem. Anyway - this is what i think. See my earlier post

    Help given free on forums.            Fee-Based Personal Support & Help.        

    _______________________________________________________________________________________

    Plex Support Information              Troubleshooting               FAQs

    Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

    For list of 3rd party programs and malware / adware crashing Plex Media Server and mswsock.dll on windows, see Repeated crashing of Plex Media Server on Windows
     
  • Wag3Wag3 Posts: 237Members, Plex Pass Plex Pass

    Sorry to be a ****, but they are never going to put a bug effecting only one user on the highest priority. 

    Primary PMS: Ubuntu 14.04 VirtualBox VM, i7 4470k @3.8GHz, 8GB RAM

    Storage: 32TB ZFS Raid

    Mobile Client: Nexus 5, Nexus 7, TF101, TF201

    Other Clients: Multiple Chromecasts

  • abuttinoabuttino Posts: 238Members ✭✭
    How am I supposed to log this? It is a partial wake lock that happens after I've closed Plex. Wouldn't that logging only be when Plex is open?

    Sent from my Moto X
  • Wag3Wag3 Posts: 237Members, Plex Pass Plex Pass

    If plex is awake enough to send out a beacon then it's awake enough to write to the log.

    Primary PMS: Ubuntu 14.04 VirtualBox VM, i7 4470k @3.8GHz, 8GB RAM

    Storage: 32TB ZFS Raid

    Mobile Client: Nexus 5, Nexus 7, TF101, TF201

    Other Clients: Multiple Chromecasts

  • abuttinoabuttino Posts: 238Members ✭✭
    As expected. Absolutely nothing in the log:

    Manufacturer: motorola
    Device: ghost
    Model: XT1060
    Product: ghost_verizon
    Version: 4.4.2

    Description of issue:

    Link to Plex.tv forum post:



    Sent from my Moto X
  • tobytltobytl Posts: 57Members, Plex Pass Plex Pass

    That text isn't the app log, that's just the email body. The app log is an attached .txt file.

    When you click on the option to "Email Device Logs" a "complete using" or "sendto" list should come up. Make sure to actually choose an email app from that list (gmail works). Everything should be added for you, just put your own email address into the To: field and send. The log itself will be an attachment called something like "plex-log-abuttino.txt" (or plex-log-{myplexaccountname}.txt). Even if it's empty (which it should never be) that attached file should be there, or something else messed up (like the email app didn't take the attachment, or your email provider blocks .txt files, etc).

    I'm curious to see the log file myself, I've been having some issues with multicast of my own, wondering if it's the same thing I'm experiencing.

  • abuttinoabuttino Posts: 238Members ✭✭
    edited June 2014
    
    beginning of /dev/log/mainI/Plex    (10615): [device] Setting selected server to nullD/Plex    (10615): [device] Updating reachability of all devices (force=true).D/Plex    (10615): [device] Updating reachability of My Nexus 7 (force=true).D/Plex    (10615): [device] Updating reachability of Tino-Media-BR (force=true).I/Plex    (10615): [conn] Updating reachability for My Nexus 7 with 1 connections.D/Plex    (10615): [device] Updating reachability of Tino-Media-PC (force=true).D/Plex    (10615): [conn] Testing connection for My Nexus 7: http://10.0.0.111:32400I/Plex    (10615): [conn] Updating reachability for Tino-Media-BR with 2 connections.D/Plex    (10615): [device] Updating reachability of My XT926 (force=true).I/Plex    (10615): [conn] Updating reachability for Tino-Media-PC with 2 connections.D/Plex    (10615): [conn] Testing connection for Tino-Media-PC: http://10.0.0.105:3005D/Plex    (10615): [conn] Testing connection for Tino-Media-BR: http://10.0.0.109:3005D/Plex    (10615): [device] Updating reachability of My DROID RAZR HD (force=true).D/Plex    (10615): [conn] Testing connection for Tino-Media-PC: http://10.0.0.105:3005D/Plex    (10615): Fetching http://10.0.0.105:3005/resources?X-Plex-Token=<REMOVED>D/Plex    (10615): [conn] Testing connection for Tino-Media-BR: http://10.0.0.109:3005I/Plex    (10615): [conn] Updating reachability for My XT926 with 1 connections.D/Plex    (10615): [device] Updating reachability of My SAMSUNG-SGH-I727 (force=true).D/Plex    (10615): Fetching http://10.0.0.111:32400/resources?X-Plex-Token=<REMOVED>D/Plex    (10615): [conn] Testing connection for My XT926: http://10.0.0.106:32400I/Plex    (10615): [conn] Updating reachability for My DROID RAZR HD with 1 connections.D/Plex    (10615): [conn] Testing connection for My DROID RAZR HD: http://192.168.137.2:32400D/Plex    (10615): Fetching http://10.0.0.109:3005/resources?X-Plex-Token=<REMOVED>D/Plex    (10615): Fetching http://10.0.0.106:32400/resources?X-Plex-Token=<REMOVED>D/Plex    (10615): Fetching http://192.168.137.2:32400/resources?X-Plex-Token=<REMOVED>D/Plex    (10615): Fetching http://10.0.0.105:3005/resources?X-Plex-Token=<REMOVED>D/Plex    (10615): Fetching http://10.0.0.109:3005/resources?X-Plex-Token=<REMOVED>I/Plex    (10615): [conn] Updating reachability for My SAMSUNG-SGH-I727 with 1 connections.D/Plex    (10615): [conn] Testing connection for My SAMSUNG-SGH-I727: http://10.82.92.254:32400D/Plex    (10615): Fetching http://10.82.92.254:32400/resources?X-Plex-Token=<REMOVED>D/Plex    (10615): [device] Selected device is Tino-Media-PCD/Plex    (10615):
    
    D/Plex    (10615): Hello, Plex for Android world 3.3.2.137 (debug: false)!D/Plex    (10615): Manufacturer: motorola Device: ghost Model: XT1060 Product: ghost_verizon Version: 4.4.2D/Plex    (10615): Screen size: Normal Screen density: XHigh Resolution: 1280x720 DPI: 320 Marketplace: NoneI/Plex    (10615): [conn] Connection FAILURE My XT926 ~ Connection: http://10.0.0.106:32400 token used: true types: [myplex] state: UnreachableI/Plex    (10615): [conn] Connectivity test to My XT926 completed in 0.1 SECONDS -> FAILEDW/GAV2    (10615): Thread[main,5,main]: Need to call initialize() and be in fallback mode to start dispatch.I/Plex    (10615): [GA] Starting session.I/Plex    (10615): [conn] Connection SUCCESS Tino-Media-PC ~ localConn: true conn: http://10.0.0.105:3005I/Plex    (10615): [conn] Connectivity test to Tino-Media-PC completed in 0.1 SECONDS -> Connection: http://10.0.0.105:3005 token used: true types: [myplex] state: ReachableD/Plex    (10615): [pms]Starting Plex Media Server at port 32400.D/Plex    (10615): [PublishResources] Publishing device resources.D/Plex    (10615): Entering MyPlexActivity.I/Plex    (10615): [Activity] Resuming the application, attempting to download item and children.E/Plex    (10615): [server] Couldn't load last read announcements: java.io.FileNotFoundException: /data/data/com.plexapp.plex/app_state/LastReadAnnouncement.txt: open failed: ENOENT (No such file or directory)D/Plex    (10615): Fetching https://my.plexapp.com/devices/d2a5a378-7f17-4262-81ee-248acc9baf63?Connection&#91;]&#91;uri]=http://10.0.0.106:32400&amp;auth_token=&lt;REMOVED&gt;D/Plex    (10615): [AudioService] Creating serviceD/Plex    (10615): Entering HomeActivity.I/Plex    (10615): [GA] Tracking activity (HomeActivity)D/Plex    (10615): Resuming HomeActivity.D/HockeyApp(10615): Looking for exceptions in: /data/data/com.plexapp.plex/filesD/HockeyApp(10615): Current handler class = com.plexapp.plex.application.PlexApplication$1D/dalvikvm(10615): GC_CONCURRENT freed 6605K, 39% free 12487K/20360K, paused 3ms+4ms, total 68msI/Adreno-EGL(10615): <qeglDrvAPI_eglInitialize:316>: EGL 1.4 QUALCOMM build:  (CL4169980)I/Adreno-EGL(10615): OpenGL ES Shader Compiler Version: 17.01.10.SPLI/Adreno-EGL(10615): Build Date: 12/04/13 WedI/Adreno-EGL(10615): Local Branch: workspaceI/Adreno-EGL(10615): Remote Branch: I/Adreno-EGL(10615): Local Patches: I/Adreno-EGL(10615): Reconstruct Branch: D/OpenGLRenderer(10615): Enabling debug mode 0I/Plex    (10615): [Cast] Application focused, performing active scan.W/MenuInflater(10615): Ignoring attribute 'actionProviderClass'. Action view already specified.D/dalvikvm(10615): GC_CONCURRENT freed 1670K, 38% free 12783K/20360K, paused 4ms+4ms, total 66msD/Plex    (10615): Fetching https://my.plexapp.com/devices/d2a5a378-7f17-4262-81ee-248acc9baf63/sync_items.xml?auth_token=<REMOVED>I/Plex    (10615): We downloaded 0 sync items, success true.E/Plex    (10615): Couldn't load application state from PlexViewStateManager: /data/data/com.plexapp.plex/app_state/PlexViewStateManager: open failed: ENOENT (No such file or directory)I/Plex    (10615): [sync] Reading state from mediaStatesE/Plex    (10615): [sync] Couldn't read state from mediaStatesI/Plex    (10615): [sync] Reading state from FileList.jsonE/Plex    (10615): [sync] Couldn't read state from FileList.jsonI/Plex    (10615): [ServerManager] Changing online mode, isOnline: trueD/Plex    (10615): [device] Updating reachability of all devices (force=true).D/Plex    (10615): [device] Updating reachability of Tino-Media-PC (force=true).I/Plex    (10615): [conn] Updating reachability for Tino-Media-PC with 1 connections.D/Plex    (10615): [conn] Testing connection for Tino-Media-PC: http://10.0.0.105:32400D/Plex    (10615): Fetching http://10.0.0.105:32400/?X-Plex-Token=<REMOVED>D/Plex    (10615): Broadcast receiver: server Offline was addedD/Plex    (10615): Broadcast receiver: server Offline was addedD/Plex    (10615): [GDM] Done browsing, we found 0 servers.D/Plex    (10615): [device] Updating reachability of all devices (force=false).D/Plex    (10615): [device] Updating reachability of Tino-Media-PC (force=false).D/Plex    (10615): [server] Knowledge complete: Tino-Media-PC version: 0.9.9.11.501-fd87a84 owned: true videoTranscode: true audioTranscode: true deletion: false class: nullI/Plex    (10615): [conn] Connection SUCCESS Tino-Media-PC ~ localConn: true conn: http://10.0.0.105:32400I/Plex    (10615): [conn] Connectivity test to Tino-Media-PC completed in 0.1 SECONDS -> Connection: http://10.0.0.105:32400 token used: true types: [myplex] state: ReachableD/Plex    (10615): [GCM] Registered with token: APA91bE0ydjHp_GN0FKWhb38ZRxnZ7TXoU0tQzyC5AzPPpCSVR4KQ7y9JPQkrU_0WK4VFRmPDe7qhft7usQW9bznh5B3TeyNdfwo6T1pPV4OAEcYBwaceKt0s-9-HCfS7z09K3cyvnhyXyH7yST8ykE4QUObyO5rCwD/Plex    (10615): [GDM] Done browsing, we found 0 players.D/Plex    (10615): [device] Updating reachability of all devices (force=false).D/Plex    (10615): [device] Updating reachability of My Nexus 7 (force=false).D/Plex    (10615): Going online...D/Plex    (10615): Finished manual server search, found 0 servers.D/Plex    (10615): [device] Updating reachability of Tino-Media-BR (force=false).D/Plex    (10615): [device] Updating reachability of Tino-Media-PC (force=false).D/Plex    (10615): [device] Updating reachability of My XT926 (force=false).I/Plex    (10615): [conn] Updating reachability for My Nexus 7 with 1 connections.D/Plex    (10615): [conn] Testing connection for My Nexus 7: http://10.0.0.111:32400D/Plex    (10615): [device] Updating reachability of My DROID RAZR HD (force=false).I/Plex    (10615): [conn] Updating reachability for My XT926 with 1 connections.D/Plex    (10615): Fetching http://10.0.0.111:32400/resources?X-Plex-Token=<REMOVED>D/Plex    (10615): [device] Updating reachability of My SAMSUNG-SGH-I727 (force=false).I/Plex    (10615): [conn] Updating reachability for My DROID RAZR HD with 1 connections.D/Plex    (10615): [conn] Testing connection for My DROID RAZR HD: http://192.168.137.2:32400D/Plex    (10615): [conn] Testing connection for My XT926: http://10.0.0.106:32400I/Plex    (10615): [conn] Updating reachability for My SAMSUNG-SGH-I727 with 1 connections.D/Plex    (10615): [conn] Testing connection for My SAMSUNG-SGH-I727: http://10.82.92.254:32400D/Plex    (10615): Fetching http://192.168.137.2:32400/resources?X-Plex-Token=<REMOVED>D/Plex    (10615): Fetching http://10.82.92.254:32400/resources?X-Plex-Token=<REMOVED>D/Plex    (10615): Fetching http://10.0.0.106:32400/resources?X-Plex-Token=<REMOVED>D/dalvikvm(10615): GC_CONCURRENT freed 1845K, 37% free 12985K/20360K, paused 7ms+3ms, total 49msD/dalvikvm(10615): WAIT_FOR_CONCURRENT_GC blocked 39msD/dalvikvm(10615): WAIT_FOR_CONCURRENT_GC blocked 39msD/dalvikvm(10615): WAIT_FOR_CONCURRENT_GC blocked 40msD/dalvikvm(10615): WAIT_FOR_CONCURRENT_GC blocked 40msD/dalvikvm(10615): WAIT_FOR_CONCURRENT_GC blocked 57msD/Plex    (10615): [pms] /10.0.0.106:35889 - GET /resourcesE/Plex    (10615): [player] Could not find player in /resources listI/Plex    (10615): [conn] Connection FAILURE My XT926 ~ Connection: http://10.0.0.106:32400 token used: true types: [myplex] state: UnreachableI/Plex    (10615): [conn] Connectivity test to My XT926 completed in 0.1 SECONDS -> FAILEDD/dalvikvm(10615): WAIT_FOR_CONCURRENT_GC blocked 85msD/Plex    (10615): Fetching https://my.plexapp.com/users/account?auth_token=<REMOVED>D/Plex    (10615): Fetching http://127.0.0.1:32400/library/sectionsD/Plex    (10615): Fetching http://127.0.0.1:32400/channels/allD/Plex    (10615): [pms] /127.0.0.1:60173 - GET /channels/allD/Plex    (10615): Fetching https://my.plexapp.com/pms/playlists/queue/all?auth_token=<REMOVED>D/dalvikvm(10615): GC_CONCURRENT freed 2046K, 36% free 13135K/20360K, paused 2ms+9ms, total 71msD/dalvikvm(10615): WAIT_FOR_CONCURRENT_GC blocked 47msD/dalvikvm(10615): WAIT_FOR_CONCURRENT_GC blocked 37msD/dalvikvm(10615): WAIT_FOR_CONCURRENT_GC blocked 38msD/Plex    (10615): [pms] /127.0.0.1:60174 - GET /library/sectionsD/Plex    (10615): Fetching https://my.plexapp.com/pms/resources?auth_token=<REMOVED>D/Plex    (10615): Fetching https://my.plexapp.com/pms/playlists/recommendations/all?auth_token=<REMOVED>I/Plex    (10615): [device] Setting selected server to Tino-Media-PC version: 0.9.9.11.501-fd87a84 owned: true videoTranscode: true audioTranscode: true deletion: false class: nullD/Plex    (10615): Broadcast receiver: server Tino-Media-PC was addedD/Plex    (10615): Broadcast receiver: server Tino-Media-PC was addedD/Plex    (10615): Broadcast receiver: server Tino-Media-PC was addedI/Plex    (10615): Notification of reachable server Tino-Media-PC.D/Plex    (10615): Broadcast receiver: server Tino-Media-PC was addedD/Plex    (10615): Broadcast receiver: server Tino-Media-PC was addedD/Plex    (10615): [device] Updating reachability of all devices (force=false).D/Plex    (10615): [device] Updating reachability of Tino-Media-PC (force=false).D/Plex    (10615): Added connection via MyPlex for Tino-Media-PC -> Connection: http://10.0.0.105:32400 token used: true types: [myplex] state: UnknownD/Plex    (10615): Added connection via MyPlex for Tino-Media-PC -> Connection: http://10.0.0.105:3005 token used: true types: [myplex] state: UnknownD/Plex    (10615): Added connection via MyPlex for Tino-Media-BR -> Connection: http://10.0.0.109:3005 token used: true types: [myplex] state: Unknown 
    Sent from my Moto X
  • Wag3Wag3 Posts: 237Members, Plex Pass Plex Pass

    I like the way you stripped all the newlines out of that to make it unreadable. 

    Primary PMS: Ubuntu 14.04 VirtualBox VM, i7 4470k @3.8GHz, 8GB RAM

    Storage: 32TB ZFS Raid

    Mobile Client: Nexus 5, Nexus 7, TF101, TF201

    Other Clients: Multiple Chromecasts

  • abuttinoabuttino Posts: 238Members ✭✭
    Huh, the only thing I stripped was the code and /code because it wasn't showing up as code


    Sent from my Moto X
  • sa2000sa2000 Posts: 28,870Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member

    Best to always use 'More Reply Options' and actually attach the files rather than paste text. 

    Help given free on forums.            Fee-Based Personal Support & Help.        

    _______________________________________________________________________________________

    Plex Support Information              Troubleshooting               FAQs

    Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

    For list of 3rd party programs and malware / adware crashing Plex Media Server and mswsock.dll on windows, see Repeated crashing of Plex Media Server on Windows
     
«13
Sign In or Register to comment.