Google login in eclipse causes error of "Cookies are off.Please Turn on" - eclipse

I am building App Engine applications in Eclipse (Juno). When I tried to signin to Google in Eclipse, I am getting the message "Your cookies are turned off. Make it on". How do I enable cookies in Eclipse? My system default browser supports cookies no problem with Google signin. Please help me so that I can upload my application to Google's server.
Thanks in Advance,
Sasi Krishna

user2292916 is correct that Eclipse uses Internet Explorer's cookie settings for Windows users, but note that you can keep your current privacy settings by just allowing Google to store cookies.
Start Internet Explorer
Open Internet Options
Open the Privacy tab and select Sites
Add "google.com"
Restart Eclipse
You should now be able to deploy your application.

You did not receive an answer yet. But you can use a bat file to deploy an application:
appcfg.py --no_cookies --email=john.doe#gmail.com --passin update C:\Eclipse\workspace\yourappid < "C:\john_doe_his_password.txt"

For me turning on cookies in Internet Explorer helped.
My default browser is Chrome, and I had cookies turned on, but I could not manage to login until I turned them on for IE.

If you are running Eclipse on Windows, for some unknown reason to me, Eclipse uses Internet Options settings. So to fix the problem,
go to Control Panel -> Internet Options
go to Privacy tab page
set the security level to the lowest possible ("Accept All Cookies").
(Note: donat3llo mentioned the same solution in above)

Related

Uninstalling PWA for development testing (windows)

I installed my PWA on windows through developer's console, and now can't uninstall it to test installing it. I've tried removing service worker from chrome, but it will just get reregistered after I open the PWA through windows (if server is on). When I right click on it and choose uninstall it takes me to windows app and features there's no entry for it, meanwhile the actual shortcut for it surely just leads to chrome with app ID in URL. Trying to install the PWA after everything I've tried will not give me the prompt again to add it to homescreen.
url: makpal.now.sh
screen:
The PWA apps reside in apps menu chrome://apps/ of chrome, and quite possibly exclusively under a different tab (a grayish second bar at the bottom of window), which is where you'd get the option to delete them that works.
EASY STEPS to Remove (uninstall) PWA App on Desktop:
1) Open Chrome Browser
2) Click > Apps button
3) Right click > App you want to remove
4) Select > Remove from Chrome... > Remove.
5) App gone. :)
On Mobile: drag to trashcan.
If you installed PWA using chrome then paste below in chrome URL bar and hit enter:
chrome://apps
Right click on desired app and click remove from chrome
Found the list of PWAs here.
C:\Users\{username}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Chrome-Apps
You can delete them from there.
If you have installed to Windows OS using developer console, I assume you have done it using the Chrome menu -> "Install to desktop" (if it comes as "add to desktop, it means your site is not meeting minimum PWA cirteria).
If you have installed in any other way, please be specific on what option you have used. It also contradicts at the end of your question, where you were complaining on "Install prompt" is not coming again for "add to home screen". From all I know, install prompt is not supported in Chrome for Windows yet(I know it works in Chrome for Android).
On your other question on service worker getting re-registered every time you visit, that's how they are supposed to work. They will get registered even if you visit a PWA site(adding to home screen is not needed, it will still register service worker and you get all caching benefits)
You can test all these PWA behaviors for this PWA compliant site -> https://pwa.rocks/
If you need more clarity, please rephrase your question to what exactly is happening and what use case is failing, along with supporting code. A link your your site will be best to debug for the community, if that's publicly available.
The Most useful answer I found: (for chrome)
Open Chrome and go to apps
Right click the PWA you want to remove
Click on "Remove from Chrome..."
I faced the same issue when I was built my first PWA and then when I Open anything else with live server it directed me to my PWA site.
You can also go to you windows control panel \ programs then uninstall from there. ( Referring to the PWA that you installed, not uninstalling the browser )

facebook and gmail not open login page in safari in simulator

I have integrated facebook and gmail in my app but when i redirect user to safari for login i am not able to open facebook or google page for loginin safari in simulator. it gives me error like "safari can not open the page because it can not establish secure connection to the server."
Any one knows what is solution to resolve this issue?
Thanks in advance.
Below are common issues in such cases
Disable 'Auto Proxy discovery' in proxy settings of your Mac
You are behind a proxy
You are using a Antivirus which has WebShield of similar feature enabled. Disable the antivirus and try again
Your simulator's date & time are not sync to current date. Certificates don't validate fine when system date is skewed
Rebooting the simulator also at times help
Below are the threads you should look into
Can't visit website on iOS Simulator—'This Connection Is Not Private'
iOS simulator can't access any URL and shows the error "This connection is not private"
iOS Simulator not works on https, all https are evaluated as not trusted
Can't use HTTP in iOS 8 simulator
iPhone simulator cannot connect to internet
I fixed this by disabling Avast Web Shield.
I have Avast Antivirus installed and adding facebook url to the configuration of the internet scanning service allowed me to fix this problem.

NetBeans can’t be opened because the identity of the developer cannot be confirmed

I was trying to install Netbeans on my Mac but it gives me this error:
NetBeans 8.0.1 with JDK 8 Update 20.mpkg" can’t be opened because the identity of the developer cannot be confirmed.
Any idea on how to solve this problem?
You can override your OS security settings in your system preferences to open it.
https://netbeans.org/projects/www/lists/netcat/archive/2014-09/message/23
System Preferences > Security & Privacy > General
You will see a message:
"NetBeans 8.0.1.mpkg" was blocked from opening because the identity of the developer cannot be confirmed.
You have to click the lock icon at the bottom of your preferences window, in order to make changes.
Then select the "Anywhere" radio button for the "Allow apps downloaded from:" option.
Then you'll be able to open the NetBeans installer. Then, after installing, go back and change your preference back to the default.
This is currently an open bug.
To work around the bug, change your security settings to "Allow apps downloaded from anywhere", and run the installer. Once installation is complete, you can revert your security settings and run NBIDE normally.

Can't download a GWT Plug In For IE

I am not able to install the GWT Developer plugin for Internet Explorer.
After getting the yellow patch saying:
Development Mode requires the Google Web Toolkit Developer Plugin
I click on Download plugin. Instead of redirecting to a download site it shows:
Internet Explorer cannot display the webpage
What might be the probable cause?
Actually the page is not redirecting to :
"https://dl-ssl.google.com/tag/s/appguid%3D%7B9a5e649a-ec63-4c7d-99bf-75adb345e7e5%7D%26lang%3Den%26appname%3DGWT%2520Developer%2520Plugin%2520for%2520IE%2520%2528x86%2529%26needsadmin%3Dfalse/gwt/plugins/ie/GwtDevPluginSetup.exe"
Is there any alternate way to install that plugin?
Please help!!
I faced the same problem and i think that there is no development mode for IE8. it didn't work when i tried to run it in IE. So i advice you to use Chrome it is the best browser supports GWT dev mode. Why do you need IE anyway ?
read this article about IE http://googlewebtoolkit.blogspot.com/2010/12/support-for-gwt-dev-mode-in-ie-9.html
Even I had the same issue in installing the plugin for IE, what i did was just copy and pasted the missing plugin url in address bar and hit the enter button. And installed it, so finally it worked. The issue was, the browser was unable to redirect to the plugins update site, after clicking on download link.
Hope this might fix your problem.

Eclipse: Choosing Run on Server doesn't launch Firefox, it launches Eclipse's internal browser

I am new to Eclipse and I have created a small web app and it works but when I do Run on Server (Tomcat) from Eclipse it launches the website in its own internal web browser.
I wondered if it was possible to have it launch Firefox for example?
Do I need to download Aptana?
I would just enter the URL in your preferred browser, and bookmark it. As simple as that. You'll have to do it with different browsers anyway if you want to test the app on multiple browsers.
You can also choose which browser is used by going to Window - Preferences - General - Web Browser.
yes if u want your application to get started on firefox ..Go to window tab at the top of your eclipse IDE from there preferences and the go to general from there select browsers
check radio button of use external web browser and select the browser u want firefox or IE..