Sitelet https://github.com/fsprojects/Paket/issues/1469
Skip to content

Paket latest version 401 Unauthorized #1469

Description

@dustinmoris

When I use the latest version (2.50.2.0) I get an error when updating my packages:

Source 'http://teamcity.*****' exception: System.Exception: Could not retrieve data from http://teamcity.*****/odata/Packages(Id='****',Version='1.0.0.0')
 Message: One or more errors occurred.
 Details: The remote server returned an error: (401) Unauthorized.
   at Paket.Utils.getXmlFromUrl@282-6.Invoke(String message)
   at Paket.Utils.getXmlFromUrl@271-5.Invoke(Exception _arg2)
   at Microsoft.FSharp.Control.AsyncBuilderImpl.callA@851.Invoke(AsyncParams`1 args)
Paket failed with:
        Couldn't get package details for package **** 1.0.0.0 on http://teamcity.*****.

It seems like Paket stops sending the Authorization header:

image

image

When I download Paket version 2.36.7 it works.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions