Coder Social home page Coder Social logo

Comments (10)

chika0801 avatar chika0801 commented on July 26, 2024 3

There is another way. In the CMD window, you type sing-box -h. I remember that there is a command check. you add the name of your configuration file with this command, and it will check if there are any errors in your configuration. If you check this way there are no errors. If you run the batch file with administrator privileges, and the command window still flashes back, you have to start the CMD window with administrator privileges as I replied to you earlier, and run the command sing-box.exe run, and then analyse the reason through the error message.

from sing-box-examples.

chika0801 avatar chika0801 commented on July 26, 2024

You didn't provide logs, and your config file, I can't help you.

I suggest you go to the official sing-box github page and post for help.

from sing-box-examples.

zhouxinghong avatar zhouxinghong commented on July 26, 2024
    "outbound": [
   {
      "type": "ss",
      "tag": "proxy",
      "server": "udp.piyo-idc.top",
      "server_port": 80536,
      "alter_id": 0,
      "transport": {
        "path": "/gitee"
      }
    },

from sing-box-examples.

zhouxinghong avatar zhouxinghong commented on July 26, 2024

After the first startup, after I exited by ending the process through the task manager, it could no longer be started.

from sing-box-examples.

zhouxinghong avatar zhouxinghong commented on July 26, 2024

Launched via the following batch process
start /min sing-box.exe run

from sing-box-examples.

chika0801 avatar chika0801 commented on July 26, 2024

From the analysis of the phenomenon you said, I think there is a problem with your configuration, or less and administrator rights to start the program, so sing-box program error.

My test method is, in the windows system, set to enter the terminal programme, there is an option to always start with administrator in the setup options.

Then I start a terminal programme (with administrator privileges) and enter the command sing-box.exe run (you have to enter the path to the sing-box folder beforehand). At this point, if there are any errors reported, the terminal programme window does not message and you can see what the log shows. In order to do the next step in the analysis to find the cause.

from sing-box-examples.

zhouxinghong avatar zhouxinghong commented on July 26, 2024

Thank you for your help! I will try your method again. 👍👏😜

from sing-box-examples.

zhouxinghong avatar zhouxinghong commented on July 26, 2024

Thank you very much for your attentive help! 👍👏😜
I have a few questions that I would like to ask you:

  1. Is there any command in the terminal that can stop and exit the program?
  2. How to switch service nodes?
  3. How to update the service node?
  4. How to test the delay time and speed of the service node?

from sing-box-examples.

chika0801 avatar chika0801 commented on July 26, 2024

Is there any command in the terminal that can stop and exit the program?

ctrl+c

How to switch service nodes?

I have only 1 outbound (proxy) in my configuration. I'm not a CLASH user, I'm not a purchaser of the service provided by the merchant, so for me I don't have the need to switch nodes from that panel of the CLASH client. If you look at the sing-box website, there is support for the CLASH panel and the Selector parameter of the configuration file.

How to test the delay time and speed of the service node?

How to test that you can ping your VPS's IP locally, and that you can use route tracing on the VPS to measure the backhaul route to your local IP. These should not be questions for sing-box configuration issues. The only relevant one is the parameter https://sing-box.sagernet.org/zh/configuration/outbound/urltest/

from sing-box-examples.

zhouxinghong avatar zhouxinghong commented on July 26, 2024

Thank you very much! I need to study more uses of it😜👍

from sing-box-examples.

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.