# Plexconnect stuck at serving /js/application.js

**URL:** https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688
**Category:** Apps & Creations
**Created:** [September 28, 2014, 8:08am UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688 "2014-09-28T08:08:53Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![xCharlus](https://avatars.discourse-cdn.com/v4/letter/x/73ab20/32.png) [@xCharlus](https://forums.plex.tv/u/xCharlus)
#### Post date: [September 28, 2014, 8:08am UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/1 "2014-09-28T08:08:53Z")

</div>

Hello,

&nbsp;

I very carefully followed the instructions found in the Wiki to install plexconnect but when I launch Trailers on the ATV it says it’s not available. On my terminal windows it says :

```
DNSServer: DNS request received!
DNSServer: Source: ('192.168.1.8', 52970)
DNSServer: Domain: trailers.apple.com
DNSServer: ***intercept request
DNSServer: -> DNS response: 192.168.1.75
WebServer: serving /js/application.js
```

Here are all the infos of my setup :

- ATV model and firmware version: ATV 3, 7.0
- The DNS server set on the ATV: 192.168.1.75
- The local IP address of the device that PlexConnect is installed on: 192.168.1.75
- The device and operating system that PlexConnect is installed on: OS X 10.9.5
- The device and operating system that the Plex media server (PMS) is installed on: OS X 10.9.5
- The Plex media server (PMS) version number I am running: 2.2.6
- The local IP address of the device that the Plex media server (PMS) is installed on: 192.168.1.75
- The PlexConnect version number : v0.4
- The contents of my 'Settings.cfg' file:&nbsp;

```
[PlexConnect]
enable_plexgdm = True
ip_pms = 192.168.178.10
port_pms = 32400
enable_dnsserver = True
port_dnsserver = 53
ip_dnsmaster = 8.8.8.8
prevent_atv_update = True
enable_plexconnect_autodetect = True
ip_plexconnect = 0.0.0.0
hosttointercept = trailers.apple.com
port_webserver = 80
enable_webserver_ssl = True
port_ssl = 443
certfile = ./assets/certificates/trailers.pem
loglevel = High
logpath = . 
```

- my PlexConnect.log, High level : [http://pastebin.com/Cs4DquvB](http://pastebin.com/Cs4DquvB)

I hope you can help.

Thanks.

&nbsp;

---

<div class="post-metadata">

### Author: ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)
#### Post date: [September 28, 2014, 8:38am UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/2 "2014-09-28T08:38:29Z")

</div>

Certs installed on aTV?

---

<div class="post-metadata">

### Author: ![xCharlus](https://avatars.discourse-cdn.com/v4/letter/x/73ab20/32.png) [@xCharlus](https://forums.plex.tv/u/xCharlus)
#### Post date: [September 28, 2014, 8:40am UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/3 "2014-09-28T08:40:28Z")

</div>

Yes, using this method :&nbsp;[https://langui.sh/2013/08/27/appletv-ssl-plexconnect/](https://langui.sh/2013/08/27/appletv-ssl-plexconnect/)

---

<div class="post-metadata">

### Author: ![wahlman.j](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wahlman.j/32/6441_2.png) [@wahlman.j](https://forums.plex.tv/u/wahlman.j)
#### Post date: [September 28, 2014, 4:15pm UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/4 "2014-09-28T16:15:59Z")

</div>

If you want to try OpenPlex in my signature you can follow these steps:  
  
  
Delete all certs (profiles) from your aTV  
  
Reboot your mac and do not start plexconnect  
  
Download and open OpenPlex  
  
Click the settings icon in the openplex menubar  
  
In the settings tab click install (new users) this will require a password (be patient and wait until the progress bar stops)  
  
in the theme tab click iBaa and ignore the CLT and pillow stuff you don’t need it (be patient and wait until the progress bar stops)  
  
In the hijack tab choose any hijack this will generate new certs and start plexconnect (be patient and wait until the progress bar stops)  
  
In the same hijack tab load the certs using the network method which requires no USB (click aTV guide & click cert URL to load new certs)  
  
Reboot aTV  
  
Try your chosen hijack  
  
  
Otherwise here is the network method to load certs:  
  
[https://github.com/iBaa/PlexConnect/wiki/Install-Guide-Certificate-via-Ethernet](https://github.com/iBaa/PlexConnect/wiki/Install-Guide-Certificate-via-Ethernet)  
  
  
I have better luck and find it easier to type in the “plexconnectip/trailers.cer” without the quotes into my aTV’s for example I type this URL into all my aTV’s since it’s my local OSX IP address (no http prefix required):  
  
  
192.168.1.101/trailers.cer

---

<div class="post-metadata">

### Author: ![xCharlus](https://avatars.discourse-cdn.com/v4/letter/x/73ab20/32.png) [@xCharlus](https://forums.plex.tv/u/xCharlus)
#### Post date: [September 28, 2014, 8:44pm UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/5 "2014-09-28T20:44:34Z")

</div>

Thank you wahlman.j&nbsp;for your suggestion.

Openplex is amazing, makes things so much easier, I even decided to change the Plex icon with it.

And thank you people behind plexconnect for your work, it’s just amazing !

---

<div class="post-metadata">

### Author: ![wahlman.j](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wahlman.j/32/6441_2.png) [@wahlman.j](https://forums.plex.tv/u/wahlman.j)
#### Post date: [September 28, 2014, 9:16pm UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/6 "2014-09-28T21:16:56Z")

</div>

Which icon (app) did you change to the plex icon?

---

<div class="post-metadata">

### Author: ![xCharlus](https://avatars.discourse-cdn.com/v4/letter/x/73ab20/32.png) [@xCharlus](https://forums.plex.tv/u/xCharlus)
#### Post date: [September 28, 2014, 11:39pm UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/7 "2014-09-28T23:39:37Z")

</div>

The "iMovie Theatre" one. It's the only one possible out of the 3 ones that can be used to access Plex from within openplex, isn't it ?

---

<div class="post-metadata">

### Author: ![wahlman.j](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wahlman.j/32/6441_2.png) [@wahlman.j](https://forums.plex.tv/u/wahlman.j)
#### Post date: [September 28, 2014, 11:44pm UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/8 "2014-09-28T23:44:43Z")

</div>

On iOS 5-7 there is quite a few but out of the usual ones only iMovie works since trailers and wsj are static icons on the iOS.  
  
  
On iOS (7) 8 Im looking for testers for wsj & trailers.  
  
  
If you just loaded the icon today you are on iOS (7) 8. Apple makes it confusing to which aTV iOS you are using:  
  
[iOS Firmwares](https://theiphonewiki.com/wiki/SHSH)

---

<div class="post-metadata">

### Author: ![xCharlus](https://avatars.discourse-cdn.com/v4/letter/x/73ab20/32.png) [@xCharlus](https://forums.plex.tv/u/xCharlus)
#### Post date: [September 29, 2014, 12:08am UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/9 "2014-09-29T00:08:53Z")

</div>

If you want, and if it is not too complicated, I could make a test for you.

It'd have to be today and tomorrow thought, because then I won't have access to the Apple TV no more, it's not mine and I only have it until tomorrow.

I hope that can help.

---

<div class="post-metadata">

### Author: ![wahlman.j](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wahlman.j/32/6441_2.png) [@wahlman.j](https://forums.plex.tv/u/wahlman.j)
#### Post date: [September 29, 2014, 12:22am UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/10 "2014-09-29T00:22:43Z")

</div>

If you have the time and don’t mind testing it would benefit all iOS 8 plex icon users. Screenshots would be great also 🙂

---

<div class="post-metadata">

### Author: ![xCharlus](https://avatars.discourse-cdn.com/v4/letter/x/73ab20/32.png) [@xCharlus](https://forums.plex.tv/u/xCharlus)
#### Post date: [September 29, 2014, 12:24am UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/11 "2014-09-29T00:24:20Z")

</div>

All right then, let me know how I can help.&nbsp; :)

---

<div class="post-metadata">

### Author: ![wahlman.j](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wahlman.j/32/6441_2.png) [@wahlman.j](https://forums.plex.tv/u/wahlman.j)
#### Post date: [September 29, 2014, 12:28am UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/12 "2014-09-29T00:28:34Z")

</div>

Try to upload the plex icon via trailers and wsj. It will require the same steps you used prior to replace the iMovie icon just using those hijacks instead.

---

<div class="post-metadata">

### Author: ![xCharlus](https://avatars.discourse-cdn.com/v4/letter/x/73ab20/32.png) [@xCharlus](https://forums.plex.tv/u/xCharlus)
#### Post date: [September 29, 2014, 12:31am UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/13 "2014-09-29T00:31:39Z")

</div>

OK I'll try that and let you know. So there's no extra step needed ?

---

<div class="post-metadata">

### Author: ![wahlman.j](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wahlman.j/32/6441_2.png) [@wahlman.j](https://forums.plex.tv/u/wahlman.j)
#### Post date: [September 29, 2014, 12:35am UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/14 "2014-09-29T00:35:39Z")

</div>

Just start over and follow what you did prior but use the wsj first then do the icon upload like you did prior as well. Then start over and do the same for trailers.

---

<div class="post-metadata">

### Author: ![xCharlus](https://avatars.discourse-cdn.com/v4/letter/x/73ab20/32.png) [@xCharlus](https://forums.plex.tv/u/xCharlus)
#### Post date: [September 29, 2014, 7:53am UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/15 "2014-09-29T07:53:55Z")

</div>

Just finished doing it with the Trailers app and it worked indeed. I'll try WSJ later and report here.

BTW, I always have a trouble for the "adding profiles" step. First it gives me an error when I try to add it, then l finally manage to get it after reboots/reconfigurations/etc…but when I open the hijacked app it hangs on opening for ages. Only after new tests and tries and rebooting can I finally get it to work but never the first time… Once I got it right it stays OK, which is good. Any thought on that ?

Also, after I change the DNS server IP address in the aTV. I got the icons OK but after first reboot I just get the Computer + Settings and I have to switch the DNS server IP to automatic again to have it all OK again. Than I can put it back to fixed IP. Is that normal ?

---

<div class="post-metadata">

### Author: ![wahlman.j](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wahlman.j/32/6441_2.png) [@wahlman.j](https://forums.plex.tv/u/wahlman.j)
#### Post date: [September 29, 2014, 8:30am UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/16 "2014-09-29T08:30:08Z")

</div>

That’s due to the appletv acting up. Usually a reboot wil clear the cache and allow it to work right. If you can get the screenshots also it would be great of wsj and trailers working with the any plex icon on iOS 8.  
  
  
Once your done loading the icon you should redo your plexconnect minus the plex icon part so the remaining icons can load followed by a reboot of your aTV. But it seems normal what you are experiencing since plexconnect is still in “icon serving mode”.

---

<div class="post-metadata">

### Author: ![xCharlus](https://avatars.discourse-cdn.com/v4/letter/x/73ab20/32.png) [@xCharlus](https://forums.plex.tv/u/xCharlus)
#### Post date: [September 29, 2014, 9:00am UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/17 "2014-09-29T09:00:29Z")

</div>

OK I’ll take pictures of my TV with the icons.  
  
  
I had the remaining icons fine after a reboot, didn’t need to “redo” my plexconnect.   
  
  
So you’re saying the DNS issue is normal and I should reinstall plexconnect to solve the profile loading issue ?

---

<div class="post-metadata">

### Author: ![xCharlus](https://avatars.discourse-cdn.com/v4/letter/x/73ab20/32.png) [@xCharlus](https://forums.plex.tv/u/xCharlus)
#### Post date: [September 29, 2014, 6:56pm UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/18 "2014-09-29T18:56:00Z")

</div>

OK I solved the DNS issue and profile loading issue by restarting my Mac. I don't know why but it's the only way to solve this, just restarting PlexConnect doesn't work. Re-installing PlexConnect or rebooting the aTV doesn't help either and isn't necessary to solve the issue. As I was in the process of testing the Plex icon possibilities, I had to re-do the process more than once and can confirm that in my case, after having the new icon set,&nbsp;it is necessary to reboot my Mac for PlexConnect to work, but it isn't necessary to reinstall PlexConnect.

As for the Plex icon, it does indeed work with both Trailers and WSJ, in addition to iMovie. Screenshots below.

---

<div class="post-metadata">

### Author: ![wahlman.j](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wahlman.j/32/6441_2.png) [@wahlman.j](https://forums.plex.tv/u/wahlman.j)
#### Post date: [September 29, 2014, 7:36pm UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/19 "2014-09-29T19:36:57Z")

</div>

Awesome work thank you!

---

<div class="post-metadata">

### Author: ![xCharlus](https://avatars.discourse-cdn.com/v4/letter/x/73ab20/32.png) [@xCharlus](https://forums.plex.tv/u/xCharlus)
#### Post date: [September 29, 2014, 7:39pm UTC](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688/20 "2014-09-29T19:39:57Z")

</div>

My pleasure, it's the least I could do. :)

You are the one to be thanked for your amazing work.

[Next page](https://forums.plex.tv/t/plexconnect-stuck-at-serving-js-application-js/77688.md?page=2)
