Comments (5)
Based on the stack trace it looks like you have nuget.org package mirroring enabled. You can disable this feature (enabled by default) by editing Web.config and changing the app setting NuGet.Lucene.Web:packageMirrorTargetUrl
to be blank.
http://www.nuget.org/ is experiencing degraded performance today and I suspect this is why you are experiencing the issue.
This error should be handled and logged without propagating out to clients, so it should be safe to ignore, although you may experience poor performance when the origin is slow to respond.
from klondike.
Thanks for the quick response, Chris! That seems to have gotten rid of the above and our server is able to create releases again!
I know you use Octopus (or used to) so I will include the following:
When testing the feed from the Octopus configuration screen it will throw an exception every time you search for a package. Perhaps it's the way Octopus is calling the Klondike API from this particular screen that causes the issue. I can post this on the Octopus support forum as well if needed.
2014-04-02 11:59:22,914 ERROR 8 UnhandledExceptionLogger HandleException System.InvalidOperationException: Stack empty.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Stack`1.Pop()
at Lucene.Net.Linq.Translation.TreeVisitors.QueryBuildingExpressionTreeVisitor.MakeBooleanQuery(BinaryExpression expression)
at Lucene.Net.Linq.Translation.TreeVisitors.QueryBuildingExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at Lucene.Net.Linq.Translation.TreeVisitors.QueryBuildingExpressionTreeVisitor.MakeBooleanQuery(BinaryExpression expression)
at Lucene.Net.Linq.Translation.TreeVisitors.QueryBuildingExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at Lucene.Net.Linq.Translation.TreeVisitors.QueryBuildingExpressionTreeVisitor.MakeBooleanQuery(BinaryExpression expression)
at Lucene.Net.Linq.Translation.TreeVisitors.QueryBuildingExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at Lucene.Net.Linq.Translation.QueryModelTranslator.VisitWhereClause(WhereClause whereClause, QueryModel queryModel, Int32 index)
at Remotion.Linq.Clauses.WhereClause.Accept(IQueryModelVisitor visitor, QueryModel queryModel, Int32 index)
at Remotion.Linq.QueryModelVisitorBase.VisitBodyClauses(ObservableCollection`1 bodyClauses, QueryModel queryModel)
at Remotion.Linq.QueryModelVisitorBase.VisitQueryModel(QueryModel queryModel)
at Remotion.Linq.QueryModel.Accept(IQueryModelVisitor visitor)
at Lucene.Net.Linq.LuceneQueryExecutorBase`1.PrepareQuery(QueryModel queryModel)
at Lucene.Net.Linq.LuceneQueryExecutorBase`1.<ExecuteCollection>d__3`1.MoveNext()
at System.Data.Services.DataService`1.SerializeResponseBody(RequestDescription description, IDataService dataService)
at System.Data.Services.DataService`1.HandleNonBatchRequest(RequestDescription description)
at System.Data.Services.DataService`1.HandleRequest()
Corresponding Log in Octopus:
2014-04-02 11:59:22.9226 ERROR Unhandled error on request: http://localhost/api/feeds/feeds-1/packages?packageId=Vend&partialMatch=true&take=10 : An error occurred while processing this request.
System.InvalidOperationException: An error occurred while processing this request. ---> System.Data.Services.Client.DataServiceQueryException: An error occurred while processing this request. ---> System.Data.Services.Client.DataServiceClientException: <?xml version="1.0" encoding="utf-8" standalone="yes"?>
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code></code>
<message xml:lang="en-US">An error occurred while processing this request.</message>
<innererror>
<message>Stack empty.</message>
<type>System.InvalidOperationException</type>
<stacktrace> at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Stack`1.Pop()
at Lucene.Net.Linq.Translation.TreeVisitors.QueryBuildingExpressionTreeVisitor.MakeBooleanQuery(BinaryExpression expression)
at Lucene.Net.Linq.Translation.TreeVisitors.QueryBuildingExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at Lucene.Net.Linq.Translation.TreeVisitors.QueryBuildingExpressionTreeVisitor.MakeBooleanQuery(BinaryExpression expression)
at Lucene.Net.Linq.Translation.TreeVisitors.QueryBuildingExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at Lucene.Net.Linq.Translation.TreeVisitors.QueryBuildingExpressionTreeVisitor.MakeBooleanQuery(BinaryExpression expression)
at Lucene.Net.Linq.Translation.TreeVisitors.QueryBuildingExpressionTreeVisitor.VisitBinaryExpression(BinaryExpression expression)
at Remotion.Linq.Parsing.ExpressionTreeVisitor.VisitExpression(Expression expression)
at Lucene.Net.Linq.Translation.QueryModelTranslator.VisitWhereClause(WhereClause whereClause, QueryModel queryModel, Int32 index)
at Remotion.Linq.Clauses.WhereClause.Accept(IQueryModelVisitor visitor, QueryModel queryModel, Int32 index)
at Remotion.Linq.QueryModelVisitorBase.VisitBodyClauses(ObservableCollection`1 bodyClauses, QueryModel queryModel)
at Remotion.Linq.QueryModelVisitorBase.VisitQueryModel(QueryModel queryModel)
at Remotion.Linq.QueryModel.Accept(IQueryModelVisitor visitor)
at Lucene.Net.Linq.LuceneQueryExecutorBase`1.PrepareQuery(QueryModel queryModel)
at Lucene.Net.Linq.LuceneQueryExecutorBase`1.<ExecuteCollection>d__3`1.MoveNext()
at System.Data.Services.DataService`1.SerializeResponseBody(RequestDescription description, IDataService dataService)
at System.Data.Services.DataService`1.HandleNonBatchRequest(RequestDescription description)
at System.Data.Services.DataService`1.HandleRequest()</stacktrace>
</innererror>
</error>
at System.Data.Services.Client.QueryResult.Execute()
at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
--- End of inner exception stack trace ---
at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
at System.Data.Services.Client.DataServiceQuery`1.Execute()
at System.Data.Services.Client.DataServiceQuery`1.ExecuteInternal()
at NuGet.DataServiceQueryWrapper`1.Execute[TResult](Func`1 action)
--- End of inner exception stack trace ---
at NuGet.DataServiceQueryWrapper`1.Execute[TResult](Func`1 action)
at NuGet.DataServiceQueryWrapper`1.<GetAll>d__7.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Octopus.Server.Web.Api.Actions.PackageSearchAction.SearchForPackagesNamedLike(IPackageRepository repository, String packageId, Int32 take) in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Server\Web\Api\Actions\PackageSearchAction.cs:line 124
at Octopus.Server.Web.Api.Actions.PackageSearchAction.Search(String feedId, String packageId, Boolean partialMatch, Boolean includeMultipleVersions, Boolean includeNotes, Boolean includePreRelease, Int32 take) in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Server\Web\Api\Actions\PackageSearchAction.cs:line 59
at Octopus.Server.Web.Api.Actions.PackageSearchAction.Execute() in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Server\Web\Api\Actions\PackageSearchAction.cs:line 42
at Octopus.Platform.Web.Api.Responder`1.Respond(TDescriptor options, NancyContext context) in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Platform.Web\Api\Responder.cs:line 176
at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)
at CallSite.Target(Closure , CallSite , Object , Object , NancyContext )
at Octopus.Server.Web.Api.OctopusRestApiModule.<>c__DisplayClass5.<.ctor>b__2(Object o) in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Server\Web\Api\OctopusRestApiModule.cs:line 47
at CallSite.Target(Closure , CallSite , Func`2 , Object )
at Nancy.Routing.Route.<>c__DisplayClass4.<Wrap>b__3(Object parameters, CancellationToken context)
from klondike.
That looks suspiciously similar to OctopusDeploy/Issues#189 which was traced to a bug in Lucene.Net.Linq (https://github.com/themotleyfool/Lucene.Net.Linq/issues/48). What version of Klondike are you using?
Does /api/version
on the Klondike server return some version data? It was added in more recent builds.
from klondike.
I'm not sure the version. The /api/version
is not available in the version we run. Looks like I installed on 8/26/2013. It's been running like a champ so I never found a need to update it. Perhaps I will try updating to the latest release here soon.
Thanks again for all your help!
from klondike.
Ah, that particular issue was fixed in v1.0.1 but there also have been plenty of other enhancements in later releases too.
from klondike.
Related Issues (20)
- Think I'm missing an installation step? HOT 3
- Nuget.exe push behaving differently pushing to Klondike v2.1.1 after upgrade from v.1.6.2 HOT 4
- "No symbol packages have been pushed to Klondike" message erroneously displayed on ui? HOT 1
- Klondike on Mono handles only 1-5 requests and then stop answering HOT 1
- Klondike won't show package unless you specify "all versions" HOT 2
- Symbols are not loaded HOT 6
- No symbol artifacts downloaded on nuget restore HOT 2
- The feed lists package... but multiple attempts to download the nupkg have failed.
- Can't run this from source - Trying to debug 500 internal server error HOT 1
- npm install fails - git://github.com/chriseldredge/broccoli-msbuild.git missing
- localhost:8080/nuget 404 not found
- Set up initial admin user on remote server (docker) HOT 1
- Package is not immutable HOT 4
- Turn off parts of UI
- Blurb for visitors
- '5.5.1+fd2f920875c33464efb4b5ac366d8b8a83239dc0' is not a valid version string
- dependency error when upload nuget contain netstandard2.1 dll
- Getting XML error when trying to install package on VS 2017 HOT 1
- Modifying the Getting Started info
- The API page has no menu
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from klondike.