Service Fabric Local Cluster Manager Not opening menu - azure-service-fabric

Recently uninstalled my old local cluster and reinstalled the new one (using Platform installer)
Every since then the manager doesnt respond to right clicks. (Normally a right click opens up a small menu with start, stop, reset etc). Sometimes it will open the window but it will be 30+ minutes later.
I know everything in the background is working as I'm able to still publish to my local 1 node but I cant use the GUI.
What I've tried:
Uninstall + reinstall
Killing the program via task manager and re opening
Question 1- How do I fix this so I can use the GUI?
Question 2- Where can I find the terminal commands to manage the cluster if the GUI doesnt work?

Related

Why might VSCode think devcontainer configuration files were changed every time I open the devcontainer?

I'm using VSCode with the devcontainers feature. I recently made a large update to my devcontainer configuration, moving the devcontainer from a single DockerFile to docker-compose.yaml. Everything's working fine except that and I'm finding every time I start up the devcontainer, VSCode shows a toast notification in the bottom right corner informing me that the devcontainer "Configuration file(s) changed...The container might need to be rebuilt to apply the changes."
If I select the provided option to rebuild the container, I'm still presented with this same message the next time I open VSCode and start up the devcontainer. Basically, VSCode thinks the configuration files for the devcontainer were changed every time I open the devcontainer, even though they haven't been changed since I last built the container.
At the moment, this is just a very minor annoyance--the devcontainer works fine and all I need to do is ignore the toast notification once on startup. It appears as though something is going wrong though. Does anyone have any idea as to why VSCode might be showing this message each time I start up the devcontainer? Or better yet, how to address this message in a better way than simply ignoring it?

vscode chrome attach unable to connect after some time

I have a really wired problem (or a bug) on vscode. I can "attach chrome" debugging totally fine usually,
but after some random time connecting to the chrome instance (may be a couple of hours or 8 hours, like I left it connected while I'm sleeping), it automatically disconnect the debugging,
then when I try to re-run attach chrome to reconnect it, for some weird reason it doesn't connect to the instance.
It's not a failed, it's not like "cannot connect to the port 9222", it's infinitely trying to connect showing the left up side blue indicator left to right.
This is my second time to encounter this weird problem. For the first time I even don't know how I solved the issue. maybe I just waited its reconnect for an hour or like that.
The first things I happened to think from the problem is simply its port conflict. So I checked vscode side's (I mean I use vscode in the remote ssh mode from Windows to Linux Ubuntu) port and process, used htop to filter port "9222" or process "chrome", but I didn't find anything stucking there. So I assume in the linux side the debugging process is exiting successfully.
So I did the same on the Windows side, I used resource monitor to check port "9222", no running process. If I re-open a 9222 debugging enable chrome, then it appears. closing, it disappears. It seems there is no problem here as well.
I then checked vscode's version. I was using vscode 1.64.2 so I side-installed 1.65.2 and 1.66.1 (the latest) and tested it. Doesn't work.
"refreshing the window" doesn't work. closing the window and re-open, doesn't work.
So what can I do?
Did you just install some new extensions in Visual Studio Code? I found that I had this exact same behaviour, "infinitely trying to connect showing the left up side blue indicator left to right", after I installed Karma Test Explorer and Test Explorer UI extensions. Once I uninstalled those extensions, debugging started working again.

No "open folder in container" or any other command in remote-containers vs code

I'm using a remote machine, and want to run a docker inside that machine (local->remote->docker) and wish to use the Remote development in Containers tools of vs code
Unfortunatlly, I do not see any of the actions after installing the extension.
My view (ctrl+shift+p -> type remote-containers)
While the tutorial has actions I don't even see:
You need to make sure you are not connected to your remote host via Remote-SSH in VSCode. If you are, you will not see "Open Folder in Container..." or the other options.
Try opening up VSCode without connecting using Remote-SSH. You will find that the option is now present.
To set up a remote Docker host, you first need to be able to access your remote host using key based authentication as describe here
You then set
"docker.host":"ssh://your-remote-user#your-remote-machine-fqdn-or-ip-here"
in setting.json.
Once that is setup, you can only attach to running containers. Test this out before proceeding:
Start a container on the remote host
Hit F1 in your vscode and then select "Attach to Running Container..."
You should see the container you started and you should be able to attach to this
Once you are past this point, you will need to create your devcontainer.json file as per the documentation
Make sure you have installed Remote Container extension.
and ssh as mentioned on the comment above.
Once installed, click on Docker icon, under containers, right click on the container you need to work with vcode and select attach vscode.
I had this issue when I opened vscode for the first time in a year after only needing to install it for some random project that wanted me to use "dev containers" for, I don't remember what.
But I don't care about dev containers anymore and I don't remember that project, however, vscode was functionally unusable because it opened in that old project directory and was trying to do... something with containers. I don't know, I don't care, I just wanted to open another folder so a junior programmer could use an IDE on my machine they're familiar with instead of emacs/vim/whatever.
The solution for me was to use the "extensions" tab CTRL+SHIFT+X, disable the "Dev Containers" extension, then use "File -> Open Recent Folder" to select some other directory. This gets around the "can't open in container" bug. If you don't have a history of other opened directories, I think you need to completely reinstall Vscode or something.

How to know which Windows Process has started / stopped which service

For example, want to know that sample.exe creates MyDriverService and runs Start / Stop to run myDriver.sys
I tried using Process Monitor, API Monitor but there was only information from Services.exe
It's easy just on computer main screen at my computer logo click right click, then in menu select manage, you will see one new open window with computer information.
In left side menu in last you will find services and applications, click on it then click services you will find their all your computer running and stop services.
Other way you can only see the running services by right clicking on computer screen down window bar then open start task manger, one pop up window will open there will be information of your computer running application running process and many other useful information's
Hope you will find it helpful

VSCode ran once on install, won't run or install again

I'm running this on Windows 7 SP1 with most (if not all) current patches. I have administrative permissions on this machine.
The first time I ran VSCodeSetup.exe, it ran the installer for several minutes then launched the actual application.
I got called into a surprise meeting, so I closed it thinking I'd look at it again later.
However, when I returned to my computer and tried to launch it, I found no evidence that it was actually installed... no desktop icon, no entry in the start menu, no Explorer integration...
I tried running VSCodeSetup.exe again, but all it does it show the installer screen for a split second, which then vanishes.
Since then, I've tried the suggestions outlined in VSCode Installation Failed - Failed to extract installer to install the application, even going so far as to run Update.exe --uninstall followed by running VSCodeSetup.exe again, but nothing has worked.
I even tried disabling my antivirus software and running the installer again, to no avail.
Does anyone know what I can do to get VSCode working again?
According to the comments and answers to Install VSCode in a specific folder, Visual Studio Code installs itself to %LOCALAPPDATA%\Code on Windows.
While I'm not sure why it didn't register itself with Explorer, I can at least create a shortcut to %LOCALAPPDATA%\Code\bin\code.cmd (with icon %LOCALAPPDATA%\Code\app.ico) to get it working again.
Or remove the directory entirely and run VSCodeSetup.exe to install it again, which still doesn't add Explorer integration... but this time at least the PATH now has code in it.
On windows VSCode is installed as Code.exe and its located in your
C:\Users\<windows-user>\AppData\Local\Code\app-<version-number>\Code.exe
or
C:\Users\John\AppData\Local\Code\app-0.5.0\Code.exe