Internal Server error

When I try to update the interviewer version using the diagnostics the following error message occurs.

Inspect the server logs for a more detailed error message.

Hello,

We have got exactly the same problem when trying to update the app.

First, the sychronization is completed with errors when trying to update from the main screen. Then, when we attempt the update from the diagnostics screen, the internal server error occurs. I attach the part of the trace log from the tablet showing the error. Is there anyway of updating without reinstalling the app?

We would have attempted to reinstall the app already, but there is interview data in the devices that would be lost. Is it possible to first retrieve the data through the ‘send all tablet information…’ option in the diagnostics screen?


Thank you.


The server is reportedly 21.01.2.30530-release
What is the version of the Interviewer App?

All tools in the Diagnostics page are intended for troubleshooting only, specifically, this is NOT a backup feature and not a data transfer feature, and should not be used or attempted to be used as such.

Based on the symptoms, the issue sounds like the one here:

Thank you very much for your reply Sergiy.

The suggested workaround of installing the application on top of the existing Interviewer App did work. The app is up to date and the syncronization went ahead.

A few questions though:

  1. Is there any risk of losing of unsyncronized data employing this workaround?
  2. Is it likely that new updates require again applying this workaround?
  3. Would it be useful to provide any further information to help sort out the problem?

Below is the full error message requested:

19:21:10[RestService][Debug][Executed web request url: https://goforit-survey.azurewebsites.net/api/interviewer/latestversion, response code: OK]
19:21:14[RestService][Debug][ExtendedMessageHandlerException]WB.Core.Infrastructure.HttpServices.HttpClient.ExtendedMessageHandlerException: Request GET https://goforit-survey.azurewebsites.net/api/interviewer/patch/28681 failed with status code 500 (Internal Server Error).
at WB.Core.Infrastructure.HttpServices.HttpClient.ExtendedMessageHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x0011e] in :0
at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered (System.Threading.Tasks.Task1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x000b3] in <ac081265617c484ea20bb176f570066c>:0 at WB.Core.Infrastructure.HttpServices.Services.RestService.ExecuteRequestAsync (System.String url, System.Net.Http.HttpMethod method, System.Object queryString, System.Net.Http.HttpContent httpContent, WB.Core.Infrastructure.HttpServices.HttpClient.RestCredentials credentials, System.Boolean forceNoCache, System.Collections.Generic.Dictionary2[TKey,TValue] customHeaders, System.Nullable1[T] userCancellationToken) [0x003f7] in <ea2f0e89860d4f4c9f3418b4bfd3d349>:0 |MoveNextRunner.InvokeMoveNext => <ExecuteRequestAsync>d__11.MoveNext => NLogLogger.Debug 19:21:14[][Error][Error when updating]WB.Core.Infrastructure.HttpServices.HttpClient.RestException: Internal Server Error ---> WB.Core.Infrastructure.HttpServices.HttpClient.ExtendedMessageHandlerException: Request GET https://goforit-survey.azurewebsites.net/api/interviewer/patch/28681 failed with status code 500 (Internal Server Error). at WB.Core.Infrastructure.HttpServices.HttpClient.ExtendedMessageHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x0011e] in <ea2f0e89860d4f4c9f3418b4bfd3d349>:0 at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered (System.Threading.Tasks.Task1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x000b3] in :0
at WB.Core.Infrastructure.HttpServices.Services.RestService.ExecuteRequestAsync (System.String url, System.Net.Http.HttpMethod method, System.Object queryString, System.Net.Http.HttpContent httpContent, WB.Core.Infrastructure.HttpServices.HttpClient.RestCredentials credentials, System.Boolean forceNoCache, System.Collections.Generic.Dictionary2[TKey,TValue] customHeaders, System.Nullable1[T] userCancellationToken) [0x003f7] in :0
— End of inner exception stack trace —
at WB.Core.Infrastructure.HttpServices.Services.RestService.ExecuteRequestAsync (System.String url, System.Net.Http.HttpMethod method, System.Object queryString, System.Net.Http.HttpContent httpContent, WB.Core.Infrastructure.HttpServices.HttpClient.RestCredentials credentials, System.Boolean forceNoCache, System.Collections.Generic.Dictionary2[TKey,TValue] customHeaders, System.Nullable1[T] userCancellationToken) [0x005a3] in :0
at WB.Core.Infrastructure.HttpServices.Services.RestService.DownloadFileAsync (System.String url, System.IProgress1[T] transferProgress, WB.Core.Infrastructure.HttpServices.HttpClient.RestCredentials credentials, System.Nullable1[T] token, System.Collections.Generic.Dictionary2[TKey,TValue] customHeaders) [0x000a1] in <ea2f0e89860d4f4c9f3418b4bfd3d349>:0 at WB.Core.SharedKernels.Enumerator.Implementation.Services.EnumeratorSynchronizationService.GetApplicationPatchAsync (System.IProgress1[T] transferProgress, System.Threading.CancellationToken token) [0x000be] in :0
at WB.UI.Shared.Enumerator.Services.EnumeratorTabletDiagnosticService.UpdateTheApp (System.Threading.CancellationToken cancellationToken, System.Boolean continueIfNoPatch, System.IProgress`1[T] onDownloadProgressChanged) [0x002c9] in <37e92b41f50945a6a9c61c3326576854>:0
at WB.Core.SharedKernels.Enumerator.ViewModels.CheckNewVersionViewModel.UpdateApplication () [0x000c0] in :0 |MoveNextRunner.InvokeMoveNext => d__35.MoveNext => NLogLogger.Error
19:21:17[DiagnosticsActivity][Trace][Pause]

Likely it breaks because you are requesting an update from an Interviewer version that the server has never had. Perhaps the interviewer has acquired it from a different source, thus violating the golden rule:

install the Interviewer App only from the server where you will be sending your data.

All sorts of problems may arise from that, including the inability to send the data or update the app.

I have sent the logs to the headquarters site.

The update is available in the server, but when I try to update the interviewer using the “diagnostics update app” I get an error message “internal server error”.

The only way to update the app, for now, is to download and reinstall the interviewer app


The URL that is visible in the screenshot (nbs…) is different from the earlier mentioned URL in the logs (gofo…). Make sure you are trying to communicate with the correct server.

Yes, but with the same URL, the same error is occurring. Now I am downloading every time I want to update the interviewer. Sorry for the late reply.

I am having the same issue when trying to update the new version using Interviewer Diagnostics. I get an error message “internal server error” with the same URL. The new version does not get downloaded. Had to reinstall the application manually.

Please, follow the BLUE checklist here:
https://docs.mysurvey.solutions/faq/issue-reporting/
and include the server logs.