Code Monkey home page Code Monkey logo

internet-of-tomohiro's People

Contributors

demotomohiro avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

internet-of-tomohiro's Issues

Unable to start SSH Server for Google Colab

https://internet-of-tomohiro.netlify.app/google_colab/google_colab.en.html

I was following the above mentioned guide of yours
At step 6 , i am getting the following error

Copy&paste your tunnel authtoken from https://dashboard.ngrok.com/auth
(You need to sign up for ngrok and login,)
··········
Select your ngrok region:
us - United States (Ohio)
eu - Europe (Frankfurt)
ap - Asia/Pacific (Singapore)
au - Australia (Sydney)
sa - South America (Sao Paulo)
jp - Japan (Tokyo)
in - India (Mumbai)
India
Install openssh-server
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-2-cf1739e17346> in <module>()
      1 get_ipython().system('pip install git+https://github.com/demotomohiro/remocolab.git')
      2 import remocolab
----> 3 remocolab.setupSSHD()
/usr/local/lib/python3.6/dist-packages/remocolab.py in setupSSHD(ngrok_region, check_gpu_available
  146 
    147 def setupSSHD(ngrok_region = None, check_gpu_available = False):
--> 148   s, msg = _setupSSHDMain(ngrok_region, check_gpu_available)
    149   print(msg)
    150 

/usr/local/lib/python3.6/dist-packages/remocolab.py in _setupSSHDMain(ngrok_region, check_gpu_available)
    143     ngrok_region = region = input()
    144 
--> 145   return (True, _setupSSHDImpl(ngrok_token, ngrok_region))
    146 
    147 def setupSSHD(ngrok_region = None, check_gpu_available = False):

/usr/local/lib/python3.6/dist-packages/remocolab.py in _setupSSHDImpl(ngrok_token, ngrok_region)
    100   time.sleep(2)
    101   if ngrok_proc.poll() != None:
--> 102     raise RuntimeError("Failed to run ngrok. Return code:" + str(ngrok_proc.returncode) + "\nSee runtime log for more info.")
    103 
    104   with urllib.request.urlopen("http://localhost:4040/api/tunnels") as response:

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.