Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socket/ConnectionReset reset all the time #148

Open
jkmu opened this issue Sep 9, 2020 · 9 comments
Open

Socket/ConnectionReset reset all the time #148

jkmu opened this issue Sep 9, 2020 · 9 comments

Comments

@jkmu
Copy link

jkmu commented Sep 9, 2020

Hei,

I keep getting Socket/ConnectionReset reset errors all the time when using the client. I am using the IMemcachedClient interface and the data is stored only sometimes when using _memcachedClient.Store(StoreMode.Set, key, value, validFor); with the error message below.

Failed to ExecuteOperation on XXXXXXXX:11211 System.IO.IOException: Failed to write to the socket 'XXXXXXXX:11211'. Error: ConnectionReset at Enyim.Caching.Memcached.ThrowHelper.ThrowSocketWriteError(EndPoint endpoint, SocketError error) at Enyim.Caching.Memcached.PooledSocket.Write(IList1 buffers)`

Any ideas how I can fix this?

Thanks for your help!

@HemachandranPM
Copy link

@jkmu did you got the solution. am also getting the same issues.

@jkmu
Copy link
Author

jkmu commented Jun 16, 2021

@HemachandranPM I did not manage to solve it. I ended up using https://github.com/enyim/Memcached2

@HemachandranPM
Copy link

@jkmu Thanks for replying .can you give some solution or idea?
what is the alternative you are using?
can you some direction pls?

@jkmu
Copy link
Author

jkmu commented Jun 16, 2021

@HemachandranPM I did not manage to solve it. I ended up using https://github.com/enyim/Memcached2

@HemachandranPM
Copy link

got it @jkmu Thanks for ur support .

@HemachandranPM
Copy link

@jkmu I am using the same server name but the IP address will change dynamically. it's possible the resolve this Memcache solution.
I am using Kubernetes cluster memcache .
It auto-scaling when growing memory automatically created a new cluster. so that the IP address will change .

@jkmu
Copy link
Author

jkmu commented Jun 16, 2021

@HemachandranPM I havent delt with that situation. In my case the Ip adresses are static. Please share if you find a solution.

@HemachandranPM
Copy link

@jkmu Memcache value Set and Get working fine. but unable to remove or delete the Memcache.do u have any idea?
I need help

@HemachandranPM
Copy link

@jkmu I am looking for replay can do needful pls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants