Also just compiled NodeJS 0.8.1 and have the same problem. Gets stuck after the "GET /serve.rs/" call. If I do "http://192.168.111.3:8000/server/" I get a page that has a logout link and a link with the correct server and external IP and port. If I click on it nothing happens and eventually it times out.
SOLVED FOR ME
I had been setting the eth0 network interface to jumbo frames at 7200, I set it back to 1500 and it started working... Not sure what's happening as everything else works great with jumbo frames on, but it's totally reproducible for me. Turn it on, no more PlexJS, turn it off and we're good. Let me see if my other colleague has non-standard frame size set...
Good catch, let’s see if other people with an unraid NAS see the same thing.
Potential explanation is that when the PlexJS tries to connect to the local media server through the external IP something goes wrong with jumbo frames.
Jeff
does it work on windows ?? (i think i should its java)
i installed node.js and get the following
c:\plexjs>node src\server.js
events.js:66
throw arguments[1]; // Unhandled ‘error’ event
^
Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED
at RedisClient.on_error (c:\plexjs
ode_modules\redis\index.js:148:24)
at Socket. (c:\plexjs
ode_modules\redis\index.js:82:14)
at Socket.EventEmitter.emit (events.js:88:17)
at Socket._destroy.self.errorEmitted (net.js:329:14)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
You get that error if you are not running another needed program, redis. I'm sure the redis-server is available on Windows. It basically is a high performance in-memory key-value database, it is needed to run PlexJS (at least it was for the dev branch).
Having a web based plex client sounds fantastic, however the whole discussion here is all too technical for me.
I have PMS on a Synology NAS (Linux), and I use the Plex Windows or iPhone client.
So I guess that I need to install node.js on my Synology, right?
I don’t feel confident to do this, just looking at this thread where the user had to reinstall the firmware after installing node.js
http://forum.synology.com/enu/viewtopic.php?f=20&t=52538&p=207760#p207760
Is there any user-friendly package for Synology DSM?
Is there someway you can put together an installation package for windows PMS? Something that we can download from here that will install all the needed applications and files to add this functionality to our existing PMS?
Thank you
Jon
There's little benefit to running your own version of this interface -- all it does is write a little HTML to help your browser navigate the PMS. All of the images and media streams come done directly from the source PMS to the client, bypassing the web interface server completely.
Likewise if this was integrated into Plex proper it would likely happen on the MyPlex servers, not on your local PMS.
In the mean time if you don't want to hassle with installing your own copy you can use the one Jeff Remy linked above (at least until/unless he tells you not to):
https://proto.jfremy.fr:32402/public/index.html
Is there any chance that this will work on the PS3 web bowser? When i try it on my ps3 the user name and login prompt never come up and i just get the loading screen (same screen i get when i use IE) Chrome on the pc works great though. Just looking to see if i can get it working on the PS3. Id love to be able to access shared servers from my home to watch on my tv and this would do it perfectly if it worked with the ps3 browser.
You probably already know this, but on the chance that you don't: if there is any computer on the same network as the PS3 where you could install the Plex Media Server you can use the built-in DLNA client to access Plex media. The server does not need any local content, does not need to be connected to the TV, and only needs to be running when you want to use Plex on the PS3 -- you just have to have a server on the same network and signed into MyPlex and the DLNA client on the PS3 should be able to find all your shared libraries.
The latest PMS update 0.9.6.7 may have broken your web player.
All my videos crash/stop after 6/7 seconds of playback. I will try and post server logs once i get a chance. Just wanted to check if anyone else is having this problem?
I have an issue connecting to my server… Get this error “Could not contact Plex Media Server Mark Mini (2#.##.##.##:32400)” which i would typically expect when trying to access my house from within my house… but for some reason I am receiving this error no matter what network i am on…
log below from one attempt
68.171.231.81 - - [Fri, 10 Aug 2012 02:10:41 GMT] "GET /servers/ HTTP/1.1" 200 257 "http://******.****.org:8282/public/index.html" "Mozilla/5.0 (BlackBerry; U; BlackBerry 9860; en-US) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.1.0.569 Mobile Safari/534.11+"<br />
connect ECONNREFUSED
this attempt I had tried on my phone...but doesnt seem to matter what I am using to access, always the same error!!
the main page shows fine, knows my server name.... just is refused a response or some reason
Screenshot attached… this is the error I get, wether it be inside my network, or outside
Jeff,
Yesterday I installed the newest Plex release (fresh install - first ever install) and tried your web portal… it is not working. Trying to connect using Firefox 15 beta I get “The connection has timed out” … I even tried opening the port you use on my firewall… not working. I’d love to try it out, please let us know when you get it fixed. thx
I’m running the dev branch, with redis, and it’s generally working fine.
But when I select a different audio or subtitle stream the client says “failed” next to the drop-down selection and the server logs “Error contacting server”
Have I got something misconfigured or is this just not working yet?
As far as I can tell that site is down... so there is no other choice but to run your own instance?
I tried the full URL and it fails - times out
I tried just the URL without the port, etc... Firefox prompts to add an exception for SSL, I do, then it gives: Secure Connection Failed - Cannot communicate securely with peer: no common encryption algorithm(s) (Error code: ssl_error_no_cypher_overlap)
... and I have firewall port 32402 open for TCP
btw... we really need a step-by-step for how to install the dev branch, nodejs, and redis on Windows. This is a major PITA. I did not understand why nodejs it was not running. I rebooted and it started working...
BUT, once I got everything running -- seems to be working fine, inside my LAN (have not tried outside yet).
His site does seem to be down. But he's been keeping up with changes in the dev branch so I suspect it will come back up when he gets a chance to fix it.
Beyond that you could petition the Plex devs to roll it into MyPlex -- it's not something they'd likely be able to run directly, but it's a decent base for a webUI, and it doesn't require that the participate in video sharing any more than they do already, so they might be willing to adapt it.
Or get someone to run it for you. The hosting requirements are not very large, so other than the initial setup it's not much burden on anyone already running web services. I'm a little reluctant to open my server to the world, but I host an instance for all of my friends and you might be able to find (or form) a group with a similar arrangement.
Or you learn how to install it and package it all up in a handy double-clickable installer (or pre-fab EC2 image, etc.) for your own convenience and that of your peers. That in itself can be a significant burden for an individual (and volunteer) developer, particularly in the early stages of a project when the components and installation procedures change frequently. On small projects like this you have to choose between how much support the developer offers to new users vs. established users vs. actually coding, but if you're interested in using this software and increasing its popularity (and presumably therefore its support and quality) you could provide semi-technical non-coding support by creating installation instructions and/or packages and relieving the developer of some of the support burden.
@profplump
I got it working it was just a bit frustrating with NodeJS needing a restart of the PC before it would run - I did not see anything about a restart in the install instructions.
I’ll write up a quick how-to with those steps for Windows… and probably provide a cmd/bat file to run it all with a single click.
Glad you got it up. Sorry I haven't been more directly useful, but I haven't got a Windows machine to test on, and clearly the install/setup is not going to be the same as linux.
Anyone able to get this working well on Android? I’ve tried it on the latest version of Dolphin and it runs fine until I try to stream a video… at that point the blank video box open with the ‘play’ symbol, I click/touch it and nothing ever happens/changes - just sits there. This is over a 1.5mbit internet connection.
... I meant the NodeJS docs ;)