If your username/password combination is longer than approximately 45 characters (varies a bit due to the variable encoding, depends on character content) then the authentication information stored in ~/.gem/nexus changes format from something like:
(contents changed to protect the innocent ;] ). In other words a ! is added after :authorization:, the string is wrapped in single quotes and it stretches over multiple lines.
When this happens, the gem upload ultimately fails with:
something went wrong - maybe (re)deployment is not allowed
Changing passwords to a shorter one and having it re-create the ~/.gem/nexus file results in a single-line :authorization: entry and gem upload works again.
Please enable the use of long username/password combinations.
If your username/password combination is longer than approximately 45 characters (varies a bit due to the variable encoding, depends on character content) then the authentication information stored in
~/.gem/nexus
changes format from something like::authorization: Basic Y2Fgg3RlbsdfkcmVlc2Y2g6NlhNM1VyMyM0Q0QWZ2dCZ2eFk=
to something that looks like this:
(contents changed to protect the innocent ;] ). In other words a ! is added after
:authorization:
, the string is wrapped in single quotes and it stretches over multiple lines.When this happens, the gem upload ultimately fails with:
something went wrong - maybe (re)deployment is not allowed
Changing passwords to a shorter one and having it re-create the
~/.gem/nexus
file results in a single-line:authorization:
entry and gem upload works again.Please enable the use of long username/password combinations.