Skip to content

Instantly share code, notes, and snippets.

Created August 30, 2015 00:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f87ba7a7fa842e00c0e9 to your computer and use it in GitHub Desktop.
Save anonymous/f87ba7a7fa842e00c0e9 to your computer and use it in GitHub Desktop.
Log particle cli and server
debian@beaglebone:~/spark-server$ node main.js
-------
No users exist, you should create some users!
-------
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
Starting server, listening on 8080
static class init!
found 54ff6c066678574932460567
found 54ff6c066678574932460567_new
found pre_54ff6c066678574932460567_new
Loading server key from default_key.pem
set server key
server public key is: -----BEGIN PUBLIC KEY-----
<REDACTED>
-----END PUBLIC KEY-----
Your server IP address is: 192.168.254.39
Caught exception: Error: listen EADDRINUSE{"code":"EADDRINUSE","errno":"EADDRINU
SE","syscall":"listen"}
server started { host: 'localhost', port: 5683 }
Connection from: 192.168.254.40, connId: 1
on ready { coreID: '54ff6c066678574932460567',
ip: '192.168.254.40',
product_id: 0,
firmware_version: 10,
cache_key: '_0' }
Core online!
Using API: http://127.0.0.1:8080
Access token: null
debian@beaglebone:~/spark-server$ particle login
? Please enter your email address: randomemail94893489348@random.com
? Please enter your password: ******
> Successfully completed login!
debian@beaglebone:~/spark-server$ particle list
You're not logged in. Please login using particle cloud login before using this command
Please make sure you're online and logged in.
debian@beaglebone:~/spark-server$ particle setup
_ _ _ _
_ __ __ _ _ __| |_(_) ___| | ___ (_) ___
| '_ \ / _` | '__| __| |/ __| |/ _ \ | |/ _ \
| |_) | (_| | | | |_| | (__| | __/_| | (_) |
| .__/ \__,_|_| \__|_|\___|_|\___(_)_|\___/
|_| https://particle.io/
> Setup is easy! Let's get started...
> Let's get you logged in!
? Please enter your email address: <actualemail>@gmail.com
? Please enter your password: ********
> Successfully completed login!
! PROTIP: Hold the MODE/SETUP button on your device until it blinks blue!
! PROTIP: Please make sure you are connected to the internet.
> No devices detected via USB.
? Would you like to scan for nearby Photons in Wi-Fi setup mode? No
> Goodbye!
debian@beaglebone:~/spark-server$ particle list
You're not logged in. Please login using particle cloud login before using this command
Please make sure you're online and logged in.
debian@beaglebone:~/spark-server$ particle login
? Please enter your email address: <actualemail>@gmail.com
? Please enter your password: ********
> Successfully completed login!
debian@beaglebone:~/spark-server$ particle list
You're not logged in. Please login using particle cloud login before using this command
Please make sure you're online and logged in.
debian@beaglebone:~/spark-server$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment