Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Most of these scripts will prompt you for your Confluence password so that they can log in to Confluence. Some scripts will take a login token on the command line instead; run hwdblogin.py to get a token. Each such token is good for 60 minutes but will also expire if not used for anything for 20 minutes.

All commands will Commands will that ask for a password log you in to Confluence just once and will terminate when the login expires. Commands that take a login token will fail if the token is illegal or has expired.

There are several different types of authentication failures that you may see:


Error code 253
Unable to log in to server: https://confluence.slac.stanford.edu/rpc/soap-axis/confluenceservice-v1 with user: <username>.
Cause: com.atlassian.confluence.rpc.AuthenticationFailedException: Attempt to log in user '<username>' failed - incorrect username/password combination.

You used the wrong user name or password. This increments the failed login count for the account, assuming that the user name is actually a valid one.


Error code 253
Remote error: com.atlassian.confluence.rpc.InvalidSessionException: User not authenticated or session expired. Call login() to open a new session.

This is what you'll see when you try to use an illegal or expired token.

 

Error code 253
Unable to log in to server: https://confluence.slac.stanford.edu/rpc/soap-axis/confluenceservice-v1 with user: <username>.
Cause: com.atlassian.confluence.rpc.AuthenticationFailedException: Attempt to log in user '<username>' failed. The maximum \
number of failed login attempts has been reached. Please log into the web application through the web interface to reset the nu\
mber of failed login attempts.

Confluence allows five consecutive login failures for a given account. After that you'll be required to log in to that account via the web interface and type in a CAPTCHA phrase in order to prove that you're not a robot.

 

Creating blank pages: makeblanks.py

...