Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Trouble registering and viewing packages on bower feed from TFS/Git repository



  • I am having trouble registering bower packages with a ProGet bower registry or trouble getting the list of registered packages back.

    Here is the exception:
    [Exception: uninclused]
    Inedo.ProGet.Bower.BowerConnector.ReadPackage(JsonTextReader jsonReader) +538
    Inedo.ProGet.Bower.<EnumerateAllPackages>d__14.MoveNext() +535
    System.Linq.Parallel.SelectManyQueryOperatorEnumerator1.MoveNext(TOutput&amp; currentElement, Pair2& currentKey) +372
    System.Linq.Parallel.PipelineSpoolingTask`2.SpoolingWork() +129
    System.Linq.Parallel.SpoolingTaskBase.Work() +690
    System.Linq.Parallel.QueryTask.BaseWork(Object unused) +219
    System.Threading.Tasks.Task.Execute() +110

    [AggregateException: One or more errors occurred.]
    System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose) +947
    System.Linq.Parallel.AsynchronousChannelMergeEnumerator1.MoveNextSlowPath() +1021 System.Linq.Parallel.QueryOpeningEnumerator1.MoveNext() +68
    System.Linq.<ConcatIterator>d__711.MoveNext() +344 System.Linq.Lookup2.Create(IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) +300
    System.Linq.GroupedEnumerable3.GetEnumerator() +88 System.Linq.WhereSelectEnumerableIterator2.MoveNext() +107 System.Linq.Buffer1..ctor(IEnumerable1 source) +488
    System.Linq.<GetEnumerator>d__0.MoveNext() +145
    System.Linq.<TakeIterator>d__3a1.MoveNext() +376 System.Linq.WhereSelectEnumerableIterator2.MoveNext() +148
    Inedo.JavaScript.WriteJson(TextWriter writer, Object obj) +1672
    Inedo.Web.Handlers.JsonDataHttpHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) +1200
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +712
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +169

    Here are the errors when attempting to register a package:
    bower EUNKNOWN Unknown error: 401 – undefined

    I tried registering the package using git+https://<url to package>, git://<url to package> and https://<url to package>

    Product: ProGet
    Version: 3.5.5



  • Regarding the first error – that sort of thing should only happen if the connector returns invalid data. What is the URL of the bower connector?

    For the registration, it looks like it’s just an HTTP 401. See this article for info about Bower & authentication in ProGet:

    http://inedo.com/support/kb/1095/introducing-bower-support-for-proget



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation