Skip to content

Error during Google login #61

@JuggleWithTim

Description

@JuggleWithTim

I'm not sure if this is a problem with the program or if I've done something wrong in the config. Any ideas how to get it working?

23:02:50 - info: App starting...
23:02:50 - info: Launched from source
23:02:50 - info: Go to http://ui.dracoapi.ml/ for ui
23:02:52 - error:  Error: Error during Google login: BadAuthentication
    at google.oauth (/home/tim/Documents/Draco/dracowalker/node_modules/draconode/bin/lib/google.js:88:28)
    at Request._callback (/home/tim/Documents/Draco/dracowalker/node_modules/gpsoauth/index.js:103:9)
    at Request.self.callback (/home/tim/Documents/Draco/dracowalker/node_modules/request/request.js:186:22)
    at Request.emit (events.js:180:13)
    at Request.<anonymous> (/home/tim/Documents/Draco/dracowalker/node_modules/request/request.js:1163:10)
    at Request.emit (events.js:180:13)
    at IncomingMessage.<anonymous> (/home/tim/Documents/Draco/dracowalker/node_modules/request/request.js:1085:12)
    at Object.onceWrapper (events.js:272:13)
    at IncomingMessage.emit (events.js:185:15)
    at endReadableNT (_stream_readable.js:1106:12)
    at process._tickCallback (internal/process/next_tick.js:114:19)
23:02:52 - error: Exiting.

This is my config.yml:

gmapKey: MyGmapKey

# User credentials
credentials:
  # DEVICE or GOOGLE
  login: GOOGLE
  deviceId: 'B100F159VE46BE01'  # The real deviceId looks something like that, this one is edited of course.
  username: 'username@gmail.com'
  password: 'MyCoolPassword123!'

# Initial position when starting the app (ex: Paris)
pos:
  lat: 53.472168   # Random location to not out my place
  lng: 17.030674

# Speed in km/h (default = auto)
# auto = 90% of run speed from server
#speed: 5

# If nothing is set, direct call will be made
# If a proxy is set it will be used (like http://server:8080)
# If 'auto' is set, a proxy from https://www.sslproxies.org will be used
#proxy: 
  # url: auto
#  url: http://localhost:8888

behavior:
  catch: true
  autorelease: true
  evolveperfect: true
  autoalliance: false
  incubate: true


inventory:
  MAGIC_BALL_SIMPLE:  40 # apprentice sphere
  MAGIC_BALL_NORMAL:  50 # master sphere
  POTION_HEAL_1: 10 #
  POTION_HEAL_2: 10
  POTION_RESURRECTION_1: 20 # resurecting potion
  RUNE_1: 10
  RUNE_2: 10
  RUNE_3: 10
  FOOD_MORE_DUST: 10 # donut
  FOOD_CALM_DOWN: 10 # Marshmallow
  FOOD_MORE_CANDIES: 10 # ice-cream


router:
  name: stops
  followroads: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions