BlueBubblesApp / bluebubbles-server

Server for forwarding iMessages to clients within the BlueBubbles App ecosystem
https://bluebubbles.app
Apache License 2.0
532 stars 46 forks source link

MacOS Sequoia v15 Beta 3: lots of crashes & bugs (after 9 July 2024) #669

Open HenryTheX opened 2 months ago

HenryTheX commented 2 months ago

After updating to MacOS 15.0 beta 3, the BlueBubbles apps has tons of new bugs:

  1. It no longer sends photo or videos. On 1.9.7 Server version, photo will always showing waiting for iMessage but will never get sent. On 1.9.8 Beta version server, it will crash the server on Mac
  2. The server kept crashing after updating to 1.9.8 beta version of the server.
  3. FindMy doesnt work, it doesnt show anything on my Android phone BlueBubble app, no friends, no item airtags nothing
  4. Headless mode no longer launch iMessage app on Mac which resulted in Headless mode doesnt work at all.
HenryTheX commented 2 months ago

It's confirmed related to Private API Attachment send. After turning it off, attachments are sent normally. Kindly fix this bug after the new macOS 15 Beta 3

joshuafhiggins commented 4 weeks ago

To follow up, here are relevant logs for the crash:

Request to /api/v1/message/attachment took 120011 ms    8/14/2024, 12:28:50 AM

bh: [500] Attachment Send Error at sendAttachment (/Applications/BlueBubbles (ARM).app/Contents/Resources/app.asar/dist/main.js:1:261780) at async validateAttachment (/Applications/BlueBubbles (ARM).app/Contents/Resources/app.asar/dist/main.js:1:292759) at async /Applications/BlueBubbles (ARM).app/Contents/Resources/app.asar/dist/main.js:1:302661 at async vh (/Applications/BlueBubbles (ARM).app/Contents/Resources/app.asar/dist/main.js:1:249951) at async Bh (/Applications/BlueBubbles (ARM).app/Contents/Resources/app.asar/dist/main.js:1:284522) at async Vh (/Applications/BlueBubbles (ARM).app/Contents/Resources/app.asar/dist/main.js:1:284901) at async qh (/Applications/BlueBubbles (ARM).app/Contents/Resources/app.asar/dist/main.js:1:284028) at async Vh (/Applications/BlueBubbles (ARM).app/Contents/Resources/app.asar/dist/main.js:1:284901)    8/14/2024, 12:28:50 AM

API Error: [500] Attachment Send Error -> Transaction timeout   8/14/2024, 12:28:50 AM

Raw Error: bh: [500] Attachment Send Error  8/14/2024, 12:28:50 AM

Request to /api/v1/message/attachment took 120014 ms    8/14/2024, 12:27:20 AM

bh: [500] Attachment Send Error at sendAttachment (/Applications/BlueBubbles (ARM).app/Contents/Resources/app.asar/dist/main.js:1:261780) at async validateAttachment (/Applications/BlueBubbles (ARM).app/Contents/Resources/app.asar/dist/main.js:1:292759) at async /Applications/BlueBubbles (ARM).app/Contents/Resources/app.asar/dist/main.js:1:302661 at async vh (/Applications/BlueBubbles (ARM).app/Contents/Resources/app.asar/dist/main.js:1:249951) at async Bh (/Applications/BlueBubbles (ARM).app/Contents/Resources/app.asar/dist/main.js:1:284522) at async Vh (/Applications/BlueBubbles (ARM).app/Contents/Resources/app.asar/dist/main.js:1:284901) at async qh (/Applications/BlueBubbles (ARM).app/Contents/Resources/app.asar/dist/main.js:1:284028) at async Vh (/Applications/BlueBubbles (ARM).app/Contents/Resources/app.asar/dist/main.js:1:284901)    8/14/2024, 12:27:20 AM

API Error: [500] Attachment Send Error -> Transaction timeout   8/14/2024, 12:27:20 AM

Raw Error: bh: [500] Attachment Send Error  8/14/2024, 12:27:20 AM

[Messages] [stderr] 2024-08-14 00:26:52.971 Messages[3846:190678] +[IMKClient subclass]: chose IMKClient_Legacy 8/14/2024, 12:26:52 AM

[Messages] [stderr] CoreData: error: addPersistentStoreWithType:configuration:URL:options:error: returned error NSCocoaErrorDomain (256) CoreData: error: userInfo: CoreData: error: reason : Unknown failure to access file: 1 CoreData: error: storeType: SQLite CoreData: error: configuration: (null) CoreData: error: URL: file:///Users/joshuafhiggins/Pictures/Photos%20Library.photoslibrary/database/Photos.sqlite?readonly_shm=1 CoreData: annotation: options: CoreData: annotation: NSSQLitePersistWALOption : 1 CoreData: annotation: NSReadOnlyPersistentStoreOption : 1 CoreData: annotation: NSPersistentStoreTrackIndexUseOptionKey : 0 CoreData: annotation: NSSQLitePragmasOption : { "journal_mode" = WAL; "wal_autocheckpoint" = 0; } CoreData: annotation: NSPersistentHistoryTrackingKey : { NSPersistentHistoryAllowPartialHistoryMigration = 1; NSPersistentHistoryTrackingEntitiesToExclude = ( AssetAnalysisState, MediaAnalysisAssetAttributes, PhotoAnalysisAssetAttributes, ComputedAssetAttributes, SceneClassification, DetectedFaceGroup, Sceneprint, DetectedFaceprint, CharacterRecognitionAttributes, VisualSearchAttributes, GlobalKeyValue, BackgroundJobWorkItem ); NSPersistentHistoryUseContextObjectsForDeletes = 1; }    8/14/2024, 12:26:52 AM

[Messages] [stderr] CoreData: error: Executing as effective user 501 CoreData: error: Information for /Users/joshuafhiggins/Pictures/Photos Library.photoslibrary/database/Photos.sqlite CoreData: error: --------------------------- CoreData: error: File Device ID: 0 CoreData: error: Device ID: 16777232 CoreData: error: File Size: 11685888 bytes CoreData: error: File inode: 51953 CoreData: error: File user ID: 501 CoreData: error: File group ID: 20 CoreData: error: File Permissions: CoreData: error: - CoreData: error: 644 CoreData: error: file is not a symbolic link CoreData: error: Information for file system CoreData: error: --------------------------- CoreData: error: File system type: 0x1a CoreData: error: File system flags: 0x4909080 CoreData: error: MNT_JOURNALED CoreData: error: Total data blocks: 59840624 CoreData: error: Free data blocks: 12295776 CoreData: error: Free blocks for nonsuperuser: 12295776 CoreData: error: Total i-nodes: 492201949 CoreData: error: File system ID: 0x1000010, 0x1a CoreData: error: Free i-nodes: 491831040 CoreData: error: Owner UID: 0 CoreData: error: Filesystem type name: apfs CoreData: error: Mount on name: /System/Volumes/Data CoreData: error: Mount from name: /dev/disk3s5 8/14/2024, 12:26:52 AM

I can help test any patch builds, just lmk.

cameronaaron commented 2 weeks ago

I do not think the devs are testing at all on Sequoia so I dont think this will be done until offical release. I do think there was quite a few API changes in Sequoia

crazybadger commented 2 weeks ago

1.9.8 is not working at all for me on macOS 15.1, but I appreciate that's the gamble with running a beta. BlueBubbles is the only thing I'm running that isn't working, though, so overall, it is a very stable beta release

cameronaaron commented 2 weeks ago

thats because apple changed the apis