Google Cloud Platform - Resumed Virtual Machine does not work; - google-cloud-platform

Let's start out by noting I'm an absolute noob concerning Google Cloud Platform and most of it's features. My friend ask me to take a look at an issue regarding WordPress:
There Has Been a Critical Error on Your Website
I read somewhere that it would be possible to connect to SSH and deactivate the WP plugin's so I entered Google Cloud Platform and first tried "Turning the virtual machine off and on again" (Suspend and Resume). Now, instead of the critical error, the website is completely unreachable and I am at a total loss. The message read:
nickysmassage.nl has denied your connection.
I could really use some assistance in at least getting back to the original WordPress error. The domain is https://www.nickysmassage.nl.
Any suggestions on where to go from here?

Related

My SSH session into my VM Cloud is suddenly lagging

Everyday I log into my SSH session of a Google Cloud VM I maintain (Debian).
Since a week ago, I noticed my performance was lagging as I typed into the VM or when doing something else. I mostly login into this VM to check log files of scheduled scripts I have, and even when I use "cat script.log", what used to take less than 2 seconds now takes at least 5 or 7 seconds, loading the log text.
Pinging different websites bring me an reasonable 10 - 15 ms. I'm pretty sure it's not about my local connection either, everything else I do works fine in my local computer.
A warning started to appear now into my session, saying
"Please consider adding the IAP-secured Tunnel User IAM role to start using Cloud IAP for TCP forwarding for better performance. Learn more Dismiss"
I've already configured the IAP secured tunnel to my account, which is the owner account of GCP project.
Another coworker of mine is being able to access the VM without any performance issues whatsoever.
Your issue is in my opinion with the ISP. For some reason the SSH sessions are lagging.
That's why even other computers using your home ISP lag SSH sessions too. If that was firewall rule interfering you wouldn't be able to connect at all.
You may try to reset all the network hardware in your home and if that doesn't help
run tracert command in windows shell and then contact your ISP and pass your findings. It's possible it's something on their end (and if not maybe their's ISP etc).
To solve the problem you need to add "IAP-secured Tunnel User" at the project level in IAM for that user.IAP-secured Tunnel User + See instructions here in a blog I wrote about this. That should solve your problem.

Failed to sign into Microsoft account from Windows 10

I have problem signing into Microsoft account from my local account on my machine. This used to be my work laptop I have bought it after I left company. I could sign in on my domain user without any problems. Since I left domain I lost this account.
I am trying to "Sign in with Microsoft account instead" option in Accounts->Your info. After I enter my Microsoft account credentials and insert my local user password I get message "Oops something went wrong. Whatever happen it was probably our fault". Good one Microsoft.
Also similarly when I try to add account to Calendar app I end up with same problem, but here I got more information: "You will need the internet for this. It doesn't look like you're connected to the internet. Check your connection and try again. 0x800704cf". This led me to check Network troubleshooter and this error came up:
Your computer appears to be correctly configured, but the device or
resource (www.microsoft.com) is not responding
Contact your network administrator or Internet service provider (ISP)
Completed Windows can't communicate with the device or resource
(www.microsoft.com). The computer or service you are trying to reach
might be temporarily unavailable.
I have tried many ways how to fix this. (Flush DNS, reboot router etc..), but I am pretty sure that my problem is not with my internet connection. It works perfectly fine, also note that I was able to check this with 2 internet providers with same result. Also another thing is, that this works perfectly fine with other devices in our household.
For me it looks like system don't see microsoft.com. Only thing I am able to work with is One drive.
I am pretty sure I would be able to fix this by resetting Windows 10, but I don't want to loose my installed programs (and licenses).
Any advice will be appreciated. I really ran out of options.
After doing many many thing, only thing that helped was resetting PC. It always does help.

Hyperledger Composer : No business network has been specified for this connection

I have installed hyperledger composer locally. But on localhost it gives error :
Error : Error trying to ping.
Error: No business network has been
specified for this connection.
I am not able to add model and script file as well.
This is the errors showing in terminal
error: [Hyperledger-Composer] undefined:HLFConnection :ping() Error: Error trying to ping. Error: No business network has been specified for this connection
at _checkRuntimeVersions.then.catch (/usr/local/lib/node_modules/composer-playground/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:787:34)
at <anonymous>
at runMicrotasksCallback (internal/process/next_tick.js:121:5)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9) error: [Hyperledger-Composer] undefined:ConnectorServer :Error: Error trying to pi
I think I solved this problem.
About the error
The error reason is No business network has been specified for this connection., this does not happen when you first time to run composer-playground, because that time, you truly do not have a network and you either do not have card too, so there is a modal pop up Let's blockchain.
This only happened when you stop/delete your business network net, or there is no business network running but you also have the business card linked to the network.
Solution
Follow the tutorial to create a new business network locally
restart your farbric tool by stopFabric.sh and startFabric.sh, (* this is not to start your business network but your fabric)
run your playground again composer-playground
probably you will also see the error again (error trying to ping), but no worry
find a button at top right corner which is folded My Business Networks
delete the card without connection or deploy a new network
This worked for me, hope it will work for you too. This kind of process design limitation, the card is still there even you delete your network or your are trying to start your playground even you did not start your network. This is why this error happened I think.
Addition, More about playground
Hyperledger Composer Playground (Playground from now on) uses your
browser's local storage to simulate the blockchain network's state
storage, which means you don't need to run a real validating peer
network to use Playground.
Using browser-only mode, you can model and test the business network
using a mock blockchain ledger that resides in your browser's local
storage.
How to delete cache in browser Chrome
This probably can solve many errors.
In Chrome, for example, under Settings > Advanced > Content Settings >
Cookies > All cookies and site data > localhost, click the trashcan
icon to remove local storage. If you're using a different browser,
follow the instructions specific to that browser, and delete all local
storage.
References
A very good IBM blockchain/ composer tutorial, just old, need to be pay attention to that some commands not working in the same way on new version of composer
I got the same issue here. I'm not sure what's wrong(maybe because I fail to create a business network last time). But since the playground store the data with browser local storage. I simply clear the local storage and fix it.
I had the same issue and it got fixed.
Clear the cache of your browser and refresh the page!
Noticed composer wasnt running in the terminal.
Runcomposer-playgroundin the terminal and retry.

KAA standalone Installation, unable to start Service on Digital Ocean VPS

I have followed all the steps as per the instructions. All the key services are running like zookeeper, mongodb. I have verified mutliple times.
However when it comes to start kaa-node, then service always fails with exit code.
I have verified several items including IP address etc on the Digital Ocean VPS. Validated the firewall setup.
That might be caused by lack of necessary resources like memory or disk space. Please check the minimal requirements on the Getting started documentation page.
If that is not an issue, please provide more details on the error and logs you get from the kaa-node startup.

VMware Server 2.0 - The VMware Infrastructure Web Service not responding

After installing VMware Server I get the following error when I try to access the VMware web-based server manager:
The VMware Infrastructure Web Service
at "http://localhost:8222/sdk" is not
responding
Go into the services manager and check that the 'VMware Host Agent' service is running. If not, then start it and then try browsing to the site again.
Vmware Hostd was not working for me either.
However, in trying to start the service it stopped automatically. Typically when this happens it is because there is an error in your config.xml.
C:\ProgramData\VMware\VMware Server\hostd\config.xml
In my case, checking the logs at:
C:\ProgramData\VMware\VMware Server
showed it erroring out after "Trying hostsvc".
Searching the config.xml for hostsvc showed references to several things, the first thing was the datastore. In checking my datastores.xml file:
C:\ProgramData\VMware\VMware Server\hostd\datastores.xml .
I found it full of all sorts of random characters instead of a properly formed XML document.
Renaming datastores.xml to datastorex.xml.bad allowed me to start the service. At which point I had to add back my datastores through the GUI.
Hopefully this will help someone else out. I did not find any other references in Google to this issue.
Try accessing via "http://localhost:8222" without the /sdk. You can also try the secure site via "https://localhost:8333".