cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10
Views
0
Helpful
9
Replies

fetchstats throwing "Login failed" error with correct password

KZL
Level 1
Level 1

I am trying to use fetchstats and I continue to receive the following error:

"Login failed. Check username and password."

I know the password is correct, I have even reset it in attempt to resolve.

I am running the following command:

"bash fetchstats email@domain.com ######## 2015-06-22 2015-06-25"
 - where email@domain is my login, and ######## is my 8 digit network ID from the stats url
- I then get prompted to enter my password for email@domain.com

Please help

---------------------------------------
UC Architect
9 Replies 9

danicheu
Cisco Employee
Cisco Employee

Hello zygykoz!

Could you let me know if you're also having any trouble logging in with your username and password on you Dashboard?

KZL
Level 1
Level 1

No issue logging into the Dashboard site at all. (verified on 3 different browsers across linux/windows boxes: IE, firefox, chrome)

---------------------------------------
UC Architect

rotblitz
Level 6
Level 6

Your password must not contain special characters reserved for URL encoding, or you must escape such characters.

KZL
Level 1
Level 1
No special characters.

I was finally able to get it to work.

I used my actual chosen network readable name instead of the ID and it finally worked. So the command was:

"bash fetchstats email@domain.com Name 2015-06-22 2015-06-25"

Prompted for my personal and showed the data. Added the > file.csv command and was cooking with butter.

Very strange since anything I came across online said to use the network ID from your dashboard URL. The all command didn't work either, and I know last time I used it (years back) the name did not work and I had to use the ID.

Either way I'm good now, thanks to those that responded! Cheers!
---------------------------------------
UC Architect

rotblitz
Level 6
Level 6

Not really sure what you mean by "network readable name", but if this is your self-selected network label from https://dashboard.opendns.com/settings/ - this works under no circumstances and is instructed nowhere.  And yes, you must use the numeric network ID.  No idea why "all" doesn't work too, although it should.

No matter, happy to hear that it works for you now.

KZL
Level 1
Level 1
Yes, I have to use the self-selected network label. And yes exactly why I found it so surprising that it works only using my label, and my network ID fails....
---------------------------------------
UC Architect

I had the same issue with the bash file. I made some little changes and now it works.

You can find the script at https://pastebin.com/jscQP6FH.

 

guraaf
Level 1
Level 1

323797815 - the pastebin is no longer available and I am wondering what was the fix. I am trying to use the bash script on my MacOS and running into login/password problems. I did print (echo) the password in the script and see that it gets converted to %hex value for all characters so that looks like a smart idea to protect against special characters. However, no luck logging in. Thanks!

Hello Guraaf,

The original post I had saved and did place it again on pastebin. The url is : https://pastebin.com/7SDMx3TQ. I hope it will solve you issue.

Goof luck