Socket connection failed for unknown reasons - angularjs

I am trying to connect to remote socket server and i get an error: "Socket connection failed for unknown reasons"
spent a lot of time, and I could not find a solution (
Please, helpe me/ thanks
My client dep:
socketcluster-client 9.0.2,
angularjs 1.5.7

You can try another system which has similar system, check ClusterWS
https://github.com/ClusterWS/ClusterWS

I had this exact same error and I was trying to connect to a third party external API that was providing data through websockets. If this is what you are trying to do, socketcluster may not work because it only enables connection with a socketcluster client and a socketcluster server regardless of whether they are in the same domain or different domain. Hope that helps

Related

couchbase sync not connecting

I'm working on a angularjs/electron project, and we're utilizing pouchdb noSQL. I'm currently trying to sync the pouchdb to my couchbase server, but when I do i'm receiving this error
FATAL: Failed to start HTTP server on 127.0.0.1:4985: listen tcp 127.0.0.1:4985: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted. -- rest.(*ServerConfig).Serve() at config.go:705
I've already checked my ports, and there's only one instance of my sync port active. So, you can understand why I'm a bit puzzled. If you can offer any suggestions, I'd be very appreciative.
Figured it out. When installing couchbase sync gateway, it comes in as a service. Make sure the service isn't active, when you run it from console.

Websocket for .NET Winform

Please provide me with a web socket client for .NET Winforms that is compatible with Web API and Microsoft.Websockets package. I have tried with System.Net.WebSockets, Websocket-sharp, and they are not working.
Finally, I found out the cause of the problem. It is that the web socket connection requires two query string parameters.(ws://localhost/api/ws?username=blah&token=blahblahblah). If I specify only one parameter or no parameter at all, then the web socket connection throws 404 error. Don't know why.

Deeper server block request

Today I had a problem searching songs on Deezer API. The server was blocking my requests.
A connection attempt failed because the connected party did not
properly respond after a period of time, or established connection
failed because connected host has failed to respond 195.244.30.137:80
What do I need to do so that it wouldn't happen again?
I solved my problem.
There was a internet problem in my side.
Sorry

OpenIPMI on setup connection returns RMCP error

I'm using OpenIMPI library for managing Shelf Manager (Pigeon Point ShMM-500)
After creatinf domain and verifying all connection arguments setup_done_handler returns an error
33554450
I'm using OpenIPMI macroses for decoding error. This error is RMCP+ error, and real error code is
18
That error occures after sending RMCP+ Open Session Request and getting RMCP+ Open Session Response
This error occures not permanent and the multiple rebooting of Shelf Manager can solve this problem, but sometimes I need 10 or 15 reboots before I will be succesfully connected to ShMM.
Does somebody know, what that error means?
Thanks in advance.
The connection can be established only by proper using of connection method.
Early, I used a method
ipmi_args_setup_con();
with specific setup args.
Now I'm using the concreate method
ipmi_ip_setup_con();
And it works all time.
Hope, that it will be helpfully for someone.

Unable to access a simple web application (running on Tomcat Server) from another System

I have written a simple web Application which is running(on Tomcat Server) fine on my local system.But when I tried to access from a different system using http:/my_ip_address:8080/Projec1/My_Application. Its showing this error
Network Error (tcp_error)
A communication error occurred: ""
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.
I know many of you must be well versed with this kinda error.But for me its kinda new.I would be happy if you state possible reason and solutions(Please tell me if there is configuration is required in Server step wise)
Thanks All
I forgot tell you all that i found the answer of above question, actually there was proxy setting problem.This is what i did
Open internet option in IE.
Goto LAN setting in Connection option.
In LAN Setting there is advance setting tab, click it.
You will see a Exception box at the bottom.
Type the IP Address form which you want access.
eg. 10.200;*.xyz.com
This setting is to be done on system from where you want to access your web application.
Starting IP address where application is running 10.200.---.--- that is why in exception box it is mentioned as 10.200;*.(your Interanet Server Name)
Hope this will help.
Thanks

Resources