signalapp / Signal-iOS

A private messenger for iOS.
https://signal.org
GNU Affero General Public License v3.0
10.59k stars 2.95k forks source link

Failed transfer iPhone Pro 13->15 #5798

Open abandon42 opened 1 month ago

abandon42 commented 1 month ago

Bug description

Everyone’s favorite iOS transfer bug, now on iOS 17.4 / signal 7.9

Steps to reproduce

Actual result: transfer fails to start

Expected result: transfer

Link to debug log

https://debuglogs.org/ios/7.8.0/247ff27de4c747c11735f84b8b7347addfcf81f60785a931f1a411908576be6d.zip

https://debuglogs.org/ios/7.8.0/c4ba06c79829650b012edf45ffc6e1a7070d4e46036e4e808850c988b6243b35.zip

abandon42 commented 1 month ago

After several attempts, it worked after manually closing all the applications in the task switcher, restarting both phones, and trying again. Restarts on their own, or closing all apps was insufficient. I also had the screen brightness up which was a fix from 3 years ago, not sure if relevant.

Also disabled airdrop 'bring phones close together' functionality because that popped up.

Propose adding the manual closure of all open apps to the directions, as iPhone brings back all your recent apps. Not sure if anything I did made a difference, or if it just needed 15 attempts to work.

cousinit99 commented 2 weeks ago

Ok, I need to second this. I've got a 13 Mini and I'm attempting to transfer to a 15 Plus. None of the magic tricks or folk remedies I've seen suggested on Reddit or here in this thread have worked. The transfer never progresses past 12% before failing. The debug log is painfully indescript and ambiguous, at least from a power user's perspective, as the relevant lines simply say:

2024/06/16 16:30:36:654  💛 [DeviceTransferOperation.swift:59 run()]: Transferring file: xxxx-xx-xx-xxx7AD, estimatedSize: 46090
2024/06/16 16:30:37:189  💛 [DeviceTransferOperation.swift:120 prepareForSending()]: Transferring file xxxx-xx-xx-xxx7AD complete
2024/06/16 16:30:37:189  💛 [DeviceTransferOperation.swift:59 run()]: Transferring file: xxxx-xx-xx-xxxD03, estimatedSize: 57185
2024/06/16 16:30:58:167  💛 [DeviceTransferService+MultipeerDelegates.swift:51 session(_:peer:didChange:)]: Connection to new device did change: 0
2024/06/16 16:30:58:167  ❤️ [DeviceTransferService.swift:257 failTransfer(_:_:)]: Failed transfer Lost connection to new device
2024/06/16 16:30:58:168  💛 [TSAccountManagerImpl.swift:289 setIsTransferInProgress(_:tx:)]: TSRegistrationState Resetting isTransferInProgress 
2024/06/16 16:30:58:179  💛 [MainAppContext.swift:139 ensureSleepBlocking(_:blockingObjectsDescription:)]: Unblocking sleep.

I've tried everything I've seen on the internet. Turn up the screen brightness, clean screens, disable the screen timeout, remove all apps from the task manager and then restart, disable airdrop, remove MagSafe cases, touch devices, space devices varying distances apart, don't move the devices or breathe while the transfer is in progress... None of it works. 12% is the furthest it ever gets. It'd be super duper nice if the debug log was a little more verbose. I can see that the transfer failed, thanks. WHY did it fail? And what wireless protocol is being used for this transfer? Knowing that would probably be useful, too. If anyone has any miracles or white wizards they'd like to share, I'm all ears, thanks. Both devices are running the latest iOS as of this moment, 17.5.1.

0dbac24de5cac2d498fc1c76fc92fd3d3def19de5e55b187bf5c37ce2adb0862[1].zip

cousinit99 commented 1 week ago

Can someone please confirm or deny? Is this reproducible? What wireless method is being used for the transfer? I see this is still open but no one's commented on or acknowledged it. Thanks

cousinit99 commented 1 week ago

Well, something external must have changed, because I didn't do anything differently, except maybe look to the east at first light, and the transfer just magically decided to work. Lord knows I had been sweating this for 4+ days. White wizard... I'll take it.