Couldn't connect to server (android studio 3.0.1) error - android-studio-3.0

I downloaded Android Studio 3.0.1 in my Windows 10 64bit and it shows this error.
Error:Could not connect to server
[1a6902e5-d707-4db6-a658-c24ade784664 port:49832,
addresses:[/127.0.0.1]]. Tried addresses: [/127.0.0.1].
Cannot start internal HTTP server. Git integration, JavaScript
debugger and LiveEdit may operate with errors. Please check your
firewall settings and restart Android Studio
I've tried
closing the firewall,
choose "no proxy form HTTP Proxy"
But none of these work!
How can I solve this?

Related

Delphi remote debugger not working over a WAN connection

I am trying to perform a remote debug over the internet, however, I receive the following error.
Error
Debugger Assertion Failure: "!"mkapistream::openConnection()""
in ..\win32src\rproxy.cpp at line 298
OK
Details >>
I have opened up the default PAServer port i.e. 64211, as well as the remote debugger port i.e. 64447 on my router and, can confirm that they are available from an external source.
I have tried with both Delphi XE3 which is my development environment as well as with a trial version of the new Delphi 10.3, however, both versions of Delphi throw the exact same error.
This error occurs, when I try using the Load Process|Remote and Attach to Process|Remote.
If I attempt the exact same process over a LAN connection everything works as expected, it only seems to be over a WAN which the problem occurs.
Below are my environment details:
Windows 10 - Version 1607 (OS Build 14393.2608)
Delphi XE3 Update 2 Enterprise - Version 17.0.4770.56661
PA Server (paserver.exe) - Version 17.0.4770.56661
Remote debugger (rmtdbg170.exe) - Version 17.0.4770.56661
and
Delphi 10.3 Architect Trial - Version 26.0.32429.4364
PA Server (paserver.exe) - Version 26.0.32429.4364
Remote Debugger (rmtdbg260.exe) - Version 260.1810.29.29349
I have also registered both libraries bordbk170.dll and bordbk170N.dll for Delphi XE3 as well as bordbk260.dll and bordbk260N.dll.
If I set up an VPN connection, I can remote debug over the WAN connection, but it seems as if the remote debugger just cannot resolve the cons over a straight WAN connection.
So, my question is the following:
Can one remote debug a Delphi application over a WAN connection?
You probably need to find out what port the remote debugger is looking for and redirect that using port forwarding on your local router to your PC

Azure remote debugger from Visual Studio not working

I was able to remotely debug this website before. Now when I try to do it, through VS 2013 Server Explorer (Attach debugger), it is giving me
The following error occurred while launching remote debugging: Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named 'mywebsite.azurewebsites.net'. The Microsoft Visual Studio Remote Debugging Monitor (MSVSMON.EXE) does not appear to be running on the remote computer. This may be because a firewall is preventing communication to the remote computer. Please see Help for assistance on configuring remote debugging.
This website has a certificate and it's running over https. The remote debugging is enabled in the Settings with the correct VS version.
I have two other websites on this host and I can attach a debugger to them.
It is driving me crazy, I have googled and tried all the suggested solutions but it just seems that the remote debugger is not responding form Azure.
Even when attaching manually (https://stackoverflow.com/a/35738995/1057052), I still get the same error in return.

Unable to connect Visual Studio to remotebuild on El Capitan VM

I have a Cordova-Ionic application on Visual Studio (Microsoft Visual Studio Community 2015, Version 14.0.25123.00 Update 2). I am able to run the app on my android phone and all is good. I want to test the app by also running it on an iPhone/iOS simulator.
I have OS X El Capitan (version 10.11.6) running as a VM on virtual box. I have been following this guide (https://taco.visualstudio.com/en-us/docs/ios-guide/) to try to test the app on apple devices. I have installed version 0.12.9 Node.js and Xcode Version 8 Beta 4. I have also installed xcode command line tools, remote agent, homebrew. I have tried running 'remotebuild test' in a terminal and it executes successfully, ending with 'taco-remote test passed.' However, this is where the problems start.
To attempt to use secure remotebuild, i run 'remotebuild certificates reset' and then 'remotebuild certificates generate' in the terminal. I see
host: noyolks-iMac.local
port: 3000
PIN: 121422
I then run 'remotebuild'. On visual studios on my windows machine, I then go to tools -> options -> tools for apache cordova -> iOS configuration. I set 'Enable remote iOS processing' to 'true', 'host' to 'noyolks-iMac.local', 'port' to '3000', 'secure mode' to 'true', 'security pin' to '121422'. However, when i press ok, i see the following error popup 'Unable to connect to remote iOS build server. Underlying exception: The remote name could not be resolved: 'noyolks-imac.local''.
I try using the IP instead in place of the host name as suggested in the guide. On OS X, i go system preferences -> network. I then see '10.0.2.15' under IP address. I go back to my windows machine. I try '10.0.2.15' in place of the 'host'. When i press ok, i see the following error popup 'An error occurred trying to acquire certificate from https://10.0.2.15.'.
Please note, I ensured that all the above was done within the 10 minutes window before the security pin expires.
Following the guide, I then tried to start the remote agent without secure mode. I run 'remotebuild --secure false'. Once again on visual studio on my windows machine, i try host 'noyolks-imac.local' first (with 'port' to '3000', 'enable remote iOS processing' to 'true', 'secure mode' to 'false') and i get the error popup 'Unable to connect to remote iOS build server. Underlying exception: The remote name could not be resolved: 'noyolks-imac.local''.
Once again, running without secure mode, i instead use the ip address in place of the host '10.0.2.15'. I get the error popup 'Unable to connect to remote iOS build server. Underlying exception: Unable to connect to the remote server'.
I have also tried a similar procedure using a friends mac book pro and have not been able to get this to work. Any help would be appreciated and please do feel free to ask for any other information you might need.
Thanks.
I'm an idiot. The problem was that I couldnt even ping my El Capitan VM. Changing the network adapter settings in virtualbox to 'bridged adapter' solved this.

Visual studio remote iOS agent configuration error while building cordova app on iOS

I want to connect to Remote Agent on Mac. I have npm, node.js installed. I have also remotebuild installed and it spits out the remotebuild certificate. I have Xcode installed and active too. But Once I try to connect from VS 2015 Tools for Apache Cordova and input the certificate info I get the following error:
An error occured to acquire certificate from https://(ip address).
I also tried using unsecure mode and just IP address. When I run remote test on ios terminal i get the following code:
Warning:
No server modules selected. Defaulting to configuration "modules":
{"taco-remote": { "mountPath": "cordova"} } Remote build server
listening on [https] port 3000 Please view/edit server configuration
at /Users/Bp0_0n/.taco_home/RemoteBuild.config. You many need to run
'remotebuild saveconfig' to generate it. You will have to restart the
server if you update the server configurations.
I am unable to figure out what is exactly needed to be done? Can any one help me?

Connection to Xamarin.iOS Build Host failed. Double click here to attempt to reconnect/select a server

While loading any new project in Visual Studio 2012 and connecting with Xamarin Build host provider, it gives error "Connection to Xamarin.iOS Build Host failed. Double click here to attempt to reconnect/select a server"
Followed below mentioned steps but none worked.
Tried to unpair and pair again from VS 2012 and MAC Build host provider
HKEY_CURRENT_USER\Software\Xamarin\MonoTouchVS\KnownServers remove this key from Registry but I was not able to find this registry
HKEY_CURRENT_USER\Software\Xamarin\MonoTouchVS\MonoTouchBuildServerAddress remove this registry key but didn't help.
Someone suggested to disable proxy by following below steps.
I had the some problem, all was configured well but got the same error. The solution for me, was to disable the proxy! on the windows machine
Hope that will help you
Could anyone please suggest how to disable proxy and on which PC Windows / MAC? And let me know if that helps you to resolve the issue?
Thanks..
Any other solution to get this issue resolved?
==========================
Updates on 24 July, 2014
Solution to my question above I found is: Network connection and constant PING to my MAC PC was broken and thats what causing the problem to connect to Visual Studio.
This works for my machine but not sure about yours.
Go to Xamarin Studio on your Mac, update Xamarin.
Reboot your Mac (just to be absolutely sure)
Startup the iOS Build Host on Mac.
Go to VS on your PC, when VS is trying to connect to the Build Host, make sure the IP address is correct (i.e. your Mac/build host machine IP).
If the IP Address is incorrect (which is my case), try manual connect by entering your Build Host IP Address and try to connect again.
Good luck.

Resources