EvoSuite failing to connect to server - evosuite

I followed the exact steps of the evosuite official tutorial (http://www.evosuite.org/documentation/tutorial-part-1/), and what I always get is this:
IMAGE
It always says that "failed to register client service", then java exceptions were thrown due to connection failure. My device is perfectly connected to the internet. I tried to ping the connection site and there was reply. What should I do?

I restarted my computer then it worked.

Related

Mesos Failed to connect error to IP:5050

I am new to Mesos and just finished setting up mesos and along with zookeeper on my test server.
Unfortunately I keep getting this error message on my mesos console indicating i am unable to connect to mesos on port 5050 and can't seem to figure out why.
I have included the error in the screen shot below
The mesos log files doesn't point to why the error is showing either.
I resolved the problem by this:
./bin/mesos-master.sh --ip=x.x.x.x --work_dir=/var/lib/mesos --hostname=x.x.x.x
We can avoid this problem by starting mesos-master with following option:
--ip=xx.xx.xx.xx --hostname_lookup=false
I have resolved this problem. Open the web page in Chrome, and open the developer tool, you will see the chrome is accessing the web site with domain, in my case the domain name is "mesosphere", as there is no mesosphere in dns, so the accessing was failed.
I solved the problem by adding the mesosphere in the hosts file, C:/windows/system32/etc/hosts/
If you use the domain name for the Mesos cluster you must set the domain name in windows hosts.
There can be multiple issues here.
Is your mesos-master running and healthy ?
Has leader election process completed, if all is good.
Check if you are able to do
ping leader.mesos
If above ping doesn't work, that means leader has not been elected. First fix that.
I had this problem also. Luckily, I have a running mesos server also. So, I can compare the different between my demo and the running mesos server. I captured the packets between client and server in my demo. I found the explorer didn`t resend fresh request, only some keepalive packets.
but, when I catch the packets in the running mesos server, I found the explorer send get request frequently. like the image
I think, if you run some task or add some agent, maybe it will activate the explore to send request frequently. Then the "Failed to connect" will disappeared.
I was having the same issues and what fixed it for me was the zookeeper configuration. In my case I was using the EC2 public IP Address rather than the private one. Once I changed the /etc/mesos/zk file to zk://<private IP>:2181/mesos I was able to connect without the constant error messages. In other words, zookeeper was reporting to be running in one IP and mesos-master was trying to connect using a different IP.
My configuration was correct as suggested. But failed to start mesos-master service. But There is alternative way to start mesos-master node with exact same configuration. Commands to start mesos-master
$ cd /usr/sbin [or mesos_installation directory/bin]
$sudo ./mesos-master --work_dir=/var/lib/mesos --log_dir=/home/rajeev/logs/mesos/
Its start mesos-master service successfully for me.

The maximum number of connections for this site has been exceeded

When trying to publish my site using a web deploy I am getting following error:
Error 1 Web deployment task failed. (The maximum number of connections for this site has been exceeded.
Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_EXCEEDED_MAX_SITE_CONNECTIONS.)
My website is hosted over a shared host. I already raised this issue to the hosting provider and asked them to restart "Web Management Services" in reply of which they said that they have "restarted publishing service on server". But this error is still not resolved.
What else should I do? Is there something I should check on my side or is it totally a server/hosting provider’s issue?
Error was caused by a 10054 socket error (basically host dropped connection). you publishing a lot of files and it appears that host had a connection time out.. watching publish and if you see the first socket error cancel the publish so that it doesn't hit the max site connections error. Then start publishing again and it picks right up where it left off.
You either have a ton of traffic on this site or the hoster is oversubscribing the box. An IIS restart may fix it temporarily.

IntelliJ remote debug works only once

We've recently moved from Eclipse to IntelliJ. When configuring remote debugging, it manage to connect to the process once (via host and port) and debugging works. However, after disconnecting, we cannot connect to the process again. IntelliJ shows:
Unable to open debugger port (itstl060:33411) java.net.ConnectException "Connection Refused"
This works in Eclipse and we can connect multiple times without any issues. Any idea if there is a solution for this?
Check your previous debugging service has stopped. Sometimes it may be still running. I have come across these kind of issues.

wcf - No connection could be made because the target machine actively refused it

I created a WCF service. It worked well yesterday. When I entered service address, I got message returned as expected. However, when I run it today, I received error message:
In IE: [Fiddler] The socket connection to localhost failed.
ErrorCode: 10061. No connection could be made because the target machine actively refused it [::1]:47423
In Firefox: Firefox can't establish a connection to the server at the site
In Fiddle2: HTTP: 502
How to solve this problem? Thanks.
Generally with these issues is either the service is not running or you're url is incorrect. Without more specific information it's impossible to tell.

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