What does might mean RUNTIME0013? - wcf

When i trying to use my WCF client a get an error
RUNTIME0013: Failed to connect to 'http://localhost:8080....
So if client just cann't to connect to remote endpoint than error looks like
There was no endpoint listening at
But what is RUNTIME0013 ? I cann't even google this kind of error.

Related

Accessing remote WCF function is not possible

Im trying to access a remote wcf function in a service from the test application (Client), while executing it says service expired.
I tried
1) disabling firewall,
2) checked with SSl certificates, but didn't helped me
Could anyone help me why im unable to call this wcf function running on remote machine.
First steps: enable logging.
See
https://learn.microsoft.com/en-us/dotnet/framework/wcf/diagnostics/configuring-message-logging
And:
https://learn.microsoft.com/en-us/dotnet/framework/wcf/diagnostics/tracing/recommended-settings-for-tracing-and-message-logging
To look at the logs, use this: https://learn.microsoft.com/en-us/dotnet/framework/wcf/diagnostics/viewing-message-logs
If the logs do not make sense, post back here.

"Connection Refused" error with MSS SIP servlet over WSS

I would like to ask for help.
I am using the mss-4.0.21-wildfly-8.2.1.Final server and the SIP servlet B2B WebSocket sample with some small changes in order to use the Doubango sipML5 client for registering and making call.
When I use the ws protocol, my servlet works fine, I can register and make call with Doubango sipML5 client.
When I use the wss protocol, the register function works fine, but I get the error "Connection Refused" while trying to make call. I checked my servlet code and found that the "Connection Refused" error is at this line outRequest.send();. I think the problem is that my servlet cannot send the INVITE request to callee over wss because it is refused. Now I have no idea about how to solve this problem.
Thus, I would like to ask for any idea about this problem. Thank you very much!
Instead of using the Doubango sipML5, I use the Olympus which is the RestComm WebRTC Application, and everything works fine now.

WebSocket connection to failed ERR_SSL_PROTOCOL_ERROR

I have configured the Websocket on my live server and I'm using SSL on live server. When I used following code on my localhost, websockets were fine.
ws://localhost:8080/server.php
Once I moved the file to the live server I have changed the code to the following
wss://IP:PORT/server.php
I have created a seperate port for web socket and configured on firewall TCP IN and OUT. However, I'm receiving the following error on console
WebSocket connection to ............ failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR
Can anyone suggest me some solutions to overcome this issue
Basically when you are using wss you are just serving the WebWocket over SSL/TLS.
Meanwhile using a simple ws does not require a particular setup, wss does. Indeed you have to create a secure connection using a valid SSL Certificate when opening the communication.
If you certificate is missing or invalid the connection cannot be enstabilished therefore an error will be raised while attempting to start the communication.
So you can't just switch from ws to wss but also have to make a proper implementation.
You can find more details here, hope that helps!
here is what I did, I never able to install ssl in local, so I started using the w3cwebsocket client
https://www.npmjs.com/package/websocket
and test it in console using
node index.js
var W3CWebSocket = require('websocket').w3cwebsocket; var client =
new W3CWebSocket('wss://127.0.0.1:7000/'); console.log(client)

consuming WCF method via web service getting error only in IIS not in IDE

I have added http://ws.hipcricket.com/api/EndUser.svc as a service reference in a my web service. I am able to consume the methods from the IDE but while hosting the same in IIS I'm getting the following errors:
Error 1:
Could not connect to the (please refer the above url). TCP error code 10060: 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 69.20.116.221:80.
Error 2:
There was no endpoint listening at (please refer the above url) that could accept the message. This is often caused by an incorrect address or SOAP action. See Inner Exception, if present, for more details
Maybe you have a firewall blocking communication from your webserver? When developing on your local machine communications through the proxy may most likely be using your credentials, while the user that the application pool that your application is running under on your IIS server most probably does not have the correct rights.

Uploading files to remote server using WCF

I am new to WCF, I am trying to upload files to remote server using a windows service and WCF. When i run my code i get the below error.
An unhandled exception of type 'System.ServiceModel.EndpointNotFoundException' occurred in mscorlib.dll
Additional information: Could not connect to net.tcp://74.208.195.53:5000/. The connection attempt lasted for a time span of 00:00:21.0122019. TCP error code 10060: 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 74.208.195.53:5000.
I tried using the sample project provided in this link http://www.codeproject.com/KB/WCF/WCFDownloadUploadService.aspx
I read in other blogs that, the port has to be allowed throught the firewall on the server.i did that even tried turning off the firewall on the server but it dint help.
Can someone please guide me how i could get this issue resolved.Any help would be highly appreciated. I am using win7 and the remote server is windows server 2008.
Thanks
In some circumstances you need to enable tcp on the server. this post might help