Running with local DNS server and IIS

Hey guys,

I'm experiencing issues with the latest release of PlexConnect.

It is something to do with encoded url strings.

I found out a solution for Apache but could not find anything for IIS.

Here is the reference link for apache: https://forums.plexapp.com/index.php/topic/85895-we-failed-to-reach-a-server-reason-errno-111-connection-refused/

Also the error I'm getting is:

Exception happened during processing of request from ('192.168.13.254', 60710)
Traceback (most recent call last):
  File "C:\Python27\lib\SocketServer.py", line 295, in _handle_request_noblock
    self.process_request(request, client_address)
  File "C:\Python27\lib\SocketServer.py", line 321, in process_request
    self.finish_request(request, client_address)
  File "C:\Python27\lib\SocketServer.py", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "C:\Python27\lib\SocketServer.py", line 649, in __init__
    self.handle()
  File "C:\Python27\lib\BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File "C:\Python27\lib\BaseHTTPServer.py", line 328, in handle_one_request
    method()
  File "C:\PlexConnect\WebServer.py", line 182, in do_GET
    XML = XMLConverter.XML_PMS2aTV(PMSaddress, self.path + args, options)
  File "C:\PlexConnect\XMLConverter.py", line 346, in XML_PMS2aTV
    PMS = PlexAPI.getXMLFromPMS(PMS_baseURL, path, options, authtoken=auth_token)
  File "C:\PlexConnect\PlexAPI.py", line 318, in getXMLFromPMS
    response = urllib2.urlopen(request, timeout=10)
  File "C:\Python27\lib\urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "C:\Python27\lib\urllib2.py", line 396, in open
    protocol = req.get_type()
  File "C:\Python27\lib\urllib2.py", line 258, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /local/library/sections
----------------------------------------

Any help will be appreciated.

Hello,

I hope someone here could help me about that. First I like to thank you all for your work and for your Ideas :) Plexconnect is really great :)

I'm running plexconnect on an Windows Storage Server 2008 R2 Essentials, which is basically the same as Windows Home Server 2011.

I've done the URL rewrite stuff and for HTTP it is working as it should. But how to do the HTTPS Stuff. The Storage Server already has a Site bind to Port 80 and 443.

With the binding to trailers.apple.com the second website hosting the asset folder of plexconnect on port 80 is working, but when i start plexconnect, the log has an entry that the ssl part could not be started. That should be ok, since the IIS is useing port 443.

If I deactivate the ssl part in plexconnect the ATV says that the trailer are not available at the moment.

How do I configure my second Website (trailers.apple.com) to also use the OpenSSL-Cert from the certificates folder of plexconnect?

Does some else has this setup and has both (Remote Web Access & Plexconnect) working?

Thanks for any hint or Idea how to solve that.

Regards

Vlaves

I am running windows 2012 R2 and two websites on IIS.  I am trying to add this to my existing IIS install on port 80... nothing works! What is the IP for the IP Rewrite?  The IP for the Plex-Connect server? or the IP of the ATV?  I I can run it if I shut down the websites on 80 and run it with the native plex-connect web server.  Please help!!!!  

I've got this working on Essentials 2012 R2 - steps on my github.

Big picture overview: you need to turn the trailers cert into a pfx, import it into Computer personal certificate store and you also need to import the crt into the computer personal certificate store.

The only thing is that I don't think it'll work in Server 2011 or older, because Essentials 2011 is actually Server 2008 R2, which came with IIS 7 - I'm pretty sure that IIS 7 did not have SNI, so you can't run multiple SSL sites with different certificates. And the only workaround is to use a second NIC, but Essentials does not support dual-nic (it might work, but it will probably really screw up your AD environment if you have one)

It does work in 2012 or 2012 R2 though, so good luck.

https://github.com/megahambone/PlexConnect/

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.