Support the ongoing development of Laravel.io →
posted 10 years ago
Cache

I have a Laravel instance up and running using memcached. Everything is working fine.

Recently there were some server infrastructure changes and our site stopped working. You could get to the login page, and after entering the proper credentials, you would simply be redirected to the login page again, as if the auth token had expired or was lost.

After a little digging, we discovered that there were DNS entry updates that was preventing the web server from connecting to the memcached server. A simple ping from the command line verified this.

However, we never saw anything in the laravel log file about problems connecting to memcached. I've seen DB connection issues in the past, and as it turns out, we had a couple of log.DEBUG messages that were being processed just fine, so I don't think there was a permissions issue on the file.

Is there something with the memcached library that is "silently failing" or not throwing an exception up to be caught when the server can't be connected to? I've done a little digging but haven't been able to come up with anything.

Any ideas? A bug to report? I'm not sure.

Thanks in advance.

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Dillie-O dillie-o Joined 26 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.