[COMPASS-7365] Login to atlas does not work Created: 20/Oct/23  Updated: 29/Nov/23  Resolved: 29/Nov/23

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: 1.40.4
Fix Version/s: No version

Type: Bug Priority: Major - P3
Reporter: Klaus Kobald Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS: MacOS 13.1


Attachments: PNG File PastedGraphic-1.png     PNG File PastedGraphic-2.png     Text File compass_654926c4cee7c70148e84239_log.txt    
Documentation Changes: Not Needed
Sprint: Up for triaging

 Description   

Problem Statement/Rationale

I click the "AI Generate Query" button:

Sign in failed

listen EADDRNOTAVAIL: address not available fe80::1:27097

 

Where did I put my login anyway? There is no account button anywhere.

 

 



 Comments   
Comment by Klaus Kobald [ 15/Nov/23 ]

Hi,

yes. That was the problem.
I think this entry was there since years for some reason.

Seems to work now!
Thanks

>

Comment by Anna Henningsen [ 15/Nov/23 ]

klaus@kobald.com Is it possible that your /etc/hosts file contains an entry that maps localhost to fe80::1, in addition to ::1 and 127.0.0.1? If yes, do you happen to know how that was added to that file (I don't think it's standard on macOS to include that there)?

Comment by Klaus Kobald [ 06/Nov/23 ]

Here is the log.
I did not manage to attach it in the issue tracker.

>

Comment by Le Roux Bodenstein [ 06/Nov/23 ]

Is it possible that you can attach some log files? https://www.mongodb.com/docs/compass/current/troubleshooting/logs/

Comment by Le Roux Bodenstein [ 06/Nov/23 ]

Hi klaus@kobald.com

Do you have any local firewall that might be blocking access to the port?

Comment by Klaus Kobald [ 24/Oct/23 ]

hi,
I checked.
Does not look like there is a service on that port.

(base) klausk@MacBookM1Klaus ~ % telnet localhost 27097
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying fe80::1...
telnet: connect to address fe80::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host

just to make sure we are talking of the same thing - I clicked

...

best,
Klaus

>

Comment by Rhys Howell [ 24/Oct/23 ]

Hi klaus@kobald.com - we currently use the port `27097` as our default for our authentication redirect. Do you have something already running on that port? If so can you try turning it off and then see if the login works?

It's something I'm thinking we should work around on our end; we should check to see if that port has something running on it before we start listening there. I'm going to update the ticket title to reflect that. Thanks for opening the issue!

Comment by PM Bot [ 20/Oct/23 ]

Hello klaus@kobald.com, thank you for reaching out to us! The team will review your issue and get back to you soon as soon as possible.

Please review your issue to ensure you've included your environment details and have attached relevant logs (with any sensitive data redacted), so that we're best able to provide you a timely and thorough response. Thanks again!

Generated at Wed Feb 07 22:46:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.