crystalidea / macs-fan-control

Control fans on Apple computers
https://crystalidea.com/macs-fan-control
834 stars 96 forks source link

Mac Fan Control Failing to connect to helper tool #709

Open guycalledskippy opened 9 months ago

guycalledskippy commented 9 months ago

Update by crystalidea:

Please use version 1.5.17 beta: https://github.com/crystalidea/macs-fan-control/issues/721

if you get this error again, please post tech info here.


Everytime i open mac fan control it says: "Failed to Connect to helper tool. The app will continue to operate in read-only mode (no fan control). Probably another instance is already running, check log for details.

I've looked at other issues on Github but they dont seem to be the same.

Its also been stuck on a very high fan speed so i really need to be able to control it.

This is the Log if its of any use: [2023-09-27 11:26:15:497] [thread 22632757] [app.cpp#211] Invalid data in pref_license [2023-09-27 11:26:15:497] [thread 22632757] [app.cpp#360] Macs Fan Control 1.5.16 [2023-09-27 11:26:15:497] [thread 22632757] [app.cpp#361] Process PID=48278 [2023-09-27 11:26:15:497] [thread 22632757] [app.cpp#362] macOS 13.5.0 [2023-09-27 11:26:15:497] [thread 22632757] [app.cpp#363] MacBookPro17,1 [2023-09-27 11:26:15:497] [thread 22632757] [app.cpp#364] Apple M1 [8 cores] [2023-09-27 11:26:15:497] [thread 22632757] [app.cpp#365] Qt 5.15.14 [2023-09-27 11:26:15:509] [thread 22632757] [smcWriteInstaller.mm#66] Helper installed (version 1.0.3) [2023-09-27 11:26:15:509] [thread 22632757] [smcWriteInstaller.mm#67] Helper file path: /Library/PrivilegedHelperTools/com.crystalidea.macsfancontrol.smcwrite [2023-09-27 11:26:15:509] [thread 22632757] [smcWriteInstaller.mm#68] Helper file size: 192304 bytes [2023-09-27 11:26:15:510] [thread 22632757] [smcWriteInstaller.mm#82] Current version - 1.0.3 [2023-09-27 11:26:15:510] [thread 22632757] [Platform_mac_smcwrite.mm#79] open XPC connection to com.crystalidea.macsfancontrol.smcwrite [2023-09-27 11:26:15:510] [thread 22632757] [Platform_mac_smcwrite.mm#156] process_command_open: connection is still open! Current pid is 96911, requested pid is 48278 [2023-09-27 11:26:15:510] [thread 22632757] [Platform_mac_smcwrite.mm#199] process_command_close: tried to close a connection from another pid 48278 [2023-09-27 11:26:15:510] [thread 22632757] [Platform_mac.mm#60] connectToSMCWrite failed [2023-09-27 11:26:15:511] [thread 22632757] [Service.cpp#93] detectSmcFanKeySize KeyType flt [2023-09-27 11:26:15:511] [thread 22632757] [Service.cpp#94] detectSmcFanKeySize KeyLen 4 [2023-09-27 11:26:15:511] [thread 22632757] [Platform_mac.mm#201] getKeyInfo, the key FS! doesn't likely exist

H0neyHunter commented 8 months ago

+1

avi0707 commented 8 months ago

+1 Please fix. Macmini, 3 GHz 6-Core Intel Core i5, Os version 14.0. Everytime i open mac fan control it says: "Failed to Connect to helper tool. The app will continue to operate in read-only mode (no fan control). Probably another instance is already running, check log for details.

[2023-10-09 22:37:29:043] [thread 66561] [app.cpp#211] Invalid data in pref_license [2023-10-09 22:37:29:043] [thread 66561] [app.cpp#360] Macs Fan Control 1.5.16 [2023-10-09 22:37:29:043] [thread 66561] [app.cpp#361] Process PID=2817 [2023-10-09 22:37:29:043] [thread 66561] [app.cpp#362] macOS 14.0.0 [2023-10-09 22:37:29:043] [thread 66561] [app.cpp#363] Macmini8,1 [2023-10-09 22:37:29:043] [thread 66561] [app.cpp#364] Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz [6 cores] [2023-10-09 22:37:29:043] [thread 66561] [app.cpp#365] Qt 5.15.14 [2023-10-09 22:37:29:059] [thread 66561] [smcWriteInstaller.mm#104] installedHelperJobData is empty [2023-10-09 22:37:29:059] [thread 66561] [smcWriteInstaller.mm#116] installHelperTool [2023-10-09 22:37:33:413] [thread 66561] [app_mac.mm#74] removeFlag APP_FLAG_NO_SMCWRITE [2023-10-09 22:37:33:413] [thread 66561] [Platform_mac_smcwrite.mm#79] open XPC connection to com.crystalidea.macsfancontrol.smcwrite [2023-10-09 22:37:33:414] [thread 66561] [Platform_mac_smcwrite.mm#49] parseReply failed, 0x7ff84bfb37a0 [2023-10-09 22:37:33:414] [thread 66565] [Platform_mac_smcwrite.mm#114] XPC connection invalid, releasing. [2023-10-09 22:37:33:414] [thread 66561] [Platform_mac.mm#60] connectToSMCWrite failed [2023-10-09 22:37:33:414] [thread 66561] [Service.cpp#93] detectSmcFanKeySize KeyType flt [2023-10-09 22:37:33:414] [thread 66561] [Service.cpp#94] detectSmcFanKeySize KeyLen 4 [2023-10-09 22:37:33:414] [thread 66561] [Platform_mac.mm#201] getKeyInfo, the key FS! doesn't likely exist

Tourist-ChenHao commented 8 months ago

+1,I also encountered it. I thought it was a problem with my computer

Igorek-ship-it commented 7 months ago

Try to enter this command in terminal and restart the app, should be fine:

sudo launchctl enable system/com.crystalidea.macsfancontrol.smcwrite
liong911 commented 7 months ago

Try to enter this command in terminal and restart the app, should be fine:

sudo launchctl enable system/com.crystalidea.macsfancontrol.smcwrite

这个命令可以解决问题 (This command can solve the problem)

smittola commented 7 months ago

Same problem here. It started when I installed v. 1.5.15. I'm running a 2017/ MacBook Air 13"/ i7 2.2Ghz. I've used Mac Fan Control for ages. This is the first time I've had any issues. Are you making any progress on a this bug??

[2023-11-21 03:51:07:141] [thread 92364] [app.cpp#211] Invalid data in pref_license [2023-11-21 03:51:07:141] [thread 92364] [app.cpp#360] Macs Fan Control 1.5.16 2023-11-21 03:51:07:141] [thread 92364] [app.cpp#361] Process PID=1649 [2023-11-21 03:51:07:141] [thread 92364] [app.cpp#362] macOS 12.7.1 [2023-11-21 03:51:07:141] [thread 92364] [app.cpp#363] MacBookAir7,2 [2023-11-21 03:51:07:141] [thread 92364] [app.cpp#364] Intel(R) Core(TM) i7-5650U CPU @ 2.20GHz [2 cores] [2023-11-21 03:51:07:141] [thread 92364] [app.cpp#365] Qt 5.15.14 [2023-11-21 03:51:07:152] [thread 92364] [smcWriteInstaller.mm#104] installedHelperJobData is empty [2023-11-21 03:51:07:152] [thread 92364] [smcWriteInstaller.mm#116] installHelperTool [2023-11-21 03:51:15:891] [thread 92364] [app_mac.mm#74] removeFlag APP_FLAG_NO_SMCWRITE [2023-11-21 03:51:15:892] [thread 92364] [Platform_mac_smcwrite.mm#79] open XPC connection to com.crystalidea.macsfancontrol.smcwrite [2023-11-21 03:51:15:892] [thread 92364] [Platform_mac_smcwrite.mm#49] parseReply failed, 0x7ff8510e4740 [2023-11-21 03:51:15:892] [thread 92511] [Platform_mac_smcwrite.mm#114] XPC connection invalid, releasing. [2023-11-21 03:51:15:892] [thread 92364] [Platform_mac.mm#60] connectToSMCWrite failed [2023-11-21 03:51:15:893] [thread 92364] [Service.cpp#93] detectSmcFanKeySize KeyType fpe2 [2023-11-21 03:51:15:893] [thread 92364] [Service.cpp#94] detectSmcFanKeySize KeyLen 2

kleuter commented 7 months ago

Please try using the 1.5.17 beta, it should detect such situations and offer an automated solution

12ya commented 6 months ago

Please try using the 1.5.17 beta, it should detect such situations and offer an automated solution

still getting same error (, tried to clean with AppCleaner and installed the beta 3 times already, dont work

kleuter commented 6 months ago

Please redownload the latest beta and try again

matthewjpicone commented 5 months ago

Ive attempted to redownload this tool and still getting the same issue

[2024-01-09 09:55:19:510] [thread 8900195] [app.cpp#211] Invalid data in pref_license [2024-01-09 09:55:19:510] [thread 8900195] [app.cpp#360] Macs Fan Control 1.5.16 [2024-01-09 09:55:19:510] [thread 8900195] [app.cpp#361] Process PID=44041 [2024-01-09 09:55:19:510] [thread 8900195] [app.cpp#362] macOS 14.3.0 [2024-01-09 09:55:19:510] [thread 8900195] [app.cpp#363] MacBookPro18,2 [2024-01-09 09:55:19:510] [thread 8900195] [app.cpp#364] Apple M1 Max [10 cores] [2024-01-09 09:55:19:510] [thread 8900195] [app.cpp#365] Qt 5.15.14 [2024-01-09 09:55:19:529] [thread 8900195] [smcWriteInstaller.mm#104] installedHelperJobData is empty [2024-01-09 09:55:19:529] [thread 8900195] [smcWriteInstaller.mm#116] installHelperTool [2024-01-09 09:55:26:550] [thread 8900195] [app_mac.mm#74] removeFlag APP_FLAG_NO_SMCWRITE [2024-01-09 09:55:26:551] [thread 8900195] [Platform_mac_smcwrite.mm#79] open XPC connection to com.crystalidea.macsfancontrol.smcwrite [2024-01-09 09:55:26:551] [thread 8900195] [Platform_mac_smcwrite.mm#49] parseReply failed, 0x1e15e1d30 [2024-01-09 09:55:26:551] [thread 8900223] [Platform_mac_smcwrite.mm#114] XPC connection invalid, releasing. [2024-01-09 09:55:26:551] [thread 8900195] [Platform_mac.mm#60] connectToSMCWrite failed [2024-01-09 09:55:26:552] [thread 8900195] [Service.cpp#93] detectSmcFanKeySize KeyType flt [2024-01-09 09:55:26:552] [thread 8900195] [Service.cpp#94] detectSmcFanKeySize KeyLen 4 [2024-01-09 09:55:26:552] [thread 8900195] [Platform_mac.mm#201] getKeyInfo, the key FS! doesn't likely exist

kleuter commented 5 months ago

This has been fixed in 1.5.17 beta https://github.com/crystalidea/macs-fan-control/issues/721

dmw0510 commented 5 months ago

Just installed the latest beta and still have the issue.

[2024-01-11 10:44:34:775] [thread 2152076] [app.cpp#363] Macs Fan Control 1.5.17 [2024-01-11 10:44:34:775] [thread 2152076] [app.cpp#364] Process PID=28308 [2024-01-11 10:44:34:775] [thread 2152076] [app.cpp#365] macOS 13.6.1 [2024-01-11 10:44:34:775] [thread 2152076] [app.cpp#366] iMac18,2 [2024-01-11 10:44:34:775] [thread 2152076] [app.cpp#367] Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz [4 cores] [2024-01-11 10:44:34:775] [thread 2152076] [app.cpp#368] Qt 5.15.14 [2024-01-11 10:44:34:790] [thread 2152076] [smcWriteInstaller.mm#106] Helper installed (version 1.0.3) [2024-01-11 10:44:34:790] [thread 2152076] [smcWriteInstaller.mm#107] Helper file path: /Library/PrivilegedHelperTools/com.crystalidea.macsfancontrol.smcwrite [2024-01-11 10:44:34:790] [thread 2152076] [smcWriteInstaller.mm#108] Helper file size: 192304 bytes [2024-01-11 10:44:34:791] [thread 2152076] [smcWriteInstaller.mm#122] Current version - 1.0.3 [2024-01-11 10:44:34:792] [thread 2152076] [Platform_mac_smcwrite.mm#79] open XPC connection to com.crystalidea.macsfancontrol.smcwrite [2024-01-11 10:44:34:792] [thread 2152076] [Platform_mac_smcwrite.mm#156] process_command_open: connection is still open! Current pid is 533, requested pid is 28308 [2024-01-11 10:44:34:792] [thread 2152076] [Platform_mac_smcwrite.mm#199] process_command_close: tried to close a connection from another pid 28308 [2024-01-11 10:44:34:792] [thread 2152076] [Platform_mac.mm#60] connectToSMCWrite failed [2024-01-11 10:44:34:792] [thread 2152076] [Service.cpp#93] detectSmcFanKeySize KeyType fpe2 [2024-01-11 10:44:34:792] [thread 2152076] [Service.cpp#94] detectSmcFanKeySize KeyLen 2

kleuter commented 5 months ago

Please reboot you computer and try again

markjenkinson commented 4 months ago

I'm getting the same issue on an M2Pro Mac mini running the 1.5.17 beta and rebooted as well.

kleuter commented 4 months ago

Have you tried 1.5.17 beta?

markjenkinson commented 4 months ago

Yeah. Unfortunately getting the same helper installer error.

bahniiMDev commented 4 months ago

Спробуйте ввести цю команду в терміналі і перезапустити додаток, має бути добре: > > > sudo launchctl enable system/com.crystalidea.macsfancontrol.smcwrite >велике дякую ти спас мій мак реально якщо щось треба проси я багато вмію бо ти с економив мені кучу часу

markjenkinson commented 4 months ago

Have you tried 1.5.17 beta?

I was able to fix my situation by simply deleting the /Library/LaunchDaemons directory, and starting from scratch. Not sure why that fixed things, but it did.

ThreadGitHub commented 2 months ago

尝试在终端中输入此命令并重新启动应用程序,应该没问题:

sudo launchctl enable system/com.crystalidea.macsfancontrol.smcwrite

thrank you !!!!

dafliper911 commented 1 month ago

Try to enter this command in terminal and restart the app, should be fine:

sudo launchctl enable system/com.crystalidea.macsfancontrol.smcwrite

super tnx bro

kleuter commented 3 weeks ago

To everyone, if the latest 1.5.17 gives you the same error, PLEASE post tech info as described at here.