CouchException: Error deserializing server response - couchdb

Getting the following error in Couch library in Android
Caused by: CouchException: error: Unknown error, reason: Unknown reason, statusCode: -1, msg: Error deserializing server response, cause:
What it means deserializing server response?

Related

How can I fix this 'Unable to connect to the Parse API' error

Unhandled Runtime Error
Error: XMLHttpRequest failed: "Unable to connect to the Parse API"
Call Stack
handleError
node_modules\moralis\lib\browser\RESTController.js (445:0)
Check if your server is active/online in the admin dashboard.

why i got this Error: Failed to load resource: the server responded with a status of 403 (Forbidden)

I tried many times but can't solve this error I checked server side there are all okay but got this error

Azure - nodejs serverless function throwing error Error: 13 INTERNAL: Failed to parse server response

I am getting the below expeception, my node serverless function is throwing exception however many time it works correctly, when I check failed request, these exceptions are found.
Exception while executing function: Functions.createParticipantUserEntry node exited with code 1
at Object.module.exports.exports.createStatusError (/azure-functions-host/workers/node/worker-bundle.js:980:15),
details: 'Failed to parse server response',LanguageWorkerConsoleLog[error]
Worker 78afd559-7c19-4b0d-9a60-9a3039049fe2 uncaught exception: Error: Error: 13 INTERNAL: Failed to parse server response
at ClientDuplexStream.<anonymous> (/azure-functions-host/workers/node/worker-bundle.js:18483:19)
at ClientDuplexStream.emit (events.js:400:28)
at ClientDuplexStream._emitStatusIfDone (/azure-functions-host/workers/node/worker-bundle.js:7691:12)
at ClientDuplexStream._receiveStatus (/azure-functions-host/workers/node/worker-bundle.js:7668:8)
at Object.onReceiveStatus (/azure-functions-host/workers/node/worker-bundle.js:23065:15)
at InterceptingListener.module.exports.InterceptingListener._callNext (/azure-functions-host/workers/node/worker-bundle.js:22322:42)
at InterceptingListener.module.exports.InterceptingListener.onReceiveStatus (/azure-functions-host/workers/node/worker-bundle.js:22372:8)
at /azure-functions-host/workers/node/worker-bundle.js:22881:18
This issue is different than Error: 14, this one is Error 13 which is related to the response while Error 14 is related to connection to the azure portal from VS Code.

Posting a file to the server

:8000/upload:1 POST http://localhost:8000/upload 500 (Internal Server Error)
createError.js:17 Uncaught (in promise) Error: Request failed with status code 500
at createError (createError.js:17)
at settle (settle.js:19)
at XMLHttpRequest.handleLoad (xhr.js:78)
While I'm uploading a file I'm getting this error, can anyone help for it.
This error was because you did not handle the situation in the client when the server returns an HTTP error 500
Actually, you have to check the server application, why it does not accept the upoplad, and only returns an error.

Azure fails to deploy ASP.NET Core app / Can't connect to MyGet server

I'm somewhat new to .NET Core and I'm trying to make a RESTful web api with authentication (using OpenIddict as the middleware). I working with Visual Studio Code on OSX.
To use OpenIddict, I have to add another source for the packages so following the tutorial, I added a NuGet.config file at the root of my project which looks like this:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="aspnet-contrib" value="https://aspnetcontrib.myget.org/F/aspnet-contrib/api/v3/index.json" />
</packageSources>
</configuration>
So I restore, I build, I run, I try it with Postman... Nice! Everything works. So, I tried to push it in Azure. So I set up an app, configure it source as local Git, and I push my app. Good.
Then, Azure tries to build it but fail when running the deployment command, which is when (I suppose) it fetches the package and all, right? Well, the error is that:
Command: "D:\home\site\deployments\tools\deploy.cmd"
Handling ASP.NET Core Web Application deployment.
Restoring packages for D:\home\site\repository\BobWebApi.csproj...
Restoring packages for D:\home\site\repository\BobWebApi.csproj...
Restoring packages for D:\home\site\repository\BobWebApi.csproj...
Restoring packages for D:\home\site\repository\BobWebApi.csproj...
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.extensions.secretmanager.tools/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.netcore.runtime.coreclr/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.netcore.dotnethostpolicy/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.csharp/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.codeanalysis.csharp/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.codeanalysis.visualbasic/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.extensions.platformabstractions/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.data.sqlite/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/libuv/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.visualstudio.web.codegeneration.tools/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/newtonsoft.json/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.aspnetcore.server.iisintegration/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/aspnet.security.oauth.validation/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.aspnetcore.authentication/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.netcore.app/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.netcore.platforms/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.visualbasic/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.entityframeworkcore.relational/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/microsoft.aspnetcore.identity.entityframeworkcore/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/nuget.frameworks/index.json'.
An error occurred while sending the request.
The server returned an invalid or unrecognized response
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/runtime.native.system.io.compression/index.json'.
An error occurred while sending the request.
A connection with the server could not be established
Retrying 'FindPackagesByIdAsync' for source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/runtime.native.system.io.compression/index.json'.
An error occurred while sending the request.
A connection with the server could not be established
D:\Program Files (x86)\dotnet\sdk\1.0.1\NuGet.targets(97,5): error : Failed to retrieve information about 'runtime.native.System.IO.Compression' from remote source 'https://myget-2e16.kxcdn.com/artifacts/aspnet-contrib/nuget/v3/flatcontainer/runtime.native.system.io.compression/index.json'. [D:\home\site\repository\BobWebApi.csproj]
D:\Program Files (x86)\dotnet\sdk\1.0.1\NuGet.targets(97,5): error : An error occurred while sending the request. [D:\home\site\repository\BobWebApi.csproj]
D:\Program Files (x86)\dotnet\sdk\1.0.1\NuGet.targets(97,5): error : A connection with the server could not be established [D:\home\site\repository\BobWebApi.csproj]
Failed exitCode=1, command=dotnet restore "BobWebApi.csproj"
An error has occurred during web site deployment.
\r\nD:\Program Files (x86)\SiteExtensions\Kudu\62.60515.2845\bin\Scripts\starter.cmd "D:\home\site\deployments\tools\deploy.cmd"
So I don't know what to do. Why is Azure even trying to get all these files from the wrong source? And if I have to, how do I tell it where to get them?
Thank you
Sorry for the delay. I managed to solve everything by rebuilding, redeploying everything from scratch. I didn't find solution to quickly solve it, but since I was only beginning, it was no big deal. Just hope it won't hit me again.

Resources