-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run on macOS Sonoma #135
Comments
have the same problem |
#127 (comment) |
same problem with you |
having the same problem |
I have the same problem. I have modified the code in this repository https://github.com/vjsantojaca/embedded-redis and now the tests pass without error (I have not upload it to a maven repository) I am trying to update the redis version to a new one. Anyway, I think that the correct way would be change the dependencies that we have with this library in our repository and use testcontainers.
|
@codemonstur's build with maven repo worked to fix for me. https://mvnrepository.com/artifact/com.github.codemonstur/embedded-redis/1.0.0 |
Unfortunately this works in Intel macs but not on M1 macs |
Yeah, that's kinda sad. Luckily the customised Redis version by @vjsantojaca does work on my m2 Mac 💪🏻! |
Most likely security policies forbid the Redis binary from starting. The security policies seems to have been tightened in Sonoma. You can confirm that yourself with the Console app. Learn a bit more about it over here. In a nutshell, you start recording messages, filter for
One way to get past this policy is to grant permission to certain programs in the Developer Tools settings. We've been successful in granting You will have to point at your java binary. Depending on how you install it, it will be in different places. Once you grant java with permissions, run your things again but make sure that there are new PIDs. For example, when you use gradle, say ❗ Disclaimer: this is potentially unsafe. zero warranty. you have been warned. yak yak. |
finally it works for me @mamachanko appreciate for your help |
Another option is to move to a maintained fork that has addressed this issue: This worked for me MacOS Sonoma 14.1.1 (23B81) M1. |
Thanks, that repo worked for me with 14.1.1 (23B81), 2019 mac. |
Thanks, the same has worked for me with 14.1.1 (23B81) M2 as well |
Thanks! This works on me (mac M2 pro 14.2.1) |
I am on Mac M2 Pro Sonoma. But unfortunately it does not work for me. I get the following error while running the builds. I am using latest version 1.4.1. I have also tried 1.0.0 as well. Caused by: java.io.IOException: Ready pattern not found in log. Startup log:
|
@mamachanko's option worked for me on M1 Airbook, 14.3.1. I had to enable this for both Java and IntelliJ also -- the screenshot hints at IntelliJ but has it turned off. Also, I wasn't able to use the codemunster fork because it broke in our Jenkins pipeline running on Linux with |
it works for me. |
This is the error that you get when the Redis binary doesn't start up at all. Theoretically it could be anything but lots of people appear to have trouble because they run the binary on a host that doesn't have libssl.so installed. If you run the latest version of the library it should give you a more detailed error message that says as much. Installing libssl on the host is the solution most people go for. |
Thanks a lot ! |
…nd the tests do not work on Macs. Replacing with a more recent version that was forked off the library we were using. References below - kstyrc/embedded-redis#135 https://stackoverflow.com/questions/53287218/java-lang-runtimeexception-cant-start-redis-server-check-logs-for-details
Update embedded redis library (used on tests) as the one we have now is unsupported and the tests do not work on Macs. Replacing with a more recent version that was forked off the library we were using. References below - kstyrc/embedded-redis#135 https://stackoverflow.com/questions/53287218/java-lang-runtimeexception-cant-start-redis-server-check-logs-for-details
This worked before I upgraded to macOS Sonoma. Now I get this error message:
The text was updated successfully, but these errors were encountered: