AFP - Connection Failed

Questions about using NAS on Mac OS.
colinm9
New here
Posts: 3
Joined: Sun Aug 17, 2014 7:22 am
Location: Halifax, NS

AFP - Connection Failed

Postby colinm9 » Fri Aug 22, 2014 9:21 am

TS-269 Pro OSX 10.9.3
Just migrated disks from 212 to 269. My final task is to get AFP working so that I can get TimeMachine working again. I see the AFP share in finder but when I click on it it seems to try to connect for a few minutes and then announces - Connection Failed. The SMB share connects after a few seconds.
I've no idea what's going on here. A couple of console log entries may offer clues to someone with quite a bit more knowledge than me -
AFP error -5014 mapped to EIO
and
afp_sendmsg: sendmsg failed 0xffffffff errno = 32
Any help greatly appreciated!
Regards
Colin

nuytsr
First post
Posts: 1
Joined: Sun Aug 24, 2014 2:51 pm

Re: AFP - Connection Failed

Postby nuytsr » Sun Aug 24, 2014 3:27 pm

Just upgrade my TS459 with new disks via expand raid
I have a similar problem with OSX 10.9.3 and my mac
After Raid expand, i can not login via AFP, SMB works fine, but is slower then before.
System connection log shows (on qnap) : login ok, but MAC will continue until after a few minutes : Connection failed

24/08/14 09:25:39,251 NetAuthSysAgent[696]: afp_sendmsg: sendmsg failed 0xffffffff errno = 89
24/08/14 09:25:39,251 NetAuthSysAgent[696]: AFP error -5014 mapped to EIO
24/08/14 09:25:39,252 NetAuthSysAgent[696]: afp_sendmsg: sendmsg failed 0xffffffff errno = 32

it worked great before,i did not install any osx upgrade
Tips are greatly appreciated
Rutger

bendsch
Know my way around
Posts: 229
Joined: Fri Oct 23, 2009 3:20 am

Re: AFP - Connection Failed

Postby bendsch » Wed Oct 08, 2014 12:28 am

same thing here on my ts-459 pro + after installing FW 4.1.1 (no disk migration involved).

the connection fails only if i click the afp-share (bonjour) in the finder. if i do "connect to server" afp://ipadress/share it works.
NASmodesl: TS-459 Pro+ , TS-251
Firmware: 4.2.4

jwkip
First post
Posts: 1
Joined: Fri Feb 18, 2011 10:02 pm

Re: AFP - Connection Failed

Postby jwkip » Fri Oct 10, 2014 3:48 pm

Same problem here :-(
Since upgrade my TS-670-pro to FW 4.1.1 no connection trough AFP possible anymore!
Also SMB works normal.
Strange thing is that I still can access my "Multimedia" folder trough AFP but not my "Download" folder
Any solutions yet!?

jaa
Starting out
Posts: 11
Joined: Sat Sep 04, 2010 2:39 pm

Re: AFP - Connection Failed

Postby jaa » Fri Oct 10, 2014 4:06 pm

Thank goodness I'm not the only one.

This is highly annoying and frankly unacceptable. Never have I had such a catastrophic failure for something so simple as connecting to my NAS.

The latest update 4.1.1 has added an ever newer problem to the already annoying "connection failed" message. Now when it locates the NAS, it likes to randomly tell me that my user name or password is incorrect despite the fact that my username/password is saved in my keychain and has always worked and will work again in about 2 minutes.

User avatar
doktornotor
Ask me anything
Posts: 7525
Joined: Tue Apr 24, 2012 5:44 am

Re: AFP - Connection Failed

Postby doktornotor » Fri Oct 10, 2014 7:30 pm

Go bug QNAP. :arrow: http://helpdesk.qnap.com/index.php?/Tickets/Submit

Noone will fix anything here; netatalk has been outdated for quite a while, with known bugs long fixed upstream, plus well known stupid decisions regarding the backend because QNAP knows better than upstream on what should they use - cf. viewtopic.php?f=30&t=97572 e.g.

:roll: :roll: :roll:
I'm gone from this forum till QNAP stop wasting volunteers' time. Get help from QNAP helpdesk instead.
Warning: offensive signature and materials damaging QNAP reputation follow:
QNAP's FW security issues
QNAP's hardware compatibility list madness
QNAP's new logo competition
Dear QNAP, kindly fire your clueless incompetent forum "admin" And while at it, don't forget the webmaster!

Acidham
New here
Posts: 4
Joined: Fri Jan 06, 2012 2:45 pm

Re: AFP - Connection Failed

Postby Acidham » Wed Oct 15, 2014 1:52 am

Same here after upgrading my P219P+ to 4.1.1 I cannot connect via AFP. Only guest login to PUBLIC works. Anyone out here on how to fix that? My NAS is now unusable :?

User avatar
pwilson
Guru
Posts: 22582
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: AFP - Connection Failed

Postby pwilson » Wed Oct 15, 2014 1:57 am

Acidham wrote:Same here after upgrading my P219P+ to 4.1.1 I cannot connect via AFP. Only guest login to PUBLIC works. Anyone out here on how to fix that? My NAS is now unusable :?


viewtopic.php?f=185&t=96805#p439089

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.

Acidham
New here
Posts: 4
Joined: Fri Jan 06, 2012 2:45 pm

Re: AFP - Connection Failed

Postby Acidham » Wed Oct 15, 2014 2:07 am

I filed a support case....but I am not confident to get a solution

Acidham
New here
Posts: 4
Joined: Fri Jan 06, 2012 2:45 pm

Re: AFP - Connection Failed

Postby Acidham » Thu Oct 23, 2014 5:52 pm

In the meantime QNAP support recommended to delete .AppleDB on each Share. After I did that I was able to re-connect to the NAS but after a while .AppleDB was created again and I was again not able to connect to QNAP NAS. There is no way to prevent Mac OS X to write .AppleDB. I think this proves that it is a bug in QNAP latest FW.
Hopefully they fix it otherwise I need to switch to another solution because deleting .AppleDB via Terminal and restarting my Macs is not very handy.

sirdavy
Getting the hang of things
Posts: 63
Joined: Sun Mar 09, 2014 6:55 am

Re: AFP - Connection Failed

Postby sirdavy » Tue Oct 28, 2014 5:34 am

I can't access the folders on my NAS from the aliases I created on my desktop. I can't connect to server through finder. I don't think I've been able to connect for 14 days. Has this thing been fixed yet?

Jim DeLaHunt
Starting out
Posts: 24
Joined: Tue Apr 06, 2010 1:41 pm

Re: AFP - Connection Failed

Postby Jim DeLaHunt » Tue Dec 23, 2014 3:16 pm

I am seeing a similar problem, connecting to a TS-219P recently upgraded to firmware 4.1.1 build 20141101, from Mac OS X 10.10.1.

The repeatable set of messages on the Mac OS Console are:

Code: Select all

2014-12-22 10:35:29.626 PM NetAuthSysAgent[6167]: afp_sendmsg:  sendmsg failed 0xffffffff errno = 89
2014-12-22 10:35:29.627 PM NetAuthSysAgent[6167]: afp_sendmsg:  sendmsg failed 0xffffffff errno = 32
2014-12-22 10:35:29.627 PM NetAuthSysAgent[6167]: AFP error -5014 mapped to EIO
2014-12-22 10:35:29.627 PM NetAuthSysAgent[6167]: afp_sendmsg:  sendmsg failed 0xffffffff errno = 32


I have also filed a support case, BNF-586-10641, just now. I'll post a reply if I get a solution.
Jim DeLaHunt, multilingual websites consultant, Vancouver, Canada. User Jim_DeLaHunt on wiki.qnap.com.
My QNAP device: TS-219P, firmware 4.2.4 build 20170313, 2 x 3TB Western Red disks.

Jim DeLaHunt
Starting out
Posts: 24
Joined: Tue Apr 06, 2010 1:41 pm

Re: AFP - Connection Failed

Postby Jim DeLaHunt » Wed Dec 24, 2014 8:56 am

QNAP Support's remedy was to delete, via rm -r command from the shell while logged in to the QNAP as admin, any .AppleDB/ directory at the root of a shared folder, e.g. rm -r /share/Qmultimedia/.AppleDB/.

This was effective, in that I'm now able to connect via AFP, once, to the shared folders in question. We'll see if this fix lasts. I've got to imagine that the cause of the problem is that an older version of the firmware put something into the .AppleDB/ directory which is now unsuitable, but that the new version of the firmware only leaves suitable things in there.
Jim DeLaHunt, multilingual websites consultant, Vancouver, Canada. User Jim_DeLaHunt on wiki.qnap.com.
My QNAP device: TS-219P, firmware 4.2.4 build 20170313, 2 x 3TB Western Red disks.

Jim DeLaHunt
Starting out
Posts: 24
Joined: Tue Apr 06, 2010 1:41 pm

Re: AFP - Connection Failed

Postby Jim DeLaHunt » Sat Dec 27, 2014 12:10 pm

It seems that the fix of deleting .AppleDB directories is effective. I have not had this problem again, and I have been able to connect, disconnect, and start the client computer several times.
Jim DeLaHunt, multilingual websites consultant, Vancouver, Canada. User Jim_DeLaHunt on wiki.qnap.com.
My QNAP device: TS-219P, firmware 4.2.4 build 20170313, 2 x 3TB Western Red disks.

stealthmusic
New here
Posts: 9
Joined: Mon May 09, 2011 1:12 pm

Re: AFP - Connection Failed

Postby stealthmusic » Sun Jan 04, 2015 4:41 am

Hi,

same issue here. TS-210, after update to 4.1.1, AFP stopped working.

I deleted all .AppleDB directories found by find /share -name .AppleDB

But I wasn't able to connect again after that. I tried to restart my MacBook but it didn't help either.

Any suggestions on what to do? How did actually solve this? Anything else you did after deleting the directories?

Thanks!


Return to “Mac OS”

Who is online

Users browsing this forum: No registered users and 2 guests