Beebeeoii / lominus

NUS Canvas file sync
MIT License
60 stars 7 forks source link

Luminus Sync Error #86

Closed BambooOnFire closed 1 year ago

BambooOnFire commented 2 years ago

Canvas sync works but Luminus sync always produces the message "Verification failed. Please check your credentials."

[2022-09-13 10:09:58] ERROR - EOF (/Users/jiawei/Documents/projects/lominus/internal/cron/cron.go:github.com/beebeeoii/lominus/internal/cron.createJob.func1:127) [2022-09-13 10:10:02] DEBUG - verifying credentials (/Users/jiawei/Documents/projects/lominus/internal/ui/credentials.go:github.com/beebeeoii/lominus/internal/ui.getLuminusView.func1:107) [2022-09-13 10:10:02] DEBUG - verfication failed (/Users/jiawei/Documents/projects/lominus/internal/ui/credentials.go:github.com/beebeeoii/lominus/internal/ui.getLuminusView.func1:111)

Beebeeoii commented 2 years ago

hi, thanks for reporting this. I assume you are able to login normally via a browser. may I check if this error only occurred recently, or has it always been an issue since day 1? also, may I know what OS are you currently on?

thanks in advance !

BambooOnFire commented 2 years ago

This error has only occurred recently (been about 2~3 days) and yes I can log in via browser.

I am using macOS Big Sur 11.6.2

Beebeeoii commented 2 years ago

Hi, that's interesting... I suspect that it has something to do with SSL certificates as I have encountered this before on macOS as well (see FAQ Question 1)

could you navigate to Keychain Access, then find "Entrust Root Certification Authority - G2" under "System Roots". Double click on that and you should see this.

image

The certificate is used by Luminus and should be trusted. If it is already set to "Always trust" or "Use system defaults", try and set it to "Never trust" before toggling it back and see if that resolves the issue.

BambooOnFire commented 2 years ago

It sadly did not work...

Beebeeoii commented 2 years ago

what version of openssl do you have currently? you can check via openssl version from your terminal

BambooOnFire commented 2 years ago

The terminal says OpenSSL 3.0.1 14 Dec 2021 (Library: OpenSSL 3.0.1 14 Dec 2021)

Beebeeoii commented 2 years ago

ah i see... i am not sure if it would resolve this issue if you were to update it to the latest version (3.0.5). if you are free, could you try updating? not sure about your setup but if you have homebrew installed, i think you can just do brew update openssl to update.

BambooOnFire commented 2 years ago

I just updated my OpenSSL version to OpenSSL 3.0.5 5 Jul 2022 (Library: OpenSSL 3.0.5 5 Jul 2022) But... the issue persists. :(

Beebeeoii commented 2 years ago

oh man :( my guts is telling me it might be because of the recent issues luminus has wrt its authentication service. even on browsers, sometimes i have to relogin multiple times before i can even access my dashboard... not sure if this is actually the root cause as i dont seem to be encountering this issue on Lominus :cry: will need some time to try and figure this out.

in the meantime could you keep this thread updated if it starts working again? thanks so much for reporting this !

Beebeeoii commented 1 year ago

does this issue still persists with Canvas?

BambooOnFire commented 1 year ago

I just saw the newest release. The assets are not fully available on the user-end so I'll wait a bit till the intel Mac DMG pops up and let you know.

Beebeeoii commented 1 year ago

thanks ! it should be up now !

BambooOnFire commented 1 year ago

Works like a charm :). Thanks for your hard work.

Beebeeoii commented 1 year ago

will be marking this issue as resolved !