apple icon indicating copy to clipboard operation
apple copied to clipboard

Mac client keeps contacting the server when new authorization is being issued

Open maxadamo opened this issue 2 years ago • 5 comments

I have been using the Linux client for more than 3 years, and I have never seen an issue. Since I use the client for Mac, I am experiencing a problem when the token has to be renewed, and the client keeps trying to contact the server as follows: image

Unfortunately, the logs do not seem to be very chatty, but you can see that there is 40 seconds timeout until I terminate the application, otherwise, it hangs in an endless operation:

App:
2023-01-20 12:11:49.809 Beginning connection flow for server 'https://prod-eduvpn01.geant.org/'
2023-01-20 12:11:49.810 App version: 3.0.5 (1784)
2023-01-20 12:11:49.810 Getting server info for server 'https://prod-eduvpn01.geant.org/'
2023-01-20 12:12:31.990 Error: Request explicitly cancelled.
["NSLocalizedDescription": "Request explicitly cancelled.", "NSUnderlyingError": Alamofire.AFError.explicitlyCancelled]
2023-01-20 12:12:31.990 Flushing app log to disk ...

maxadamo avatar Jan 20 '23 11:01 maxadamo

@maxadamo: The "Getting server info" step doesn't need any authorization tokens. The next step (getting the available profiles) needs authorization, but the log indicates the next step didn't start. (The "Request explicitly cancelled" is when you toggled the switch off, I presume.)

If the app is stuck at "getting server info" for 40 secs, it might mean there was a problem with the network. Do you think that might have been possible?

Are you able to connect now, or are you still facing this problem?

roop avatar Jan 30 '23 07:01 roop

Please reopen if you're still facing this problem.

roop avatar Feb 15 '23 06:02 roop

@roop I'm not re-opening for now (I also know that you have a new Go client in the works, and I can live with this glitches) but I don't think that I had a problem with the network. I hear also from other colleagues that from time to time they have to have this problem. with Mac. If I reset the app it starts working.

maxadamo avatar Feb 28 '23 17:02 maxadamo

@roop do you mind re-opening the ticket? I'm not allowed.
This issue is impacting several people in the organization, and it's not an issue with our eduVPN servers (I installed those servers myself) because it works properly my mobile, or from Linux. I also don't have a connectivity issue.

maxadamo avatar Apr 05 '23 07:04 maxadamo

I also experienced such a problem, and sometimes, it connected to the server successfully but cannot open any website. However, the network was accessible again after I closed the connection to EduVPN.

Jackie-wx avatar Apr 11 '23 13:04 Jackie-wx