Skip to content
This repository has been archived by the owner on Aug 22, 2021. It is now read-only.

ERROR(udpgw): BConnection_Init failed #114

Open
initux opened this issue Nov 11, 2020 · 8 comments
Open

ERROR(udpgw): BConnection_Init failed #114

initux opened this issue Nov 11, 2020 · 8 comments

Comments

@initux
Copy link

initux commented Nov 11, 2020

image

@ambrop72
Copy link
Owner

Apparently udpgw is failing to accept connections. This may be normal sometimes if a connection is aborted before it could be accepted. But anyway you can run with strace to see the error code.

@initux
Copy link
Author

initux commented Nov 12, 2020

Apparently udpgw is failing to accept connections. This may be normal sometimes if a connection is aborted before it could be accepted. But anyway you can run with strace to see the error code.

when 100+ user connected in my server then face this issue....... if 20 / 30 user connected then can't face this issue.... my server is 32 GB RAM, 16 CPU, 1 GB LAN

@ambrop72
Copy link
Owner

My guess would be that you need to increase the maximum number of file descriptors (ulimit -n).

@initux
Copy link
Author

initux commented Nov 13, 2020

please tell me whose file i need change..... just give me example please

@ambrop72
Copy link
Owner

Depends on how you run the program. Generally the limit is raise using ulimit -n (e.g. 10000) but you may need to change system policy if you get "operation not permited". If running from a systemd service, then LimitNOFILE= in the service config file.

@initux
Copy link
Author

initux commented Nov 13, 2020

/bin/badvpn-udpgw --listen-addr 127.0.0.1:7300 --max-clients 1000 --max-connections-for-client 1

i will run from this command ......... if you need any change please give me.... i need minimum 1000+ user connected in my vpn server.... badvpn service every time run...... but whatsapp call not working when show like this error..... if exit badvpn & again open then work some time good.... after some time again same issue....

@initux
Copy link
Author

initux commented Nov 13, 2020

Please brother, please give me any solution for me

@initux
Copy link
Author

initux commented Nov 24, 2020

image

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

No branches or pull requests

2 participants