摘要:
本技术说明描述了使用Sentinel HL(HASP配置)密钥时在macOS平台上可能发生的问题。
先决条件:
此技术说明与满足以下条件的Sentinel Licensing API用户相关:
•受保护的应用程序正在macOS 10.15下运行。
•使用Sentinel HL(HASP配置)密钥来保护应用程序。
问题:
在macOS 10.15中,当应用程序为Sentinel HL(HASP配置)锁调用许可API函数 hasp_read或 hasp_write时,可能会返回错误HASP_BROKEN_SESSION。
与以下类似的错误将发布到日志文件中:
2019-07-22 15:34:43 [99] HASP HL 621563909 failed to execute READ_FILE command (error 0xe000000a)
2019-07-22 15:08:41 [99] HASP HL 450335808 failed to execute WRITE_FILE command (error 0xe000000a)
2019-07-22 13:52:01 [99] WALLE driver failed to execute RTC command (error 0xfb000075)
2019-07-22 13:24:28 [99] HASP HL 450335808 failed to execute WRITE_FILE command (error 0xe000000a)
解决方案:
打开终端并输入以下命令:
sudo pmset -a hibernatemode 25
关闭终端并重新启动应用程序。
工作时间:周一至周五 9:00-18:00