Spark-Cli Logout Problem

Continuing the discussion from Error removing token:

I think I'm having the same issue as @daz

When I use the spark-cli logout command and try to remove the access token I get an error.

$> spark login
Could I please have an email address? [my email address here]
and a password?  ***********
Got an access token! dddddddddddddddddddddddd3131313131313131
logged in!  { '0': 'dddddddddddddddddddddddd3131313131313131' }

$> spark logout

You can perform a more secure logout by revoking your current access_token for the cloud.
Revoking your access_token requires your normal credentials, hit ENTER to skip,
or
enter your password (or blank to skip): ***********
removing access_token dddddddddddddddddddddddd3131313131313131
error removing token: Error: socket hang up

I get the same results with spark cloud login and spark cloud logout.

@Dave am I using the spark-cli incorrectly? Thanks!

I opened an issue about this months back and it hasn’t been resolved.

1 Like

@kennethlimcp I should have looked on Github first. Thanks for the fast reply.

1 Like