Setup on Mac

Hi All, has anyone been able to get the setup working on Mac? Followed the READMEs and haven’t come right unfortunately

HI @Kieran , can you be a bit more specific as to where you’re getting stuck, what tooling you’re using etc?

Sure thing :slight_smile:

When i try run the dotnet run Sproutopia.csproj I get these errors:

SignalR Config: http://127.0.0.1:5000/runnerhub
2024-04-08T11:25:51.0977320+02:00 Error Runner.Services.CloudIntegrationService - Failed to make cloud callback with error: “An invalid request URI was provided. Either the request URI must be an absolute URI or BaseAddress must be set.”
2024-04-08T11:25:51.1128950+02:00 Information - Running Sproutopia
2024-04-08T11:25:51.1137770+02:00 Debug Microsoft.Extensions.Hosting.Internal.Host - Hosting starting
2024-04-08T11:25:51.1314790+02:00 Debug Microsoft.AspNetCore.SignalR.Internal.DefaultHubProtocolResolver - Registered SignalR Protocol: “json”, implemented by “Microsoft.AspNetCore.SignalR.Protocol.JsonHubProtocol”.
2024-04-08T11:25:51.1716820+02:00 Error Microsoft.Extensions.Hosting.Internal.Host - Hosting failed to start
2024-04-08T11:25:51.1740350+02:00 Error Runner.Services.CloudIntegrationService - Failed to make cloud callback with error: “An invalid request URI was provided. Either the request URI must be an absolute URI or BaseAddress must be set.”
Game Complete. Saving logs…
2024-04-08T11:25:51.1826630+02:00 Error Runner.Services.CloudIntegrationService - Failed to make cloud callback with error: “An invalid request URI was provided. Either the request URI must be an absolute URI or BaseAddress must be set.”

The SignalR host is configured to listed on port 5000. It is possible that you already have some service listening on that port which will prevent the Game Engine from starting up. Can you confirm if port 5000 is open or not?

You can use the following command to check:
netstat -nat | grep 5000

And to see which process is listening on the port, you can use the following command:
lsof -i :5000 | grep LISTEN - You may have to sudo this command to see processes from all users.

1 Like

Perfect, got it thanks. Found out that “Airplay receiver” uses 5000

Posting here for other Mac uses, just turn it off and all works: Mac Mini 2018 Sonoma 14.0 - Allow Airplay… - Apple Community

2 Likes

Thanks for posting @Kieran!

Moved Categories to Entelect Challenge 2024 | FAQ

So it hopfully reaches more people :blush:

1 Like