Git Product home page Git Product logo

Comments (6)

bdw429s avatar bdw429s commented on June 27, 2024

I got a chance to poke at this tonight. I can confirm that the DELETE request to stop the tunnel is correctly returning a 204 like it should and hitting the API to get a list of tunnels afterwards shows no tunnels are running. I think this may be a bug in Ngrok. The tunnels seem to just keep running until I kill the binary.

from box-ngrok.

elpete avatar elpete commented on June 27, 2024

This happens on Mac as well. The difference is it doesn't seem like the Mac binary is blocking.

I'm not sure how to actually kill the binary. On either platform.

from box-ngrok.

bdw429s avatar bdw429s commented on June 27, 2024

This thread seems to imply that the only way to stop the share is kill the process.
http://stackoverflow.com/questions/26291006/stop-sharing-a-port-on-ngrok

from box-ngrok.

elpete avatar elpete commented on June 27, 2024

I would think Java would have a way to interact with the system processes? I can look in to that.

from box-ngrok.

bdw429s avatar bdw429s commented on June 27, 2024

If I keep a reference to the Process returned by the start() method and I call process.destroy() on it, that will kill the ngrok binary. Closing the CommandBox console will also kill it. I assume because it's a child process.

from box-ngrok.

bdw429s avatar bdw429s commented on June 27, 2024

See this here:
#5

from box-ngrok.

Related Issues (10)

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.