Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "Leonardo.Willrich"

What do you mean by "redis database"?

I connect using redis-cli and used commands like "KEYS_ " and "GET" to check all keys added and contents. It seems ok. The main problem is that I don't know exactly with key is getting problem. I have created a routine to loop all keys and call the Get command, just to test which one is raising the exception.

    public void TestAllCaches()
    {
        Logger.Debug("*** Testing Caches ***");
        foreach (ICache item in _cacheManager.GetAllCaches())
        {
            Logger.Debug("Reading Cache: " + item.Name);
            var cacheValue = _cacheManager.GetCache(item.Name);
            Logger.Debug("Cache Read   : " + item.Name);
        }
        Logger.Debug("*** Testing Caches Finished ***");
    }

@maliming

I have already done it:

    public async Task ClearAllCaches()
    {
        var caches = _cacheManager.GetAllCaches();
        foreach (var cache in caches)
        {
            await cache.ClearAsync();
        }
    }

Hi @maliming.

I did it, but doesn't work. I have already tried to restart the IIS and Redis service. But, after initializing everything it starts to show again.

Resolved. I added to redis connection string the parameter syncTimeout=10000.

Changing the culture, I got some erros parsing date from parameters and database. So, I left the original culture, I just added one more language in the AbpLanguages table with name = 'en'.

Resolved.

I changed the culture from "en-GB" to "en" and filename to "Avalanche-en.xml".'

Changed the settings to "en" be the default language.

I am not sure. I have to spend some time doing that. I'll do it and let you know as soon as possible!

@maliming Do you have a contact? email or skype? The project is quite complex, it is logged in two different databases and for security reason I am not able to allow outside connections. But, maybe you can connect in my enrironment remotly using Team Viewer or something like that.

@maliming

Yes, always. It is leaving my log file full. It isn't a production environment, it is a non-production, but it is quite similar to a production environment. My application isn't realease to production so far. I am really worried if it can be a issue or not, that is the reason I am trying to tidy it up.

At this moment, there are only 2 users using the application, in 3 hours the log has more than 1 mb only with this Redis Cache error.

I don't have. I have only appsettings.json. I always delete the others appsettings files. Should I have it? Others parameters are being reading from appsettings.json normally.

Showing 41 to 50 of 58 entries