-
Notifications
You must be signed in to change notification settings - Fork 13
Redis connector doesn't use hostnames on Mac or Linux #4
Comments
Kevin, Let me check the latest on this and see if it got fixed in .NET Core or a work around was put in place by the stackexchange guys. Dave |
Looks like a work around from stack exchange is in the works .. also seems that setting "resolveDns= true" in your appsettings.json might also work around the issue. My testing on my Mac showed that if I set "host=myMacsHostName" and set "resolveDns=true" .. the the.NET Core exception goes away. For some reason setting "host=localhost" still failed, |
Possibly helpful to future readers: I got the |
@dtillman Your post solved my problem. thank you. |
Adding the follwing to appsettings.json resolved this for me, using Steeltoe Connectors and Cloud Foundry:
|
This appears to be resolved |
This error comes up when you provide a hostname like localhost or a fully-qualified hostname pointing at a cloud-based installation of redis (for example, the one you get when you use Pivotal Web Services hosting). In other words, if my service binding gives me an IP address, then I'm fine on Linux/Mac, but if my service binding gives me a host name, then I'm screwed and when I take my windows-running app from my developer workstation and push it to my linux cell in PCF, then I'm in for an ugly surprise when I try and start the app.
The text was updated successfully, but these errors were encountered: