GithubHelp home page GithubHelp logo

Comments (4)

gaogaotiantian avatar gaogaotiantian commented on June 11, 2024

这个和 #387 大概率是一个问题——你尝试了手动forward port么?这里可能是需要处理一下,但是我现在人在国内,得回到家里之后才有时间去试一下,我没怎么用过remote server。

from viztracer.

FEIFEIEIAr avatar FEIFEIEIAr commented on June 11, 2024

这个和 #387 大概率是一个问题——你尝试了手动forward port么?这里可能是需要处理一下,但是我现在人在国内,得回到家里之后才有时间去试一下,我没怎么用过remote server。

感觉应该是port的问题,应该是9001端口有什么进程占用了。我在后面一段时间的使用中都没有发生这个 issue 里面的问题了。
我今天试了一下:
1、如果先在 terminal 里使用 vizviewer ./result.json ,再右键 result.json,使用 View with VizTracer ,就会一直没响应。(就是这个issue的情况)
2、先右键 result.json,使用 View with VizTracer ,再在 terminal 里使用 vizviewer ./result.json 。会报错 Error! Port 9001 is already in use, try another port with "--port"

所以说,应该是默认 port被占用,View with VizTracer 报错了。

是否可以通过以下几个方法解决呢?
1、View with VizTracer 出现报错时应该做出提示。
2、如果不指定 port 的情况下自动去寻找没有被占用的 port。

如果方便的话可以告诉这些逻辑在代码的哪些位置吗?我会尝试添加这些功能

from viztracer.

gaogaotiantian avatar gaogaotiantian commented on June 11, 2024

这个逻辑已经存在了。你还是用的remote server吧?这是一个forwarding的问题,如果你都是本地的port,是可以正常工作的。你可以试一下。port forwarding这个部分有个新patch,我感觉好像是对的,我会apply一下。

from viztracer.

gaogaotiantian avatar gaogaotiantian commented on June 11, 2024

我把这个patch发布到0.2.3了,你可以试着更新一下patch看看是不是work。

from viztracer.

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.