macs-fan-control icon indicating copy to clipboard operation
macs-fan-control copied to clipboard

Mac Fan Control Failing to connect to helper tool

Open guycalledskippy opened this issue 1 year ago • 22 comments


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

guycalledskippy avatar Sep 27 '23 03:09 guycalledskippy

+1

H0neyHunter avatar Oct 09 '23 09:10 H0neyHunter

+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

avi0707 avatar Oct 09 '23 14:10 avi0707

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

Tourist-ChenHao avatar Nov 01 '23 09:11 Tourist-ChenHao

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

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

Igorek-ship-it avatar Nov 12 '23 20:11 Igorek-ship-it

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)

liong911 avatar Nov 19 '23 16:11 liong911

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

smittola avatar Nov 21 '23 11:11 smittola

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

kleuter avatar Nov 21 '23 16:11 kleuter

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

12ya avatar Dec 13 '23 04:12 12ya

Please redownload the latest beta and try again

kleuter avatar Dec 13 '23 21:12 kleuter

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

matthewjpicone avatar Jan 08 '24 23:01 matthewjpicone

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

kleuter avatar Jan 11 '24 13:01 kleuter

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

dmw0510 avatar Jan 11 '24 15:01 dmw0510

Please reboot you computer and try again

kleuter avatar Jan 11 '24 15:01 kleuter

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

markjenkinson avatar Mar 03 '24 23:03 markjenkinson

Have you tried 1.5.17 beta?

kleuter avatar Mar 04 '24 10:03 kleuter

Yeah. Unfortunately getting the same helper installer error.

markjenkinson avatar Mar 04 '24 10:03 markjenkinson

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

bahniiMDev avatar Mar 05 '24 16:03 bahniiMDev

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.

markjenkinson avatar Mar 05 '24 17:03 markjenkinson

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

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

thrank you !!!!

ThreadGitHub avatar Apr 21 '24 13:04 ThreadGitHub

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

dafliper911 avatar May 31 '24 21:05 dafliper911

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

kleuter avatar Jun 12 '24 12:06 kleuter