Channels' connection status - mirth

I am not able to get channel live connection status ie.(idle, receiving, connected). I got channel statistics using "ChannelUtil" class but I have no idea how to get live connection status of channel. I am using mirth connect version 3.8.0

One way is to use the Client API.
GET /extensions/dashboardstatus/channelStates/{channelId}

Related

Postman application showing error that it couldn't connect to server

When I'm trying to use POST operation through local host server. It is not connecting to the server and showing the following error :
There was an error connecting to http://localhost:4500/api/user/signup.
Please find attached screenshot for the same
enter image description here
That means there is no server running on that port. Please check server first whether the port is correct or not.

ERR_CONNECTION_TIMED_OUT

enter image description herei have call Post/Get api when running app they show me error ERR_CONNECTION_TIMED_OUT in angular4
Either your internet connection is interrupting (most of the time faced by me when using mobile data tethering) or the server you are connecting is busy so that your request is in a queue or rejected at the network level of the server.

Unity client server is not connected while using sendbychannel

while running the unity game engine as client and server in one machine, working perfectly fine just initially its giving error,
NetworkClient SendByChannel when not connected to a server
UnityEngine.Networking.NetworkClient:SendByChannel(Int16, MessageBase, Int32)
playerController:Update()
Can anyone please tell me why this error is coming?
Here the client is sending his position and server renders the texture and sends it back to him. But when the client is running on the Android (mobile) and server on the desktop, every time I am getting
NetworkClient SendByChannel when not connected to a server.
I can't set the connection between server and client.
Can anyone please tell me why the connection is not getting set up?
The channel ID is same and everything I checked (IP and port no about firewall). Nothing list above is a problem.

Connect to C++ REST sdk SERVER on Windows from LAN

I have a server written on C++ REST SDK.
There's http_listener which listens to "http://localhost:34568".
When I try to send a request in browser or from the client to localhost it works fine and I get the responses from my server. But the point is to use the application in network. And here where the problem comes.
When I try to request the server from the other PC using IP(192.168.1.103:34568) I get "HTTP Error 400. The request hostname is invalid."
I'm aware that that could be some firewall issues but it's turned off. Also I tried to set port rules in brandmauer and it didn't help.
And even more! I got XAMPP running Apache server and when I do the same thing but with (192.168.1.103:80) I do get the response from Apache and have an access.
Anybody had something similar or somebody knows what the problem is about?
Listen to local ip address or to your network name (dns):
"http://xxx.xxx.xxx.xxx:34568" or
"http://your_network_name:34568"
So, if you have multiple network adapters, you can choose which one.

Strophe connection did not restore connection after some time

I am using strophe.js to intract with xmpp . it has the feature to restore its states when network fluctuate. this work okay for short time but when network got connected after 5 to 10 min fater disconnection it didnt restore its connection. any ideas why this it is so?
You can use connection manager for this. see this one
Basically what you to do is that start a timer when network get disconnected and in that timer check network connection. once network found connected relogin the strophe to make it working.