Giter Site home page Giter Site logo

Comments (6)

rosesandhello avatar rosesandhello commented on July 4, 2024

A variation on your pull request will be considered for a future version.

from cbt-tunnel-nodejs.

shackijj avatar shackijj commented on July 4, 2024

Why the issue was closed? Is it solved?

from cbt-tunnel-nodejs.

rosesandhello avatar rosesandhello commented on July 4, 2024

Added in latest commit. Will be incorporated in next release.

from cbt-tunnel-nodejs.

shackijj avatar shackijj commented on July 4, 2024

The problem was not solved.

This how i tested it.
`const cbt = require('./cbt-tunnel-nodejs/tunnel_start');

cbt.start({
username: 'BOO',
authkey: 'FOO',
},
(err) => {
if (err) {
console.log('CBT tunnel is failed', err);
process.exit(1);
}
console.log('CBT tunnel is up');
console.log('Wait for tunnel registratiuon');

    setTimeout(() => {
        console.log('CBT setup is done');
        cbt.stop();
    }, 5000);
});

`

The output should be:

Getting account info...
Got user account info!
POST request to CBT for a tunnel...
Posted!
Started connection attempt!
Connecting as simpleproxy...
PUT request to CBT finalizing tunnel...
PUT request successful!
Completely connected!
CBT tunnel is up
Wait for tunnel registratiuon
CBT setup is done
Bye!

Currently, when I call .stop method application writes to stdout (see screenshot below)
cbt-screenshot

Please keep the issue open while it's not solved and released.

Btw, you can give feedback on #9.

from cbt-tunnel-nodejs.

rosesandhello avatar rosesandhello commented on July 4, 2024

Give the latest commit a go.

from cbt-tunnel-nodejs.

shackijj avatar shackijj commented on July 4, 2024

It works. Thank!

from cbt-tunnel-nodejs.

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.