The 'Unauthorized' message is being caused when the privileged 'software-center-agent' Launchpad user that we use on the server tries to call getArchiveSubscriptionURL() via the Launchpad API. It is being rejected as unauthorized by the Launchpad API, even though the same authentication has just been used to create the subscription: (from softwarecenteragent/utilities.py)
{{{
# This can raise HTTPError 400 - ArchiveNotPrivate,
# AlreadySubscribed, subscription = p3a.newSubscription(subscriber=subscriber)
# This can rais HTTPError 401 if not logged in as sca.
token = subscriber.getArchiveSubscriptionURL(archive=p3a)
}}}
This was also discussed during a weekly call, and flacoste said that he's seen this before with the LP API, and that we could try the call multiple times (although from the above irc conversation, Anthony mentioned that the logs show this error over a period of time).
The 'Unauthorized' message is being caused when the privileged 'software- center- agent' Launchpad user that we use on the server tries to call getArchiveSubsc riptionURL( ) via the Launchpad API. It is being rejected as unauthorized by the Launchpad API, even though the same authentication has just been used to create the subscription: (from softwarecentera gent/utilities. py)
{{{
subscripti on = p3a.newSubscrip tion(subscriber =subscriber)
# This can raise HTTPError 400 - ArchiveNotPrivate,
# AlreadySubscribed,
# This can rais HTTPError 401 if not logged in as sca. getArchiveSubsc riptionURL( archive= p3a)
token = subscriber.
}}}
Details of the irc discussion are at: /pastebin. canonical. com/39101/
https:/
This was also discussed during a weekly call, and flacoste said that he's seen this before with the LP API, and that we could try the call multiple times (although from the above irc conversation, Anthony mentioned that the logs show this error over a period of time).