BlueBubblesApp / bluebubbles-server

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

Sever (1.5.5) crashes immediately after opening (macOS 13 13.2.1 - OpenCore 0.8.9) #495

Closed willcclark closed 8 months ago

willcclark commented 1 year ago

The server application does open, briefly displays a blank white screen, then crashes. I have adjusted the proper SIP configuration according to the official documentation. Also attempted using earlier versions, including 1.5.4 and 1.3.0, with identical results. Starting the app from the terminal yields this error message:

Error sending from webFrameMain: Error: Render frame was disposed before WebFrameMain could be accessed [11330:0304/195023.390593:ERROR:network_service_instance_impl.cc(975)] Network service crashed, restarting service. 2023-03-05T00:50:23Z WRN Your version 2023.2.1 is outdated. We recommend upgrading it to 2023.3.0 [11330:0304/195023.465299:ERROR:network_service_instance_impl.cc(975)] Network service crashed, restarting service. [2023-03-04 19:50:23.487] [debug] Warning: macOS Monterey does NOT support creating group chats due to API limitations! Error sending from webFrameMain: Error: Render frame was disposed before WebFrameMain could be accessed

Screen Capture Demonstration

UPDATE: Quick update: The issue seems to revolve around SIP. When I enabled SIP (on Monterrey), the application window launched successfully. When I disabled SIP, the issue from Ventura presented itself again. Thus, I am unable to access the private API features.

star-glider commented 1 year ago

I suspect that you might be running into TCC issues. With SIP disabled, the process for applications to request permissions is broken. I ran into the same issue you're describing, and actually if I relaunched it over and over again, it'd work eventually.

Once I fixed the TCC db, though, it completely resolved. See https://www.reddit.com/r/BlueBubbles/comments/11ih8ig/sever_155_crashes_immediately_after_opening_macos/ and https://www.reddit.com/r/BlueBubbles/comments/10z0fhg/psa_getting_contacts_on_the_server/