Log message #4198121

# At Username Text
# Aug 14th 2019, 19:25 shoe Your error is that it’s trying to open port 6379, not 16379 like your docker-compose file exposes.
# Aug 14th 2019, 19:25 jh shoe that was it I had command: -p 6379 in docker compose
# Aug 14th 2019, 19:23 shoe https://gist.github.com/shoesole/b30b2e764d32e7082c5b19bfc52024d4
# Aug 14th 2019, 19:23 shoe Mine is fairly basic, I’ve got some setup happening in specific Docker files
# Aug 14th 2019, 19:22 jh # Fatal error, can't open config file '-p 6379' okok
# Aug 14th 2019, 19:18 jh @shoe can you share yours
# Aug 14th 2019, 19:14 jh that's my docker compose file
# Aug 14th 2019, 19:13 jh shoe https://gist.github.com/inoas/8f6678e4bbe0a7eb949a7cd318dd0487
# Aug 14th 2019, 19:12 rightscoreanalysis since upgrading to the latest 3.6.x version of cake my json routes no longer work
# Aug 14th 2019, 19:11 jh can you show the docker compose snip
# Aug 14th 2019, 19:11 jh redis is there now
# Aug 14th 2019, 19:07 shoe I’ve been through that plenty of times!
# Aug 14th 2019, 19:07 shoe :slightly_smiling_face:
# Aug 14th 2019, 19:07 shoe I am using docker compose. redis is set as the host name there
# Aug 14th 2019, 19:06 jh hm I may be just lacking php redis laughing out loud brb
# Aug 14th 2019, 19:05 jh so no docker compose just one phat image?
# Aug 14th 2019, 19:04 shoe Let me see if I have another one with that setup.
# Aug 14th 2019, 19:04 shoe Nope didn’t map those ports (since it’s all internal to Docker in my case… No UN/PW on this setup.
# Aug 14th 2019, 19:03 jh do you use username/password?
# Aug 14th 2019, 19:03 jh and you didnt map any ports
# Aug 14th 2019, 19:03 shoe In Docker, my redis host is called “redis”
# Aug 14th 2019, 19:02 slackebot ‘prefix’ => ‘mg_redis_long_‘, ‘host’ => ‘redis’, ‘port’ => 6379, ‘fallback’ => ‘file_long’, ],
# Aug 14th 2019, 19:02 slackebot ‘host’ => ‘redis’, ‘port’ => 6379, ‘fallback’ => ‘file_short’, ], ‘short’ => [ ‘className’ => ‘Redis’, ‘duration’ => ‘+10 minutes’, ‘prefix’ => ‘mg_redis_short_‘, ‘host’ => ‘redis’, ‘port’ => 6379, ‘fallback’ => ‘file_short’, ], ‘long’ => [
# Aug 14th 2019, 19:02 shoe ‘Cache’ => [ ‘default’ => [ ‘className’ => ‘Redis’, ‘duration’ => ‘+1 hours’, ‘prefix’ => ‘mg_redis_‘, ‘host’ => ‘redis’, ‘port’ => 6379, ‘groups’ => [‘orders’, ‘events’’], ‘fallback’ => ‘file’, ], ‘very_short’ => [ ‘className’ => ‘Redis’,
# Aug 14th 2019, 19:02 jh shoe thanks
# Aug 14th 2019, 19:02 shoe @jh For what it’s worth: This is a Redis configuration from one of my projects:
# Aug 14th 2019, 18:32 jh @steinkel could you share a simple RedisEngine config for app.php cause mine seems not to work (dockerized)
# Aug 14th 2019, 18:31 jh Cache engine Cake\Cache\Engine\RedisEngine is not properly configured
# Aug 14th 2019, 17:05 jotpe I struggle a bit with getting auth/authorization getting to work. If I get this to work i can maybe provide a codeexample for this
# Aug 14th 2019, 17:03 ricksaccous so yep
# Aug 14th 2019, 17:03 ricksaccous no problem, and yeah i think this plugin is in it's infancy to some degree
# Aug 14th 2019, 17:03 jotpe thank you
# Aug 14th 2019, 17:03 jotpe Maybe this would be a good hint for the docs then :slightly_smiling_face:
# Aug 14th 2019, 17:03 jotpe ah, found the issue on gh
# Aug 14th 2019, 17:00 ricksaccous you can set something like that in beforeFilter and use it throughout or something like that
# Aug 14th 2019, 17:00 ricksaccous also just don't use that IdentityHelper
# Aug 14th 2019, 17:00 slackebot <ricksaccous>
# Aug 14th 2019, 16:58 ricksaccous but i think what i've done is use
# Aug 14th 2019, 16:58 ricksaccous @jotpe it's in the github issues
# Aug 14th 2019, 16:58 jotpe ?
# Aug 14th 2019, 16:58 jotpe How do i fix this