What is this error and how do I resolve it?
It has been happening a lot recently.
[Error: 128-0] : Unable to get Response Code. Please contact support with error details. : http://pubsub-1.pubnub.com/subscribe/sub-c-7debcf5c-7a22-11e5-92ab-8b238450f091/melloto_hub_registration_hub_pub%2Cmelloto_user_registration_user_pub/0/14615102362831327?uuid=b38c9036-b9ce-4dd1-b9b9-3f6f8d34859c&pnsdk=Java%2F3.7.5 : java.net.SocketException: Unexpected end of file from server
ERROR on channel HUB_1_sub-pnpres : [Error: 128-0] : Unable to get Response Code. Please contact support with error details. : http://pubsub-1.pubnub.com/subscribe/sub-c-7debcf5c-7a22-11e5-92ab-8b238450f091/HUB_1_sub-pnpres/0/14615098338448243?uuid=d316c310-cb93-432a-9a4f-574d8c4d811e&pnsdk=Java%2F3.7.5 : java.net.SocketException: Unexpected end of file from server
Note: The Sub key value here has been changed from its actual so I could post in a public forum
Related
I can't figure out the issue. It was all working fine but whatever happened, happened in my last commit...
Can someone help me to fix the issue?
Push failed
Invocation failed Unexpected end of file from server
java.lang.RuntimeException: Invocation failed Unexpected end of file from server
at git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:30)
at git4idea.http.GitAskPassApp.main(GitAskPassApp.java:58)
Caused by: java.net.SocketException: Unexpected end of file from server
at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:866)
at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689)
at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:863)
at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1615)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
at org.apache.xmlrpc.DefaultXmlRpcTransport.sendXmlRpc(DefaultXmlRpcTransport.java:87)
at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWork...
When I want to open spyder3, it returned me above error message and the spyder3 didn't open. Could somebody tell me what should I do, please?
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.
Yes part of the problem is I don't have a Mac Pro ;) And the demo are done on Macs.
I can get the "Hello World" app to run, loading it via the web interface and accessing via:
http://localhost:8529/_db/Test1/hello-foxx
But I cannot seem to get any other demos to load. For example oauth2:
http://localhost:8529/_db/Test1/oauth2
{"error":true,"code":404,"errorNum":404,"errorMessage":"unknown path 'oauth2'"}
UPDATE - I am also new to server side Javascript. While playing with a simple working demo, I created an error in the app.js file. The resulting output in the browser was my above 404 error. It would seem that if the app.js fails and cannot create the output file, then logically the browser can't find it. So it may not be a "Mounting" or File System error, but a JS error???
Maybe this can help you.
Run arangodb in debug mode:
arangod -c "D:\Tools\ArangoDB 2.2.5\etc\arangodb\arangod.conf"
--javascript.dev-app-path "D:\Tools\ArangoDB 2.2.5\www"
Take a look at the console output when you receive the error.
This is an internal error at a FOXX app returning 404
2014-11-07T05:07:00Z [4928] INFO ArangoDB (version 2.2.5 [win64]) is
ready for business. Have fun!
2014-11-07T05:21:47Z [4928] ERROR Cannot compute Foxx application
routes: SyntaxError: JavaScript exception in file '(snippet)' at
11,19: SyntaxError: Unexpected token * 2014-11-07T05:21:47Z [4928]
ERROR !\x09\x09if(fuzzyType != * || ! $(fts).All(function(ft){ return
typeof(fuzzy[ft]) ==
2014-11-07T05:21:47Z [4928] ERROR ! ^
2014-11-07T05:21:47Z [4928] ERROR stacktrace: SyntaxError: Unexpected
token *
2014-11-07T05:21:47Z [4928] ERROR at createModule
(common/bootstrap/modules.js:492:20)
2014-11-07T05:21:47Z [4928] ERROR at requireModuleFrom
(common/bootstrap/modules.js:645:14)
2014-11-07T05:21:47Z [4928] ERROR at requirePackage
(common/bootstrap/modules.js:805:21)
2014-11-07T05:21:47Z [4928] ERROR at [object Object].Module.require
(common/bootstrap/modules.js:1206:21)
As you can see there is an error on the FOXX code.
After fixing this is a normal output about a request:
2014-11-07T05:23:45Z [4928] INFO /dev/FreeTextEngine, incoming request from 127.0.0.1: GET http://0.0.0.0:8529/dev/FreeTextEngine/create/hotelall?type=*
2014-11-07T05:23:45Z [4928] INFO /dev/FreeTextEngine, outgoing response with status undefined of type application/json, body length: 125
i get this error when trying to connect to a db setup on mongolab
Error: failed to connect to [undefined:27017]
however, my connection URI is:
'user' : 'mongodb://dbuserNameString:dbPasswordString#ds027789.mongolab.com:27789/db1'
so where does undefined come from?
As you can see in the tutorial you mentioned, you have to use the url instead of user, the change should be:
'url' : 'mongodb://dbuserNameString:dbPasswordString#ds027789.mongolab.com:27789/db1'