Quantcast
Channel: Linux — Plex Forums
Viewing all 7311 articles
Browse latest View live

How do I reset PMS without clearing any library/database info?

$
0
0

Something is messed up with my server and I am unable to access it in any other way besides direct IP.

How can I reset it without wiping my database/library info?

My setup is like this:

  • Server 1 (windows - working) (PlexPass) in Plex Home owned by User 1 (me)

  • Server 2 (linux - not working) (no PlexPass) in Plex Home (same Plex Home) owned by User 2 (also me but different account)

It was working until recently but stopped. Log shows nothing when I attempt to connect via https://app.plex.tv/web/app.

I've already tried this: https://support.plex.tv/hc/en-us/articles/204281528-Why-am-I-locked-out-of-Server-Settings-and-how-do-I-get-in-


Success (kind of) running PMS on the Raspberry Pi Zero

$
0
0

Hello everyone, this is my first post. Nice to meet you all :) I managed to get PMS running on the Pi Zero (Headless) with a few issues. This project was a lot of fun and gave me a great reason to dive much deeper into Linux than I normally would. I will try to share everything I can, and hopefully others can give some tips and or insight. I'm sure I made some silly mistakes along the way and I am quite new to Plex. I forgot a few details after working on this for 4 days. I will try to remember everything and edit the post. But, this should give people a great starting point. It is important you use the correct architecture !! armel !!

Bill of Materials:
-Pi Zero -64GB MicroSD SanDisk -TPLink Nano N Wifi
-Raspbian Lite Jessie -http://plex-downloads.s3.amazonaws.com/0.9.6.1/PlexMediaServer-0.9.6.1-51848b3-Linux-ARM.tar.gz
- https://packages.debian.org/wheezy/armel/libgcrypt11/download

  1. Setup Raspbian Lite on SD Card.
  2. Configure Wifi, Network Interfaces and Turned off HDMI.
  3. Overclocking the Pi optional, but helpful. I clocked mine at 1Ghz
  4. First boot, SSH in.
  5. Modify sources list (/etc/apt/sources.list) and add these:
    deb [arch=armhf] http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
    deb [arch=armel] http://httpredir.debian.org/debian jessie main
    deb http://security.debian.org/debian-security wheezy/updates main
  6. apt-get update
  7. wget this: http://plex-downloads.s3.amazonaws.com/0.9.6.1/PlexMediaServer-0.9.6.1-51848b3-Linux-ARM.tar.gz and unzip it to a directory of your choosing
  8. apt-get install this: libgcrypt11:armel
  9. remove localization entries from start.sh
  10. run start.sh as root( yeah I know, it will not seem to load properly otherwise)
  11. Monitor the command output to look for errors, not all of them will stop things from working.
  12. http://IP:32400/web/index.html in browser and wait for the web interface to appear.
  13. it is very out of date. Let it update through the web interface. I am really surprised this did not break something.
  14. In the web interface, select you media directories.
  15. Add you files and let Plex find everything.
  16. At this point you should be good to go, minus a few issues.

For me:
1. Video playback and Transcoding of 1080p mkvs works fine using DLNA with VLC media player on iOS.
2. Video playback and Transcoding does not work in the browser (Error: Device is not powerful enough to transcode stream) Chrome: Debian/ Safari: OSX
3. The Pi shows up just fine in the iOS Plex Client, but when you select to view a library of videos, the application crashes back to the iOS home screen with no errors on the Server or Client.
4. The pi had no issues streaming the 1080p mkv, transferring a 5gb file via ftp and re-indexing the Plex library at the same time.

Good luck everyone :)

Plex Media Server crashes: Nat error

$
0
0

Hi, my plexmediaserver keeps random crashing while someone is using the server. I checked all the logs, but cant find out what's wrong with it.

This is my server info:
Plex Media Server v1.1.4.2757-24ffd60 - ubuntu PC x86_64 - build: linux-ubuntu-x86_64 ubuntu - GMT 02:00
Linux version: 3.16.0-4-amd64 (#1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03)), language: nl-NL
Processor Intel(R) Xeon(R) CPU X5650 @ 2.67GHz

My server is connected like this:
Modemrouter < DMZ > router Server

Plexmediaserver log before crashing at
Sep 23, 2016 21:42:24.139 [0x7f8578fff700] INFO - [Plex for Xbox One] [Player] Playback is ready
Sep 23, 2016 21:42:35.140 [0x7f8576fff700] INFO - AutoUpdate: no updates available
Sep 23, 2016 21:42:44.787 [0x7f85913ff700] ERROR - handle_stream_read error 2 End of file
Sep 23, 2016 21:42:44.787 [0x7f85913ff700] WARN - LongPoll: Got error, closing.
Sep 23, 2016 21:42:44.810 [0x7f85913ff700] ERROR - handle_stream_read error 335544539 short read
Sep 23, 2016 21:45:33.016 [0x7f8563bff700] WARN - [Plex for Xbox One] Player: Excessive buffering detected; unknown
Sep 23, 2016 21:51:28.154 [0x7f8590bfe700] ERROR - handle_stream_read error 104 Connection reset by peer
Sep 23, 2016 21:51:28.154 [0x7f8590bfe700] ERROR - handle_stream_read error 104 Connection reset by peer
Sep 23, 2016 21:51:28.154 [0x7f8590bfe700] WARN - LongPoll: Got error, closing.
Sep 23, 2016 22:00:04.281 [0x7f8590bfe700] ERROR - EventSource: Retrying in 15 seconds.
Sep 23, 2016 22:00:39.281 [0x7f85913ff700] ERROR - EventSource: Retrying in 30 seconds.
Sep 23, 2016 22:01:29.281 [0x7f85913ff700] ERROR - EventSource: Retrying in 60 seconds.
Sep 23, 2016 22:02:49.282 [0x7f8590bfe700] ERROR - EventSource: Retrying in 120 seconds.
Sep 23, 2016 22:04:52.406 [0x7f855cff6700] WARN - NAT: PMP, got an error: Not Supported by gateway.
Sep 23, 2016 22:16:30.620 [0x7f8572bff700] WARN - NAT: PMP, got an error: Not Supported by gateway.
Sep 23, 2016 22:30:41.182 [0x7f8590bfe700] ERROR - EventSource: Retrying in 15 seconds.
Sep 23, 2016 22:31:16.182 [0x7f85913ff700] ERROR - EventSource: Retrying in 30 seconds.
Sep 23, 2016 22:32:06.182 [0x7f85913ff700] ERROR - EventSource: Retrying in 60 seconds.
Sep 23, 2016 22:33:26.183 [0x7f8590bfe700] ERROR - EventSource: Retrying in 120 seconds.
Sep 23, 2016 22:35:26.966 [0x7f8574fff700] WARN - NAT: PMP, got an error: Not Supported by gateway.

Plexmediaserver log after automatic restart script when failing:
Sep 23, 2016 22:45:37.607 [0x7f1d22bfe700] INFO - ./Plex Media Server
Sep 23, 2016 22:45:37.611 [0x7f1d2dff5800] INFO - SQLITE3:0x10, 283, recovered 705 frames from WAL file /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db-wal
Sep 23, 2016 22:45:37.739 [0x7f1d2dff5800] INFO - Killing process: Plex Plug-in [com.plexapp.system] (pid: 1184)
Sep 23, 2016 22:45:37.793 [0x7f1d1ebff700] INFO - Successfully retrieved OCSP response
Sep 23, 2016 22:45:39.755 [0x7f1d1c3fe700] INFO - LibraryUpdateManager path watching is disabled
Sep 23, 2016 22:45:39.998 [0x7f1d193fe700] WARN - Sync: Couldn't get sync lists without subscription.
Sep 23, 2016 22:45:40.151 [0x7f1d1ebff700] WARN - NAT: PMP, got an error: Not Supported by gateway.
Sep 23, 2016 22:45:40.173 [0x7f1d107ff700] WARN - [Plex for Xbox One] [Player] Media element error code: 3

I tried reinstalling linux (debian jessie) en reinstalling plexmediaserver. I checked manually used port and using port forwardings.

external .srt not seen by plex

$
0
0

As far as i can see my plex clients don't have an option to play external .srt. Just before playing a movie I go under the subtitles paramenters and all I can see is an option to enabe/disable internal subtitles only, however an external .srt does exist indeed in the same folder where the video file is located.

is this a bug?

Thanks

Definitive guide for Raspberry Pi 3?

$
0
0

I've been reading articles on the web and searching this forum and wondering if there is a guide recently published that gives instruction on installing Plex on one of these devices? I have a Netgear ready NAS that in want to mount the share on the Raspberry Pi 3 and stream to local devices and no external remote access.

After upgrade to ubuntu 16.04 Plex does not start automaticly anymore.

$
0
0

Hello, after upgrading my server plex won't start automatically anymore.
I assume it has something to do with permissions.
I was on version 14 and upgraded to 16.

When I manually start the service:

@LinuxServer:/etc/systemd/system$ service plexmediaserver start
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'plexmediaserver.service'.
Authenticating as: ,,, ()
Password:`

When I do sudo service plexmediaserver start plex starts and runs just fine.

Now the upgrade it should have created a .service in cd /etc/systemd/system/

If I open that I get this:

/etc/systemd/system$ cat plexmediaserver.service

[Unit]
Description=Plex Media Server for Linux
After=network.target

[Service]
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/var/lib/plexmediaserver/Library/Application Support"
Environment=PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver
Environment=PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
Environment=PLEX_MEDIA_SERVER_TMPDIR=/tmp
Environment=LD_LIBRARY_PATH=/usr/lib/plexmediaserver
ExecStartPre=/bin/sh -c '/usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"'
ExecStart=/bin/sh -c '/usr/lib/plexmediaserver/Plex\ Media\ Server'
Type=simple
User=plex
Group=plex
Restart=on-failure
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3

[Install]
WantedBy=multi-user.target

Any help?
Thanks

Iomega StorCenter PX4-300D

$
0
0

Hi Guys, I've just been offered a free Iomega StorCenter PX4-300D by a friend, my only use for it would be a media server I've had a little look around and haven't been able to find an installation file for Plex, Does anyone know if its availability on this device? Thanks

Sorry if this is the wrong location for this post i couldn't find a misc NAS forum

Plex Media server on OpenMediaVault Server

$
0
0

After i made a reinstall of my windows 10 computer i cant watch movies or series from my OpenMediaVault Server. (i can still hear music from it)

i'm getting a

Ett problem uppstod vid uppsplning av objektet. Translated to (A problem occurred during the playback of the object.)

with HTML5-player
and a

Cannot load M3U8: No levels to play

the file(files) work when i play them with my normal meda player.



Media

Video Resolution 720p
Duration 44:28
Bitrate 1713 kbps
Width 1280
Height 720
Aspect Ratio 1.78
Container MKV
Video Frame Rate 24p
Audio Profile lc
Video Profile main

Del

Duration 44:28
File Supergirl S01e03 Hdtv 720p X265 Aac E-subs [gwc].mkv
Size 545.01 MB
Audio Profile lc
Container MKV
Video Profile main
Codec H264
Bitrate 1713 kbps
CABAC true
Frame Rate 23.976 fps
Frame Rate Mode vfr
Height 720
Level 4.0
Profile main
Ref Frames 1
Scan Type progressive
Width 1280
Codec AAC
Kanaler Stereo
Språk English
Duration 44:28
Profile lc
Sampling Rate 48000 Hz
Titel Stereo
Codec SRT
Språk English
Codec SRT
Språk Svenska

i'm not sure what files i should include so here is a link to a copy of the Crash Reports and Logs folder

Dropbox


Request came in with unrecognized domain

$
0
0

With Version 1.1.3.2700 I can no longer access my plexserver from other PCs without authentication. It worked fine with version 1.0.3.2461 and before.

The plex server is running on a PC called "rakete". When accessing http://rakete:32400/web/index.html I get the following error message:

Sep 03, 2016 09:55:29.192 [0x7fde943ff700] DEBUG - Request: [192.168.1.55:44820 (Allowed Network)] GET /identity (8 live) GZIP Signed-in
Sep 03, 2016 09:55:29.192 [0x7fde943ff700] DEBUG - Request came in with unrecognized domain 'rakete' in header Host; treating as non-local

If I use the IP address in the URL instead of the hostname ( http://192.168.1.29:32400/web/index.html ) it works without authentification. Here are my domain/hostname settings

98# hostname --short
rakete

99# hostname --domain
fritz.box

100# hostname --fqdn
rakete.fritz.box

101# hostname --ip-address
192.168.1.29

What is going wrong?
Matthias

Manual server connection (iOS) gives 401 error

$
0
0

Hi Everyone.

The question itself is pretty self explanatory from the title. I'm running PMS on a Linux dedicated host and accessing it via the iOS apps on my phone and iPad. The setup works, but only ever via relay. When I go to the server settings, it happily green lights that my server is fully accessible remotely, but when I try to enter the IP and port in the iOS app manual connection, I get a 401 error.

I've Googled around and tried everything I can find. Things that can be eliminated:

  • All versions of the iOS apps and PMS are up to date
  • PMS says it is accessible from the internet
  • I don't have a PIN on my account
  • The relay connection works
  • Port 32400 is open

Something I've noticed that may or may not be of interest is the public and private IP addresses in the PMS settings are both the public IP of the server. Not sure if that's an issue?

i'm running on Ubuntu 14.04, iOS 9 (iPad) and iOS 10 (iPhone). Any help would be greatly appreciated.

Bug: same file imported twice

$
0
0

Sometimes, for no clear reason, the same file is imported twice. It then shows up with a blue (2) on the icon of the show / movie. Under mediainfo you can see it's exactly the same path. I've attached a sample xml export of the info.

I'm on Version 1.1.3.2700 on Arch Linux using the plex-media-server-plexpass AUR package.

XML file (I wasn't allowed to attach it):

<?xml version="1.0" encoding="UTF-8"?>
<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="1" librarySectionTitle="TV Shows" librarySectionUUID="461a335c-678d-487f-9951-e86d31229937" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1472729064">
    <Video ratingKey="95261" key="/library/metadata/95261" parentRatingKey="94482" grandparentRatingKey="94481" guid="com.plexapp.agents.thetvdb://85453/0/1?lang=en" librarySectionID="1" type="episode" title="Return of the Rhino" grandparentKey="/library/metadata/94481" parentKey="/library/metadata/94482" grandparentTitle="Last Chance to See" contentRating="TV-PG" summary="Stephen Fry and the zoologist Mark Carwardine follow attempts to move the world&#39;s rarest rhinos from a snowy zoo in the Czech Republic, to the expanses of Kenya in the hope that they will breed in the wild. With only eight of these creatures left on earth, the mission becomes a race against time to save the Northern White Rhino from extinction." index="1" parentIndex="0" rating="8.0" year="2010" thumb="/library/metadata/95261/thumb/1473671640" art="/library/metadata/94481/art/1473671647" grandparentThumb="/library/metadata/94481/thumb/1473671647" grandparentArt="/library/metadata/94481/art/1473671647" duration="3558144" originallyAvailableAt="2010-10-31" addedAt="1473671599" updatedAt="1473671640" chapterSource="">
        <Media videoResolution="480" id="134570" duration="3558144" bitrate="1498" width="832" height="468" aspectRatio="1.78" audioChannels="2" audioCodec="aac" videoCodec="h264" container="mkv" videoFrameRate="PAL" audioProfile="he-aac" videoProfile="main">
            <Part accessible="1" exists="1" id="138859" key="/library/parts/138859/1470162456/file.mkv" duration="3558144" file="/home/thom/Video&#39;s/TV Shows/Last Chance to See/Specials/Last Chance to See - S00E01 - Return of the Rhino.mkv" size="666448257" audioProfile="he-aac" container="mkv" deepAnalysisVersion="1" indexes="sd" requiredBandwidths="1497,1497,1497,1497,1497,1497,1497,1497" videoProfile="main">
                <Stream id="323362" streamType="1" default="1" codec="h264" index="0" bitrate="1498" bitDepth="8" cabac="1" chromaSubsampling="4:2:0" codecID="V_MPEG4/ISO/AVC" colorRange="tv" duration="3558160" frameRate="25.000" frameRateMode="cfr" hasScalingMatrix="0" height="468" level="30" pixelFormat="yuv420p" profile="main" refFrames="4" requiredBandwidths="1402,1402,1402,1402,1402,1402,1402,1402" scanType="progressive" width="832" />
                <Stream id="323363" streamType="2" selected="1" default="1" codec="aac" index="1" channels="2" codecID="A_AAC" duration="3558144" profile="he-aac / lc" requiredBandwidths="95,95,95,95,95,95,95,95" samplingRate="48000" />
            </Part>
        </Media>
        <Media videoResolution="480" id="134571" duration="3558144" bitrate="1498" width="832" height="468" aspectRatio="1.78" audioChannels="2" audioCodec="aac" videoCodec="h264" container="mkv" videoFrameRate="PAL" audioProfile="he-aac" videoProfile="main">
            <Part accessible="1" exists="1" id="138860" key="/library/parts/138860/1470162456/file.mkv" duration="3558144" file="/home/thom/Video&#39;s/TV Shows/Last Chance to See/Specials/Last Chance to See - S00E01 - Return of the Rhino.mkv" size="666448257" audioProfile="he-aac" container="mkv" deepAnalysisVersion="1" indexes="sd" requiredBandwidths="1497,1497,1497,1497,1497,1497,1497,1497" videoProfile="main">
                <Stream id="323364" streamType="1" default="1" codec="h264" index="0" bitrate="1498" bitDepth="8" cabac="1" chromaSubsampling="4:2:0" codecID="V_MPEG4/ISO/AVC" colorRange="tv" duration="3558160" frameRate="25.000" frameRateMode="cfr" hasScalingMatrix="0" height="468" level="30" pixelFormat="yuv420p" profile="main" refFrames="4" requiredBandwidths="1402,1402,1402,1402,1402,1402,1402,1402" scanType="progressive" width="832" />
                <Stream id="323365" streamType="2" selected="1" default="1" codec="aac" index="1" channels="2" codecID="A_AAC" duration="3558144" profile="he-aac / lc" requiredBandwidths="95,95,95,95,95,95,95,95" samplingRate="48000" />
            </Part>
        </Media>
        <Director id="41620" tag="Tim Green" />
        <Extras size="0">
        </Extras>
    </Video>
</MediaContainer>

playing files from plex in ubuntu 14.04

$
0
0

Hello, I'm wondering if anyone else has experienced this problem? Recently when I try to stream files to a device,, plex has told me that it can't find the associated file. These are files that most definitely exist, so I'm not sure what could be going wrong.
I've been attempting to do some modifications to file permissions on that harddrive lately, so I have a feeling it has something to do with that, but can't be sure.
Any suggestions would be greatly appreciated.

Unable to sync libraries - Ubuntu 16.04

$
0
0

HI I have a problem with Plex media server on Ubuntu 16.04
I have fresh Ubuntu 16.04 and Plex Media Server for Ubuntu. Install without problem, run, setup and I can not sync any libraries. I have created in Documents new folders for each library. I tried outside documents and nothing. What I am doing wrong?
Thanks for help

What do I need for image transcoding on raspberry pi?

$
0
0

I think I have some issues with image transcoding because plex web and android app doesn't show thumbs but if I check metadata xml and open the thumb url I see an image.
Therefore I think it may be a local issue with image transcoding.

Does anyone know what's needed for image transcoding on a raspberry pi?

Plex server is remote when it should be nearby

$
0
0

How does plex detect whether the server is remote or nearby?

My laptop is plugged into a switch which my Plex VM is also connected to (through a virtual NIC). If I browse to https://10.0.0.8:32400/web, Plex shows that the server is nearby. If I browse to https://vmhostname:32400/web, the server is shown as "remote". This is interesting because vmhostname resolves to 10.0.0.8.

Additionally, if I try to use plex from app.plex.tv, it can't connect to my server at all. The last time I set plex up, last year, I believe I was able to use app.plex.tv to access my server while I was on the LAN, even if port fowarding was disabled.

Does anyone know what would cause these problems?


Can't play media from virtual Ubuntu Server 16.04

$
0
0

I have setup Plex Server on an Ubuntu Server 16.04 that is a virtual machine on an Unraid setup.
When I connect to the server all seems to work fine, I can see all the media on the menu, but as soon as I try access any given media I get an error and it pretty much says "An error occured". No hints what so ever what might be the problem.

So PlexServer mounts it's filevault from the Unraid via cifs, the permissions is 777.
The Plex user is in group that has these acceses.

I have no clue why... anyone?

Plex offline - not work

$
0
0

if there is no Internet , I can not look locally what I have on the server - either through a web browser or through the mobile app on Android
Hove to fix it?

PMS Network Improvements Question's

$
0
0

So, I am running PMS off of an Ubuntu server 16.04 and just recently installed another network nic making a total of 2 nics. Overall, I am trying to get the best speed and best result. I have set a static ip address for both nics and forced them to be 1000 full duplex increasing the transfer speed of files 3x.

Some of the questions that I have are:
1. with having two nics, can I:
a. set one to be for internal (house) and then the other one to be for remote connections?
b. Set one to be for only transferring files and not having plex run of that nic and then the other nic run plex full time?
2. With forcing 1000 full duplex, will that speed up and limit the amount of buffering when playing back from the server to the client?
3. Is there a way to set one nic up to deal with only receiving connections (downloading) and then the other one to handle transmitting connections (upload)?
a. For the receiving, have that one to basically transfer the files to the server and do any downloading that the server need and then the other nic to do the uploading or transmitting, like playing back to the client?

Generally, is it really useful to have both nic's installed in the server? Do any of those options above serve a purpose to speeding up the overall networking load on the server?

Playstation4/Android App with Raspberry Pi 3 - Lags

$
0
0

Hello there
I've got a Raspberry Pi 3 which runs my Plex Server.
When I try to watch movies with my PS4 or Android App, I'm having the problem that some of my movies are interrupted every few seconds because the stream needs to buffer. Most of my movies are in 720p, the problem comes just with a few movies, not all of them.
Here's a XML-File of "A Scanner Darkly", which keeps buffering about every 2 seconds
http://alturl.com/qg3ei

The next one is from "Kon-Tiki", which works just fine.
http://alturl.com/oxuqi

And the last one is from "Star Trek", which used to buffer every 5 - 10 seconds yesterday, but works fine today.
http://alturl.com/h3bcb

All of the movies are working fine on my Laptop or my Kindle Fire HD.

The RP3 is connected via cable with my fritz.box. I have a upstream of about 45Mbps.
Anyone knows how to fix this? Seems to me that the problem is with the Apps, rather than my RP3 or my connection speed.
I'd appreciate any help! :)
Oh and sorry for any bad english :D

edit:
oh and I forgot to mention that all of the movies used to work fine last week! I didn't change anything with my setup, it just started to act like that when i tried to watch Scanner Darkly yesterday.

[Apache] Reverse SSL Proxy not working

$
0
0

Dearest community,

For testing purposes I have only one vhost configured with the purpose of hosting my plex server behind an apache reverse proxy over SSL. The config looks like this:

ServerSignature Off
ServerTokens Prod

<VirtualHost *:80>
  ServerName plex.privatedomain.com
  # This VirtualHost redirects everything to HTTPS on port 443.
  RewriteEngine On
  RewriteCond %{HTTPS} off
  RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</VirtualHost>

<VirtualHost *:443>
  ServerName plex.privatedomain.com
  ServerAlias ""
  Options -Includes -ExecCGI

  RewriteEngine On
  RewriteCond %{THE_REQUEST} !HTTP/1.1$
  RewriteRule .* - [F]

  LimitRequestBody 512000
  SSLEngine On
  SSLCertificateFile /etc/letsencrypt/live/movies.privatedomain.com/fullchain.pem
  SSLCertificateKeyFile /etc/letsencrypt/live/movies.privatedomain.com/privkey.pem
  SSLProtocol +TLSv1.2

  Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains; preload"
  Header always set X-Frame-Options DENY
  FileETag None
  TraceEnable off
  #Header edit Set-Cookie ^(.*)$ ;HttpOnly;Secure
  Header set X-XSS-Protection "1; mode=block"
  Timeout 60

    <Location /:/websockets/notifications>
        ProxyPass wss://localhost:32400/:/websockets/notifications
        ProxyPassReverse wss://localhost:32400/:/websockets/notifications
    </Location>

  <Proxy *>
        Order deny,allow
        Allow from all
  </Proxy>

    ProxyRequests Off
    ProxyPreserveHost On
    SSLProxyEngine On
    RequestHeader set Front-End-Https "On"
    ProxyPass / http://localhost:32400/
    ProxyPassReverse / http://localhost:32400/

    RewriteEngine on
    RewriteCond %{REQUEST_URI} !^/web
    RewriteCond %{HTTP:X-Plex-Device} ^$
    RewriteCond %{REQUEST_METHOD} !^(OPTIONS)$

    RewriteRule ^/$ /web/$1 [R,L]
</VirtualHost>

Sadly after I login my server cannot be found, see below the browser debug log. If anyone can help me figuring out what is going wrong I would be very grateful!

    myPlexAccessToken is not in VolatileWebStorage
    connections is not in PersistentWebStorage
    skipSignIn is not in PersistentWebStorage
    settingsv2 is not in PersistentWebStorage
    experience is not in PersistentWebStorage
    [UserManager] autoLogin false
    [Servers] Initializing...
    [Servers] Waiting for initial servers = [Anonymous], plex.tv
    [Primary Server] Waiting to set the primary server
    [Primary Server] Waiting for the last primary server, c13467b3a58c55650932dfdbbb32aa92d27c216b, to connect
    [Commands] Executing testServerConnection
    [Commands] Executing testServerConnection
    [Servers] Finished initialization
    [Cast] Loaded the cast api
    [Cast] No receivers are available
    [Connections] Testing connection for plex.tv at https://plex.tv/pms/:/ip
    [Connections] Testing connection for [Anonymous] at https://plex.privatedomain.com/
    [Connections] plex.tv connected at https://plex.tv/pms/:/ip
    [Connections] Active connection to plex.tv is https://plex.tv
    Mixed Content: The page at 'https://plex.privatedomain.com/web/index.html' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://plex.privatedomain.com/web/index.html'. This content should also be served over HTTPS.
    [Parser] Errors found while parsing XML document
    [Connections] [Anonymous] has an unexpected machine identifier at https://plex.privatedomain.com/
    [Connections] [Anonymous] is unavailable at https://plex.privatedomain.com/ (Status 200)
    [Connections] Prevented fallback to insecure connection for  [Anonymous]
    [Connections] All connections to [Anonymous] failed
    [Servers] Waiting for initial servers = plex.tv
    [Servers] Finding resources through plex.tv
    [Servers] Waiting for additional resources from plex.tv
    [CloudServerEventManager] Opening server event connection to plex.tv at wss://pubsub.plex.tv/sub/websockets/8807264/onn9jkkhqorhtzt948klf2yb9?X-Plex-Token=REDACTED
    [Companion] Registering player with plex.tv, clientID="onn9jkkhqorhtzt948klf2yb9"
    [Servers] plex.privatedomain.com was found through plex.tv
    [Commands] Executing testServerConnection
    [Servers] Waiting for additional resources from plex.tv
    [Servers] Plex server Mark was found through plex.tv
    [Commands] Executing testServerConnection
    [Servers] Waiting for additional resources from plex.tv
    [Servers] Waiting for additional resources from plex.tv
    [Servers] Found 7 resources through plex.tv
    [Servers] Found all servers = plex.tv
    [Commands] Executing lockUser
    [CloudServerEventManager] Opened server event connection to plex.tv at wss://pubsub.plex.tv/sub/websockets/8807264/onn9jkkhqorhtzt948klf2yb9?X-Plex-Token=REDACTED
    [Commands] Executing authenticateWithServer
    [Connections] Testing connection for plex.privatedomain.com at https://plex.privatedomain.com/
    [Connections] Aborting connection test for plex.privatedomain.com at http://192.168.0.240:32400/ due to mixed content prevention
    [Connections] Aborting connection test for plex.privatedomain.com at http://172.17.0.1:32400/ due to mixed content prevention
    [Connections] Testing connection for Plex server Mark at https://192-168-2-11.8c9fa4cb80ca4953a6d5dc9b49a95621.plex.direct:32400/
    Mixed Content: The page at 'https://plex.privatedomain.com/web/index.html' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://plex.privatedomain.com/web/index.html'. This content should also be served over HTTPS.
    [Parser] Errors found while parsing XML document
    [Connections] plex.privatedomain.com has an unexpected machine identifier at https://plex.privatedomain.com/
    [Connections] plex.privatedomain.com is unavailable at https://plex.privatedomain.com/ (Status 200)
    [Connections] Prevented fallback to insecure connection for  plex.privatedomain.com
    [Connections] All connections to plex.privatedomain.com failed
    [Servers] Found all servers = plex.tv
    [Primary Server] Waiting for any owned server to connect
    [Primary Server] Waiting for any eligible server to connect
    [Companion] No proxy found
    [Commands] Executing switchUser
    [Commands] Executing authenticateWithServer
    [Commands] Executing resetUser
    [Connections] Aborted pending connection test for Plex server Mark at https://192-168-2-11.8c9fa4cb80ca4953a6d5dc9b49a95621.plex.direct:32400/
    [Servers] Found all servers = plex.tv
    [CloudServerEventManager] Closing server event connection to plex.tv at wss://pubsub.plex.tv/sub/websockets/8807264/onn9jkkhqorhtzt948klf2yb9?X-Plex-Token=REDACTED
    [Servers] Resetting...
    [Servers] Initializing...
    [Servers] Waiting for initial servers = [Anonymous]
    [Primary Server] Waiting for the last primary server, c13467b3a58c55650932dfdbbb32aa92d27c216b, to connect
    [Commands] Executing testServerConnection
    [Servers] Finished initialization
    [Servers] Finding resources through plex.tv
    [Servers] Waiting for initial servers = [Anonymous]
    [CloudServerEventManager] Opening server event connection to plex.tv at wss://pubsub.plex.tv/sub/websockets/8807264/onn9jkkhqorhtzt948klf2yb9?X-Plex-Token=REDACTED
    [Commands] Executing resumePlayQueue
    [Commands] Executing persistPlayQueue
    [Servers] plex.privatedomain.com was found through plex.tv
    [Commands] Executing testServerConnection
    [Connections] Aborting connection test for plex.privatedomain.com at http://192.168.0.240:32400/ due to mixed content prevention
    [Connections] Testing connection for [Anonymous] at https://plex.privatedomain.com/
    [Commands] Executing testServerConnection
    [Servers] Waiting for initial servers = [Anonymous]
    [Servers] Plex server Mark was found through plex.tv
    [Commands] Executing testServerConnection
    [Connections] Testing connection for plex.privatedomain.com at https://plex.privatedomain.com/
    [Connections] Aborting connection test for plex.privatedomain.com at http://172.17.0.1:32400/ due to mixed content prevention
    [Connections] Testing connection for Plex server Mark at https://192-168-2-11.8c9fa4cb80ca4953a6d5dc9b49a95621.plex.direct:32400/
    [Servers] Waiting for initial servers = [Anonymous]
    [Servers] Waiting for initial servers = [Anonymous]
    [Servers] Found 7 resources through plex.tv
    [Servers] Waiting for initial servers = [Anonymous]
    [CloudServerEventManager] Opened server event connection to plex.tv at wss://pubsub.plex.tv/sub/websockets/8807264/onn9jkkhqorhtzt948klf2yb9?X-Plex-Token=REDACTED
    [Servers] Populate any server chose plex.tv where servers = [Anonymous], plex.privatedomain.com, plex.tv, Plex server Mark
    Mixed Content: The page at 'https://plex.privatedomain.com/web/index.html' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://plex.privatedomain.com/web/index.html'. This content should also be served over HTTPS.
    [Parser] Errors found while parsing XML document
    [Connections] [Anonymous] has an unexpected machine identifier at https://plex.privatedomain.com/
    [Connections] [Anonymous] is unavailable at https://plex.privatedomain.com/ (Status 200)
    [Connections] Prevented fallback to insecure connection for  [Anonymous]
    [Connections] All connections to [Anonymous] failed
    [Servers] Found all servers = plex.tv
    [Parser] Errors found while parsing XML document
    [Connections] plex.privatedomain.com has an unexpected machine identifier at https://plex.privatedomain.com/
    [Connections] plex.privatedomain.com is unavailable at https://plex.privatedomain.com/ (Status 200)
    [Connections] Prevented fallback to insecure connection for  plex.privatedomain.com
    [Connections] All connections to plex.privatedomain.com failed
    [Servers] Found all servers = plex.tv
    [Primary Server] Waiting for any owned server to connect
    [Primary Server] Waiting for any eligible server to connect
    [Companion] No proxy found
    [Connections] Plex server Mark is unavailable at https://192-168-2-11.8c9fa4cb80ca4953a6d5dc9b49a95621.plex.direct:32400/ (Status 0)
    [Connections] Prevented fallback to insecure connection for  Plex server Mark
    [Connections] All connections to Plex server Mark failed
    [Servers] Found all servers = plex.tv
    [Primary Server] Waiting for any eligible server
    [Connections] Retrying connection tests for plex.privatedomain.com in 1 seconds
    [Connections] Retrying server events connection for plex.privatedomain.com in 1 seconds
    [Primary Server] plex.privatedomain.com is now the primary server
    [Connections] Testing all 3 connection(s) for plex.privatedomain.com
    [Servers] Found all servers = plex.tv
    [Commands] Executing testServerConnection
    [Connections] Aborting connection test for plex.privatedomain.com at http://192.168.0.240:32400/ due to mixed content prevention
    [Commands] Executing testServerConnection
    [Connections] Retrying connection tests for plex.privatedomain.com in 2 seconds
    [Connections] Retrying server events connection for plex.privatedomain.com in 2 seconds
    [Connections] All connections to plex.privatedomain.com failed
    [Servers] Found all servers = plex.tv
    [Connections] Testing connection for plex.privatedomain.com at https://plex.privatedomain.com/
    [Connections] Aborting connection test for plex.privatedomain.com at http://172.17.0.1:32400/ due to mixed content prevention
    Mixed Content: The page at 'https://plex.privatedomain.com/web/index.html' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://plex.privatedomain.com/web/index.html'. This content should also be served over HTTPS.
    [Parser] Errors found while parsing XML document
    [Connections] plex.privatedomain.com has an unexpected machine identifier at https://plex.privatedomain.com/
    [Connections] plex.privatedomain.com is unavailable at https://plex.privatedomain.com/ (Status 200)
    [Connections] Prevented fallback to insecure connection for  plex.privatedomain.com
    [Connections] All connections to plex.privatedomain.com failed
    [Companion] No proxy found
    [Connections] Testing all 3 connection(s) for plex.privatedomain.com
    [Servers] Found all servers = plex.tv
    [Commands] Executing testServerConnection
    [Connections] Retrying connection tests for plex.privatedomain.com in 3 seconds
    [Connections] Retrying server events connection for plex.privatedomain.com in 3 seconds
    [Connections] Testing connection for plex.privatedomain.com at https://plex.privatedomain.com/
    [Connections] Aborting connection test for plex.privatedomain.com at http://192.168.0.240:32400/ due to mixed content prevention
    [Connections] Aborting connection test for plex.privatedomain.com at http://172.17.0.1:32400/ due to mixed content prevention
    Mixed Content: The page at 'https://plex.privatedomain.com/web/index.html' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://plex.privatedomain.com/web/index.html'. This content should also be served over HTTPS.
    [Parser] Errors found while parsing XML document
    [Connections] plex.privatedomain.com has an unexpected machine identifier at https://plex.privatedomain.com/
    [Connections] plex.privatedomain.com is unavailable at https://plex.privatedomain.com/ (Status 200)
    [Connections] Prevented fallback to insecure connection for  plex.privatedomain.com
    [Connections] All connections to plex.privatedomain.com failed
    [Servers] Found all servers = plex.tv
    [Connections] Testing all 3 connection(s) for plex.privatedomain.com
    [Servers] Found all servers = plex.tv
    [Commands] Executing testServerConnection
    [Connections] Retrying connection tests for plex.privatedomain.com in 4 seconds
    [Connections] Retrying server events connection for plex.privatedomain.com in 4 seconds
    [Connections] Testing connection for plex.privatedomain.com at https://plex.privatedomain.com/
    [Connections] Aborting connection test for plex.privatedomain.com at http://192.168.0.240:32400/ due to mixed content prevention
    [Connections] Aborting connection test for plex.privatedomain.com at http://172.17.0.1:32400/ due to mixed content prevention
    Mixed Content: The page at 'https://plex.privatedomain.com/web/index.html' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://plex.privatedomain.com/web/index.html'. This content should also be served over HTTPS.
    [Parser] Errors found while parsing XML document
    [Connections] plex.privatedomain.com has an unexpected machine identifier at https://plex.privatedomain.com/
    [Connections] plex.privatedomain.com is unavailable at https://plex.privatedomain.com/ (Status 200)
    [Connections] Prevented fallback to insecure connection for  plex.privatedomain.com
    [Connections] All connections to plex.privatedomain.com failed
    [Servers] Found all servers = plex.tv

My eye was falling on the following log entries:
Mixed Content: The page at 'https://plex.privatedomain.com/web/index.html' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://plex.privatedomain.com/web/index.html'. This request has been blocked; the content must be served over HTTPS.

In my Chrome browser I did allow this though:
You have recently allowed insecure content (such as scripts or iframes) to run on this site.

Any thoughts?

Viewing all 7311 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>