Comments (11)
Even if no connection is established, xray will at least output log to prompt that xray has been started. Are you sure you have correctly get the log
from xray-core.
Ouch, I was hugely mistaken. I had a bunch of config files and I thought the one being used by the init script had log verbosity set to debug.
I fixed that by setting it to debug. And I can connect to the server from the client, the server is also accepting the incoming connections which could be seen in the logs. However, the sites are not properly loading on the client side, instead stuck on an infinite loading screen.
And the resource not found syscalls.
However, one thing to mention is I am running xray from a chrooted environment. I copied all the dependencies, and also through the system calls figured out it needs /etc/resolv.conf and /etc/hosts files to function which I also copied, and that setup worked properly on OpenBSD 7.4. (I also ran xray without chroot and same behavior)
Note; I am using nekoray on the client side. I used both of what they call "Xray" and "sing-box" "bases".
from xray-core.
The issues template has requested to provid client config, do not say "I am using xxxx gui client"....
And there is sitll no log
from xray-core.
I apologize for the inconvenience.
Xray client and server configs: https://pastebin.com/hEwyUxbb
Xray access logs: https://pastebin.com/DNRYsMEL
Xray error logs: https://pastebin.com/nJyVAAdG
Note: I have replaced the username, server and client IP addresses, credentials and the SNI. I hope that wouldn't be any issue. And for the error and access logs, I did head -n 100 since the logs files were much bigger in size.
from xray-core.
Please raise it with golang x/sys
https://cs.opensource.google/go/x/sys
from xray-core.
Go 大佬秒回了 golang/go#36435 感谢报告这个问题
Closing as known limitation
from xray-core.
@yuhan6665 the issue referenced above relates to the migration from direct syscalls to libc-based syscalls. That was multiple years ago and is not the issue here.
@repliqa if it worked on OpenBSD 7.4 but not on OpenBSD 7.5, the most likely cause is code that is calling syscall.Syscall*
- either directly in this code base, in a dependency or an out-of-date dependency. Running under egdb
with a breakpoint on the syscall.Syscall*
functions should identify the source of the call.
from xray-core.
And as suspected:
Xray-core/common/buf/readv_posix.go
Line 30 in 51504c6
from xray-core.
hmm interesting. It may work if you turn off readv (via env var xray.buf.readv) and sockopt. Thanks for your info!
from xray-core.
Will the source code be updated so Xray works on OpenBSD 7.5 or future versions? OpenBSD 7.6 will soon be out and 7.4 would being discontinued. And also, I think the issue needs to be reopened. @yuhan6665 @Fangliding
from xray-core.
@repliqa Please try turn off readv (via env var xray.buf.readv) and sockopt. If it still happens, please try to get logs as mentioned in #3291 (comment)
from xray-core.
Related Issues (20)
- 1.8.12 docker模式下kernelMode": false, wireguard出站错误 HOT 2
- Wireguard panic: runtime error: index out of range [-1] HOT 7
- Connecting to the server inbounds through multiple domains HOT 5
- Suggestion: flag to disable logging in a separate inbound/outbound. HOT 1
- 编译xray-core时出现错误:gvisortun/tun.go中 'pkt.IsNil undefined' 的问题 HOT 1
- stop xray core in wiregourd HOT 3
- Wireguard Inbound Panic when connecting via WiresockUI client HOT 2
- API: Stats of the user remains when the user got deleted through API HOT 9
- 获取ipv6地址失败后产生DNS泄露 HOT 4
- block specific users country HOT 2
- Bump up gvisor dependencies HOT 1
- Weird behaviour of reverse proxy HOT 3
- [Feature Request] Changing the order of ping checks when "enableConcurrency": false HOT 1
- maxTimeDiff for VMESS HOT 16
- [Feature Request] https h2 proxy HOT 16
- The filtering of the Reality protocol within an hour in version v1.8.13 in Iran by the Iranian firewall HOT 7
- Compatibility Issue with WireGuard for Streaming Services HOT 4
- Is now any available package for building IOS and Android client in Flutter or React Native HOT 1
- 2022 edition shadowsocks methods don't work for `clients` HOT 2
- 安卓手机xray模块无法正确dns到localhost HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xray-core.