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

Question #4070

Open
phoenix6936 opened this issue Nov 29, 2024 · 8 comments
Open

Question #4070

phoenix6936 opened this issue Nov 29, 2024 · 8 comments

Comments

@phoenix6936
Copy link
Contributor

hello boss
Can this error be solved?
connection does not allow setting of send buffer size. Not a *net.UDPConn?. See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details.

Of course, this was ai's answer

Answer
The error message "connection doesn't allow setting of send buffer size" in v2rayNG software means that your connection is not of the type and cannot set the send buffer size. To fix this problem, you can increase the size of UDP buffers using the following commands in Linux:net.UDPConn
bash
sudo sysctl -w net.core.rmem_max=2500000
sudo sysctl -w net.core.wmem_max=2500000

These changes will help you avoid this error. Also, make sure the proxy settings and UDP ports are configured correctly

@2dust

@dyhkwong
Copy link

What config are you using? AFAIK it is already *net.UDPConn unless you are using dialerProxy. And BTW this does not affect anything and you can just ignore it.
https://github.com/2dust/AndroidLibXrayLite/blob/dbfe1c91472aa228c5d8f7059a1b1104b3ab3083/libv2ray_support.go#L318-L330
https://github.com/XTLS/Xray-core/blob/4f6f12616ccf0a715397b1dfcec4ce1c996fb96f/transport/internet/splithttp/dialer.go#L159-L193

@phoenix6936
Copy link
Contributor Author

phoenix6936 commented Nov 29, 2024

What config are you using? AFAIK it is already *net.UDPConn unless you are using dialerProxy. And BTW this does not affect anything and you can just ignore it. https://github.com/2dust/AndroidLibXrayLite/blob/dbfe1c91472aa228c5d8f7059a1b1104b3ab3083/libv2ray_support.go#L318-L330 https://github.com/XTLS/Xray-core/blob/4f6f12616ccf0a715397b1dfcec4ce1c996fb96f/transport/internet/splithttp/dialer.go#L159-L193

Hi
SplitHTTP h3 cdn
This was an error that was shown in the Report error section of v2rayNG

@dyhkwong
Copy link

dyhkwong commented Nov 29, 2024 via email

@phoenix6936
Copy link
Contributor Author

phoenix6936 commented Nov 29, 2024

Full config? AndroidLibXrayLite should have already provided correct *net.UDPConn. If you don't use dialerProxy this should not happen. If you use dialerProxy I don't think this can be fixed.

If I'm not mistaken, xhttp or splithttp uses dialerproxy
For example
XTLS/Xray-core#3570

@phoenix6936
Copy link
Contributor Author

phoenix6936 commented Nov 29, 2024

Full config? AndroidLibXrayLite should have already provided correct *net.UDPConn. If you don't use dialerProxy this should not happen. If you use dialerProxy I don't think this can be fixed.

Next, you have come here, if possible, take a look at AndroidLibXrayLite and v2rayNG, if something is necessary, commit pr😅🙏

@dyhkwong
Copy link

dialerProxy is not a must for xhttp. So this is because your final config contains dialerProxy, right? I came here just to check if my PR 2dust/AndroidLibXrayLite@43cde7a is causing this. Nothing need to be fixed if you are using dialerProxy. Just ignore it and continue.

@phoenix6936
Copy link
Contributor Author

phoenix6936 commented Nov 30, 2024

dialerProxy is not a must for xhttp. So this is because your final config contains dialerProxy, right? I came here just to check if my PR 2dust/AndroidLibXrayLite@43cde7a is causing this. Nothing need to be fixed if you are using dialerProxy. Just ignore it and continue.

The boss should also comment on your former PR
@2dust

@phoenix6936
Copy link
Contributor Author

hello boss Can this error be solved? connection does not allow setting of send buffer size. Not a *net.UDPConn?. See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details.

Of course, this was ai's answer

Answer The error message "connection doesn't allow setting of send buffer size" in v2rayNG software means that your connection is not of the type and cannot set the send buffer size. To fix this problem, you can increase the size of UDP buffers using the following commands in Linux:net.UDPConn bash sudo sysctl -w net.core.rmem_max=2500000 sudo sysctl -w net.core.wmem_max=2500000

These changes will help you avoid this error. Also, make sure the proxy settings and UDP ports are configured correctly

@2dust

@2dust

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