Unable to connect to server <hostname:port> as user <username> in Perforce when downloading code - perforce

I have been pulling my hair for the past few weeks. I'm able to login and create a workspace in stream. When code is downloading, after some time it says reconnect or disconnect workspace.
The dialog box says: Unable to connect to server < hostname:port > as user < username >

Related

i can not connect via VNC : timed out waiting for a response from the computer

i subscribe to a Dedicated Server Plan in Macincloud they sent me all access infos in a mail
i follow all steps but i can not connect :/
enter image description here
error : timed out waiting for a response from the computer

How can I login into my openshift account via CLI?

When I type oc login, I get:
Server [https://localhost:8443]:
Now what url should I give to it?
What is openshift server address?
I just pressed enter and I got:
error: dial tcp [::1]:8443: connectex: No connection could be made because the target machine actively refused it.
I've also tried rhc but they no longer support that for new users.
What OpenShift instance are you trying to log into?
If you are already logged into the web console, use the drop down menu top right where the question mark is and go to 'Command Line Tools'. That should show you the command to login to that cluster from the command line.
Also suggest you work through the OpenShift interactive learning exercise about how to access an OpenShift cluster. See 'Logging in to an OpenShift Cluster' at:
https://learn.openshift.com/

SVN repository issue

I've created a svn repository on a linux computer. For this repository I've also created a working copy named myfirstproject. In order to get the URL of it I've typed in "svn info". The answer was
"svn://localhost/myfirstproject".
Now I want to approach this working copy from windows computer. I've tried doing it via netbeans for the first time and tortoiseSVN as well. I've tried to approach svn://my_server_domainName/myfirstproject, but it was failed.
For instance, I am trying to set the URL on "repo-browser" option on tortoriseSVN or if I try to perform Checkout on netbeans, then the messages I recieve on both is "Unable to connect to a repository URL..." and "Can't connect to host ... :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".
what should I suppose to do? Is there any other URL address I need to type?
Thank you
SVN supports 3 types of protocol:
http://
file://
svn://
try with the other options like:
file://my_server_domainName/myfirstproject
http://my_server_domainName/myfirstproject

Windows Azure: FTP issue When Connecting to Website

I am trying to connect to website in win azure using filezilla. It connected fine for few minutes and I was able to upload the files. But then it stopped working. I am getting this message:
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PASV
Response: 227 Entering Passive Mode (137,117,88,16,40,32).
Command: LIST
Response: 150 Opening BINARY mode data connection.
Response: 550 The network connection was aborted by the local system.
Error: Failed to retrieve directory listing
I have tried setting transfer mode to ACTIVE and few other suggestions, but nothing seems to work. What could be the problem?
There might be a time-out issue on the server. You will need to tell your FTP client to keep the connection alive so that it doesn't start a second connection while the first connection is still alive.
To set this in FileZilla client, go to Edit, Settings, Connection, FTP, and check "Send FTP keep-alive commands" checkbox.
For more detailed explanation of the problem, visit: http://blogs.msdn.com/b/wats/archive/2013/12/13/setting-up-a-passive-ftp-server-in-windows-azure-vm.aspx Scroll towards the bottom and read the "Points to consider from Azure SLB perspective" section.
I had the same problem with my FTP on Azure (getting 550 errors) and checking the "Send FTP keep-alive commands" checkbox above solved my problem.
Hope this helps!
The error message:
Response: 550 The network connection was aborted by the local system
Suggests that there is an error in your local network.
This error is not within Windows Azure, but within your local network (and appears to only be triggered by FileZilla). Contact your system administrator or Internet Service Provider. Also, please try first solving the problem yourself using something like this.

I can't use FileDownloadHandler on TeamCity agent

I have some trouble to run the FileDownloadHandler on my TeamCity agent.
Configuration:
windows server 2003
internet explorer 7
TeamCity Agent run as console
I have a very simple test:
using (new UseDialogOnce(Browser.DialogWatcher, handler))
{
Browser.Button(Find.ById("ButtonExportReport")).Click();
handler.WaitUntilFileDownloadDialogIsHandled(10);
handler.WaitUntilDownloadCompleted(20);
}
When I am logged with TeamCity user (so my status is Active in the task manager user tab), everything works. If I disconnect (without logging off, so my status is Disconnected in the task manager user tab), it doesn't work. I get
WatiN.Core.Exceptions.WatiNException: Has not shown dialog after 10 seconds.
Do you know what I could do ? I give up about investigating in WatiN source code, I try now to setup my server so the user session is always Active. Do you know else what I could do ?
After more investigation, I understood that WatiN need a real user logged directly on the server. So I configure the AutoLogin in windows 2003 server following this instruction: http://support.microsoft.com/kb/324737/en-us. So the server automatically logs as TeamCity user when it starts.
After, I disable the TeamCity Service and put in the Startup folder of the TeamCity user this batch file:
cd c:\BuildAgent\bin
agent.bat start
So it starts the agent when it logs, so at start up.

Resources