-
Notifications
You must be signed in to change notification settings - Fork 245
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
Reconnecting appear every 4 minutes #17
Comments
It seems to be a problem(or designed to?) of ocserv. This is just a Docker container of ocserv, it cannot solve the program issue running in Docker. I will keep this open for awhile, and check whether the issue is related to Docker. |
I observed the same issue. Now I installed a non-docker version of ocserv and the issue disappeared. The reconnecting issue might be related to Docker then |
@TheNomad11 Thank you for your information. And it reminds me that mine got the same issues, the client will reconnect in a few minutes too. And before we know anything further, it might as you said it could be related to Docker itself. |
funny part, I used this - https://github.com/evshiron/docker-ocserv - and everything working ok, no reconnects |
It seems that image is using |
Are you using AnyConnect as the client, or you are just using OpenConnect as the client? I saw that Dockerfile had disabled Cisco compatibility in the config file. |
ok, new attempt to use your solution:
Nothing in docker logs.
|
looks like problem in chinese character in group description, for now fixed it by editing ./ocserv.conf |
@s7lx Do you have time to look into this issue? I'm not using the group function, and I setup ocserv.conf file separately. |
I guess it is cause I don`t have chinese lang support in my win10, and cisco anyconnect works ok for first connect, then it tries to cache group description, but fails to read cache afterwards. So first connect is ok, but all next fail. |
Have you ever removed the Chinese characters and have another try? Whether it works correctly or not? |
yes, I removed them, cleared anyconnect cache, and now I can connect to both groups |
最新版本还是每4分钟重新连接 |
@long1215 Yup, looks like a program with Docker or maybe something else, which I have no clue at all. |
I have the same problem
it is worth mentioning that this error occurs on a TCP based connection. also UDP packets are unable to reach the server. (I'm guessing that my ISP is responsible for that)
|
@itshaadi Are you using UDP? Have you ever tried to use TCP protocol? |
UDP is completely blocked in iran. I am using 443/TCP at the moment. and this problem occurs on TCP. |
I cannot reproduce this issue, only the reconnect occurs to me, could it be the low level network issue from your Internet provider? |
|
Quick fix: set the My colleague @jonathan-tan has found that it is the problem of the kernel function Edited: As it is the system function, it is related to Alpine Linux (the docker base image) has overriden |
Reconnecting every 4 minutes as described in the image
The text was updated successfully, but these errors were encountered: