SSH button in Google Compute Engine - ssh

Clicking on the SSH button in Google Compute Engine immediately closes the window after opening the window for a moment.
Having the issue in Latest Chrome and Edge on Windows 10.
Any help, please..
Thank you.

I'm not able to reproduce your issue, Have you tried to reproduce using Incognito window?
If you still observe issues, try capturing HAR while SSHing into instance and upload the HAR to check browser interaction with the GCP site. Instructions on how to capture HAR is documented here

Related

Google Colab local runtime connect button disabled

I want to connect Google Colab to a local runtime. I have done all the instructions and started my jupyter server.
However, when I pasted the URL to the text bar, the CONNECT button remained disabled. Does anyone know why?
Screenshot of the button

Lighthouse: Unable to run generate report on localhost

As the title says I'm trying to generate a report for my nuxt app served locally.
If I generate the report via DevTools it takes an extremely long time and gives me exceptionally bad scoring(compared to generating the report on the same site deployed).
If I try using the lighthouse extension the "Generate report" button is disabled.
Am I going about this wrong or is there any way to locally generate valid reports?
Thanks in advance.
Images:
chrome extension
devtools
Is your application PWA? Service workers are causing this. Try unchecking clear storage / clear cache option to the right of the window under the lighthouse tab, sometimes collapsed under a settings icon. If it's still not generating a report, do the same in an incognito window.
The issue:
The option:
And it works:
I think it's because you're not trying lighthouse in incognito mode. Browser extensions can cause that problem.
Click on the three dots under close button
Select New Incognito Window
Enter your website address
Run lighthouse

Kaggle API Token Not Downloading

I am unable to download "Kaggle.JSON" to use the Kaggle API. I have not come across anyone else online with this problem. I have tried on Chrome, Firefox, Opera and Safari browsers and on Windows as well as Mac OS. Every time I click on "Create new API token," no downloads are triggered. Is there an alternate way to get this file? I receive the "Ensure kaggle.json is in the location ~/.kaggle/kaggle.json to use the API." message but nothing is downloaded. I do not receive a prompt to save as and the file is not saved in any location. Is there any advice as to why this is not working?
Kaggle API option in Account
Disable the pop-up blocker. Or try another browser

WebRTC Screen Sharing - Few windows go blank intermittently

I implemented the ShareScreen of Web RTC.
But when "Choose Share Screen" popup opens,few of the windows keep flickering and show blank content (black screen) most of the time. On selecting one of those windows and doing screen share, the peer also gets the same flickering.
Please help. I have attached the image link which shows the problem https://webrtc.googlecode.com/issues/attachment?aid=43840000000&name=Screenshot.png&token=ABZ6GAdcyh_dpvmXdbR02t3LX72wbfE4Qg%3A1425623918522&inline=1
Regards
Raghav
Please check your signalling server. This error occurs only when something wrong in your signalling server. Similar kind of error occured to me. I used nodeJS. Sometimes handshakes may be established, but data have to be transferred for sharing.
For instance check whether the request and response is prompt.
This is a known issue in Chrome on Windows:
https://bugs.chromium.org/p/chromium/issues/detail?id=613987
Try to migrate to FF or to Linux...

Getting black images with selenium.captureScreenshot

I'm executing selenium tests with testng, that are started on a remote system with Selenium RC via hudson (with ssh connection). The remote system is windows xp with MKS Toolkit installed, hence ssh. Tests are NOT executed as a windows service.
I've tried using both captureScreenshot and captureEntirePageScreenshot methods. The first one always produces a black image. The second one creates the correct screen shot but it only works on Firefox and our tests usually pass on Firefox and fail in other browsers, so it is crucial to capture screen shots for the other browsers (mainly IE and Safari). The tests are ran in parallel, with many browser windows open at the same time. I'm not certain if this is what's causing the problem. Any thoughts will be appreciated.
Unfortunately screenshots in Selenium have been problematic from the start in browsers that are not Firefox. This is something that we Selenium Developers have been working on for a while to correct.
The latest work has been updating Snapsie to work in IE. There is a blog post at http://blog.codecentric.de/en/2010/02/remote-screenshots-mit-selenium-und-dem-robot-framework/ that explains what has happened.
I have noticed that if the screen isn't active, i.e. the screensaver has kicked in, it can produce black screenshots.
Edit:
I just had a thought. You can always run Castro to video record your tests and then watch it play back. This is something SauceLabs use to run Selenium in the cloud.
Write a method for this and call that whereever you need to take the screenshot. Use the java.awt package which has been used in selenium. For example, check this site
After setting Windows Auto-Logon, and launching process not as Windows Service, I found how to solve the Remote Desktop with Black Screenshots problem of IEDriverServer.exe, by creating a batch file that disconnects RDP, instead of closing the RDP session with the regular X button:
%windir%\system32\tscon.exe %SESSIONNAME% /dest:console
See more details here:
https://stackoverflow.com/a/24529629/658497
(Although, I would prefer there was a way to run it as the default action, when terminating RDP session with X Windows button).