-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to Sign in to Google Account from Eclipse Oxygen #2148
Comments
Can you clarify if what you see is the literal string "RANDOM_PORT"? If so, that's certainly a bug. (However, it is correct that it should be some random localhost port.) |
It is some random localhost port like 60456, 54329 and so on
|
I see. At least it is correct that it redirects to a random localhost port. When the login browser launches, our CT4E plugin also listens from the port locally to receive the |
The fact that you see actual random port numbers very likely suggests that the local web server is up and running (in-process, and not as a separate process). I suspect your browser is blocked from accessing "http://localhost", perhaps due to your proxy settings. Can you update your browser proxy settings so that localhost addresses bypass the proxy? |
I doubt about proxy, my node JS apps run smoothly on different port, web
server works fine
Any other thought?
|
Are you behind a firewall or anti-virus? Could you check your |
First, let's check if the local web server is listening, and then try to connect to the local web server from other clients than browsers, such as Let Eclipse be the only Java process.
Then, click on the login button in Eclipse. When the "Sign in to Google" dialog pops up, check which port is open. There will be one Java process:
So, you now know there is a Java process listening on port
If it returns 404, then at least we know the server is running and it's the browser problem.
|
I sometimes see Eclipse listen on some port on its own, so I recommend you check |
Also, hitting
(BTW, delete the unnecessary file that |
Netstat stuff did the trick,
Here are the steps that help to resolve the issue (Steps for Mac):-
1. Click on "sign in to google"
2. Run below command on terminal
sudo lsof -i -n -P | grep TCP
3. Check the IP and port with program name eclipse
4. When the callback url returned on browser, simply replace `localhost` with the IP address noted in step 3 and press Enter
5. We are good.
*What is the root cause* :
Google sign-in process run a local web server on 192.168.*.*:45678 in place of (127.0.0.1/localhost):45678 .
Thank you for pointing towards right direction
*Best Regards*
Sanjeev Choudhary
http://one.enovate-it.com/ <http://www.enovate-it.com/>
*Disclaimer*: This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify the
system manager. This message contains confidential information and is
intended only for the individual named. If you are not the named addressee
you should not disseminate, distribute or copy this e-mail. Please notify
the sender immediately by e-mail if you have received this e-mail by
mistake and delete this e-mail from your system.Our company accepts no
liability for the content of this email, or for the consequences of any
actions taken on the basis of the information provided, unless that
information is subsequently confirmed in writing. If you are not the
intended recipient you are notified that disclosing, copying, distributing
or taking any action in reliance on the contents of this information is
strictly prohibited.
|
Seems like this can happen when there are multiple localhost interfaces. We need to let Jetty return the actual host here: |
Eclipse Oxygen : 4.7
Issue : Sign in to Google is not working.
I am new to Google Cloud tools and facing problem at very first step where I need to sign in to Google account.
When I hit "Sign in to Google" It opened the login process in external browser(Chrome), After login and giving permission, It redirects to localhost:RANDOM_PORT/Callback?code=xxxxxx
This URL doesn't exist and showing "This site can’t be reached", standard google chrome page ,
In eclipse, Showing processing dialog window with Cancel option.
Not sure why callback redirection is to a Random localhost port ?
Additional information:
I tried with Safari and result is same.
The text was updated successfully, but these errors were encountered: