Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Connection refused

Hello,


I have been getting frustrated with Airplay to Apple TV lately. It would seem that if an app is open on the Apple TV it will only allow a few minutes of music to be played from itunes on my macbook over airplay. I get the orange airplay icon and hit play and it reconnects, for another 3-5 minutes. I have not noticed this problem with IOS devices, and if I start with the home page on the Apple TV up I don't seem to have as much of an issue. I'll restart itunes and restart the Apple TV and restart the macbook but that doesn't seem to make much difference. Everything is up to date with the most current software, except maybe the airport base station being a few years old might be limited. I use 5GHz band on the Apple TV and Macbook, I don't seem to have much competition on that band in the area unless a hidden SSID is lurking on a nearby channel. I do not recall having this issue before the last round of software updates.


Does anyone else have experiences like this? Any fixes? My opinion is it is a bug but my searches have not really yielded collaboration.


"An error occurred while connecting to the AirPlay device “Apple TV”. The network connection was refused." when I hover over airplay alert "!"


Macbookpro early 2011 17" Yosemite

Apple TV 2 7.0.2

Airport Extreme gen 5 (7.6.4 which does not seem to work with Yosemite's Airport utility)

Only 1 5GHz network listed on channel 108 compared to 149 that I use

User uploaded file

Posted on Jan 24, 2015 1:57 PM

Reply
22 replies

Sep 18, 2015 8:47 AM in response to kurt9999999

I am having the same issue. My wireless network is comprised of two Apple Airport Express. I'm broadcasting music via iTunes airplay from my iMac to my AppleTV3. The music seems to play for only about 5 minutes then I too get the Connection Refused error. If I choose my iMac for airplay then click back on my AppleTV3 it will begin playing again. This is very odd.

Oct 1, 2015 4:51 AM in response to kurt9999999

Exactly the same issue here. It started in Yosemite, but still behaves the same way in El Capitan.

The network between my Mac with iTunes and the AppleTV is wired Ethernet LAN, WiFi is turned off on both devices.

Anything else is the same as in your post, including the time it works until it drops again, and the error message.


Could someone please help?

Nov 3, 2015 4:14 AM in response to kurt9999999

Problem been around for long, long, long time. Long enough for me to send in hundreds of bug reports to Apple. Good to see it still is the same as it ever was. My fix was to use the optical connection, turn off TV, and only listen to music through the optical connection. TV4 has killed that option by only giving an HDMI, which is terrible. Don't get me wrong, the Apple TV airplay is still awful, and the HDMI connection has a time lag in it to really make you irritated, so I don't get upset over it too much, it is a terrible implementation of something that works fine on Airport Express with the same setup and router. Apple TV Airplay is buggy and needs fixing, but since it hasn't happened over the last 3 years, it won't.

Sep 17, 2016 7:32 AM in response to vazandrew

It is unlikely to be the network. After 30 years of designing and maintaining networks I know my way around one pretty well. I've already eliminated that as an option. Not only have I tested streaming from the same Mac to other devices on the network and found no fault, in timing the disconnects they are extremely consistent at about 3 minutes. This sounds like a timer of some sort running on the Apple TV. Furthermore, I have active monitoring on my network and use enterprise class equipment. Sorry but you are way off base on this one.

Sep 17, 2016 7:46 AM in response to Diana.McCall

Yes, I'm running the latest patch set 2016-001 of 10.11.6 along with the latest iTunes 12.5.1.21 and the latest tvOS 10.0. Given that the iTunes version and tvOS came out about the same time I cannot say for certain it isn't related to iTunes but I have tried streaming from other sources (I use AirFoil most of the time) and that's where I noticed the problem first. I then tried streaming from iTunes to see if it wasn't a problem with AirFoil. When the problem persisted and remained consistent at about 3 minutes of play (give or take about 5 seconds) I became suspicious of the Apple TV. If only there was a clean way to back out to my previous tvOS version I could go back and check. I've been using that kind of feature on network hardware for years and it just seems backwards to prevent such functionality on these devices. It's not like it's that hard to do, just takes a bit of disk space/flash and a little bit of code in the boot loader to allow the previous version to be made current.

Sep 17, 2016 9:04 AM in response to vazandrew

I have tried another "network" if you want to call it that. I created a network over ethernet with only my laptop and the AppleTV and a 1M piece of Cat6 cable. It doesn't get simpler than that. The problem remains virtually identical in all three environments. I'm convinced the problem is _not_ the network and _is_ something with the AppleTV 4. I just finished a similar test using my AppleTV 3 (tvOS 7.2.1) and the problem does not exist there. I did discovere that streaming video does not suffer from the same issue, it appears it is exclusively tied to the AppleTV 4 and audio/music. Now that I have a fairly portable and isolated environment I obviously need to take this to Apple support.

Sep 17, 2016 12:13 PM in response to vazandrew

After 30 years of networking, designing, building and providing the Internet services for a University the size of a small city (> 35,000 end systems) with both wired and wireless network infrastructure, using equipment from Cisco, Juniper, Palo Alto, F5, HP, 3Com, Sun, Oracle, etc. I think I've earned the right to call myself an expert in networking for both home and enterprise. Based on your comments, you are not ignorant but you do not meet that qualification. I will admit that I do not know everything (no one can and one who claims so is a liar) but I am an expert and I learned from some very skilled professionals along with significant body of experience. Perhaps I mis-interpreted you but you seem to be questioning my expertise in a field that I'm certain you are not expert and should not be claiming so or insisting upon your solution when significant work has been done by an expert in the field to eliminate your supposition.

A network can be constructed out of many or few pieces of equipment and having a single computer (as the server) and a single devices (as the client) is a perfectly sane and valid network. What I built was completely isolated - and consisted of a Mac (server) and the Apple TV (client) - and is completely different from the usual one I use, connected via a Juniper Networks gigabit switch. Yes, the interface on the AppleTV is exactly the same in either case but that's not what's in question here. The only device causing problems with streaming of audio is a fairly new AppleTV 4. That AppleTV 4 was not having this problem before a recent firmware upgrade of the AppleTV 4. Nothing else in my environment has changed with the exception of a test network that only proved beyond any shadow of a doubt the problem isn't the network. I've been monitoring the ethernet interface of the Apple TV and it does _not_ flap so that is not part of the problem. Neither does the interface on my Mac. That leaves the Apple TV 4 and tvOS 10.0. Not the network.

Connection refused

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.