For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 0 0 3

500 server error happens sometimes after moving to new DSS url

Our application is using DSS API and sends quite many PriceHistory OnDemand requests.

During last week we have received twice following errors from Refinitiv (500 server error). As "customerrors" are turned off, we can see the details of error exactly with all internal details, see attachment:

error.txt.

You can rename the file to html format to see how error looks like. It's something wrong on your side.

Unfortunately it is impossible to reproduce directly. It just happens from time to time and our application is producing many different OnDemand requests using PriceHistory template, so it's not something specific to particular request. As on next day for example the same set of requests is successful.

Here are some other details:

[HttpCompileException]: (0): error CS0006: Metadata file 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\restapi\3e4aa959\fc6627a0\assembly\dl3\b7b44063\0048fff4_c150d701\ActiveMq.dll' could not be found

at System.Web.Compilation.AssemblyBuilder.Compile()

at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()

at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp)

at System.Web.Compilation.BuildManager.CompileGlobalAsax()

at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()

at System.Web.Compilation.BuildManager.CallAppInitializeMethod()

at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)

[HttpException]: (0): error CS0006: Metadata file 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\restapi\3e4aa959\fc6627a0\assembly\dl3\b7b44063\0048fff4_c150d701\ActiveMq.dll' could not be found

at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)

at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)

at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)

--><!--

This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.-->, StatusCode=500, Context=NullObjectSpace, Url=https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/Extract, Method=POST

at DataScope.Select.Api.Core.HttpOData.Http.HttpClientExceptionDecorator.ParseResponseError(Uri uri, HttpResponseMessage response)

at DataScope.Select.Api.Core.HttpOData.Http.HttpClientExceptionDecorator.HandleExceptions(Func`1 method, Uri uri, String methodName, Boolean isIdempotent)

at DataScope.Select.Api.Core.HttpOData.Http.HttpClientExceptionDecorator.HandleExceptions(Func`1 method, Uri uri, String methodName, Boolean isIdempotent)

at DataScope.Select.Api.Core.HttpOData.HttpODataClient.InternalExecuteAsync(IHttpClient httpClient, Type resultEntityType, Uri uri, String httpMethod, OperationParameter[] parameters, String queryOptions, Nullable`1 waitOverride, CancellationToken cancellationToken, IProgress`1 progress)

at DataScope.Select.Api.Core.HttpOData.HttpODataClient.ExecuteStartAsync[T](Uri uri, String httpMethod, Boolean isSingle, OperationParameter[] parameters, String queryOptions, CancellationToken cancellationToken)

at DataScope.Select.Api.Core.OperationsBaseForHttpODataClient.CallOnHttpODataClient[T](DssDataServiceContext context, Func`2 method, Boolean allowAutomaticDecompression)

at DataScope.Select.Api.Core.Helper.ReAuthenticateIfNecessaryAsync[T](IDssDataServiceContext context, Func`1 method, CancellationToken cancellationToken)

at DataScope.Select.Api.Core.OperationsBaseForHttpODataClient.ExecuteStartAsync[T](DssDataServiceContext context, Uri uri, String httpMethod, Boolean isSingle, OperationParameter[] parameters, String queryOptions, CancellationToken cancellationToken, IProgress`1 progress)

at DataScope.Select.Core.RestApi.Threading.Tasks.AsyncHelper.RunSync[TResult](Func`1 func)

at DataScope.Select.Api.Core.OperationsBase.InvokeSynchronously[T](Func`1 action)

at DataScope.Select.Api.DssDataServiceContext.<>c__DisplayClass18`1.<ExecuteStart>b__17()

at DataScope.Select.Api.Core.Helper.ReAuthenticateIfNecessary[T](IDssDataServiceContext context, Func`1 method)

at DataScope.Select.Api.Extractions.ExtractionsContext.ExtractStart(ExtractionRequestBase extractionRequest)


dss-rest-apidssdatascope-selecterror-500
error.txt (29.4 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
50k 125 44 62

@taras.chypurka

If it is a problem on the server side, please directly contact the Refinitiv DataScope Select support team via MyRefinitiv to verify the problem.

The support team can verify the status code and error on the DSS server.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.