Giter Site home page Giter Site logo

Comments (15)

NeedforGit avatar NeedforGit commented on July 17, 2024 1

nofile limit: soft=1024, hard=1048576
log: level=debug, output=stdout
dns: mode=ipv4_and_ipv6, protocol=tcp+udp, min-ttl=0, max-ttl=86400, cache-size=32, servers=system
inited: 0.0.0.0:1111 -> [2x.2x.2x.2x:2222]; options: send-proxy=false, send-proxy-version=2, accept-proxy=false, accept-proxy-timeout=5s; connect-timeout=5s, associate-timeout=30s;
[2022-05-12][17:24:26][realm_core::tcp::socket][DEBUG][tcp]2x.2x.2x.2x:2222 resolved as 2x.2x.2x.2x:2222
[2022-05-12][17:24:26][realm_core::tcp::socket][DEBUG][tcp]connect to 2x.2x.2x.2x:2222 as 2x.2x.2x.2x:2222
[2022-05-12][17:24:26][realm_core::tcp::middle][INFO][tcp]3x.3x.3x.3x:10000 => 2x.2x.2x.2x:2222 as 2x.2x.2x.2x:2222
[2022-05-12][17:24:26][realm_core::tcp::middle][DEBUG][tcp]forward error: Invalid argument (os error 22), ignored
[2022-05-12][17:24:26][realm_core::tcp][DEBUG][tcp]3x.3x.3x.3x:10000 => 2x.2x.2x.2x:2222, finish
[2022-05-12][17:24:32][realm_core::tcp::socket][DEBUG][tcp] 2x.2x.2x.2x:2222 resolved as 2x.2x.2x.2x:2222
[2022-05-12][17:24:32][realm_core::tcp::socket][DEBUG][tcp]connect to 2x.2x.2x.2x:2222 as 2x.2x.2x.2x:2222
[2022-05-12][17:24:32][realm_core::tcp::middle][INFO][tcp]3x.3x.3x.3x:10000 => 2x.2x.2x.2x:2222 as 2x.2x.2x.2x:2222
[2022-05-12][17:24:32][realm_core::tcp::middle][DEBUG][tcp]forward error: Invalid argument (os error 22), ignored
[2022-05-12][17:24:32][realm_core::tcp][DEBUG][tcp]3x.3x.3x.3x:10000 => 2x.2x.2x.2x:2222, finish

from realm.

zephyrchien avatar zephyrchien commented on July 17, 2024

提供一下环境,配置,日志

from realm.

NeedforGit avatar NeedforGit commented on July 17, 2024

提供一下环境,配置,日志

感谢大佬回复。环境是 Debian10, 用的就是普通的命令行:
realm -l 0.0.0.0:5000 -r x.x.x.x:1234
相同的命令 2.14版就可以,trajon正常连接。
2.31版就不行,系统上也显示realm程序运行了,但trajon就是连不上。
换回2.14 就行了。换2.20也不行,实测2.14是我最后能用的版本。

from realm.

zephyrchien avatar zephyrchien commented on July 17, 2024

命令行后面加上--log-level=debug 再用客户端连接,看下输出

from realm.

NeedforGit avatar NeedforGit commented on July 17, 2024

命令行后面加上--log-level=debug 再用客户端连接,看下输出

用2.31版,显示错误如下:

[tcp]forward error: Invalid argument (os error 22), ignored

是版本下错了?我下的是 realm-x86_64-unknown-linux-gnu.tar.gz 这个版本

用2.14版,就正常了, debug 没有显示错误。

from realm.

zephyrchien avatar zephyrchien commented on July 17, 2024

把出错前完整的日志放上来

from realm.

zephyrchien avatar zephyrchien commented on July 17, 2024

2.1.4默认不开零拷贝,2.2以后把零拷贝内置了

from realm.

NeedforGit avatar NeedforGit commented on July 17, 2024

2.1.4默认不开零拷贝,2.2以后把零拷贝内置了

大佬怎么解决啊?2.2以后把零拷贝关了?

from realm.

zephyrchien avatar zephyrchien commented on July 17, 2024

2.1.4默认不开零拷贝,2.2以后把零拷贝内置了

大佬怎么解决啊?2.2以后把零拷贝关了?

你的系统不支持零拷贝,说实话这种情况极其罕见。。
https://man7.org/linux/man-pages/man2/splice.2.html

from realm.

zephyrchien avatar zephyrchien commented on July 17, 2024

我重新加一个禁用零拷贝的选项,先用老版本吧

from realm.

NeedforGit avatar NeedforGit commented on July 17, 2024

我重新加一个禁用零拷贝的选项,先用老版本吧

感谢大佬!

from realm.

zephyrchien avatar zephyrchien commented on July 17, 2024

你可以试下2.1.4的零拷贝,加上-z 就行,应该也会触发同样的错误

from realm.

NeedforGit avatar NeedforGit commented on July 17, 2024

你可以试下2.1.4的零拷贝,加上-z 就行,应该也会触发同样的错误

刚试了一下,2.14 开 -z 果然触发了同样的错误!期待大佬修复!

from realm.

zephyrchien avatar zephyrchien commented on July 17, 2024

这不是bug. 只是很少有系统不支持splice.

from realm.

NeedforGit avatar NeedforGit commented on July 17, 2024

这不是bug. 只是很少有系统不支持splice.

懂了!期待新版!

from realm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.