clipto-pro / Desktop

A comprehensive solution for convenient and efficient work with notes, snippets, clipboard, files, and other information that requires quick access via any device.
195 stars 13 forks source link

can not sign in #81

Closed seanlvjie closed 2 years ago

seanlvjie commented 4 years ago

Mac OS

Can not sign in

1, open APP on mac , click sign in 2, the app open chrome and go to https://clipto.pro/#/__auth_e 3, using google account to finish sign in progress, and then URL redirected to https://clipto.pro/#/__auth_e with blank page 4, the App on MAC keeps waiting the result from Chrome, but no any feedback, so that login failed.

p.s https://clipto.pro/l/f91nrrark2saJahaA helper page can not be access, says Unavailable.

Android , Huawei 1, open app and click sign in 2, choose google, then it takes more than 1.5 mins to show the google account choose page, I click mine, then long wait for about 1mins , finally, app backs to main page without loggin, seems nothing happens.

atrashler commented 4 years ago

1) Could you write your location? 2) Could you also check if the app works or not on your Android mobile device?

seanlvjie commented 4 years ago

1,China 2,I've checked as I wrote

Android , Huawei 1, open app and click sign in 2, choose google, then it takes more than 1.5 mins to show the google account choose page, I click mine, then long wait for about 1mins , finally, app backs to main page without loggin, seems nothing happens.

atrashler commented 4 years ago

Got it! In China the cloud Firestore is blocked by the government (because it is a product of Google). To use the app synchronization logoc in your country it is possible via vpn only.

seanlvjie commented 4 years ago

I don't get the point.

I am using shadowsocks (you could see it as smart VPN), to access blocked resources, such as google, facebook. And I am using some other Apps which could use Google Accout as login credential, it's ok for me to access above resource.

atrashler commented 4 years ago

This is strange. The app should work in such a way. Could you please send me a link on the vpn app that you are using and some specific configuration of it if such need to be done so I can check it?

atrashler commented 4 years ago

The page https://clipto.pro/l/f91nrrark2saJahaA should also be available. By the way, could you please check if this page is available (it is the same as previous but uses long link):

https://clipto.pro/#/note?id=VTJGc2RHVmtYMThwYkVFZEc0UzM5TENpaHZmcnp3NFRsOGtRZ3kwNU5iK2Y0UDAwR2tRZVFJOFMwL3BqS0VmTjY3ZWwvTk4vTzNFQnhuWU5aUkd4N1ZxZlMwN3R6dmZmUVM0eHVENENwTWlwYnFwMVNOVjRPZUlDUzNzcG1JZVo%3D

seanlvjie commented 4 years ago

I've made a network analysis and fixed it, sure that it caused by network issue.

Solution:

Add the below domains as in the black list, so that shadowsocks would redirect access to predefined proxy server.

clipto.pro luxins.net (by the way, for what's purpose to access this domain?) googleapis.com cloudfunctions.net

=================

by the way, before I made the above changes, I can access web edition of clipto and login (via google account) successfully, but no luck for login to the MAC edition and Android edition, so It might prove that the ways of log-in process of them are different, and I guess something could be improved for the login process of non-web clients, as I told you other APPs (in my environment) can do this, although I can not remember the app's name exaclty. I will update when I recall them.

For VPN app, you may access https://github.com/shadowsocks/ShadowsocksX-NG. But in my env, I am using a variant of shadowsocks(SR) which integrated with my Wireless Router (Merlin firmware). Actually, SR have lots of variants, such as for Win, Debian , Merlin Router , MAC OS, Android, and so on. All of them are using same protocal, and all of them based on a set of lists (such as https://github.com/hq450/fancyss/blob/master/rules/gfwlist.conf https://github.com/hq450/fancyss/blob/master/rules/chnroute.txt https://github.com/hq450/fancyss/blob/master/rules/cdn.txt) The set of lists is used by SR to decide which access is direct access, and which access should be via proxy server.

atrashler commented 4 years ago

1) http://luxins.net/ - do not know what is it. Will check, seems like not the part of the app 2) Desktop and Web should use the same logic to sign in 3) Could you check if you can or not sign in on your mobile device in web version or by using Android version but using the long click on “Sign In” button (it will force to web auth flow to sign in) 4) Will check the above link of vpn client and let you know.

Thanks!

On Sun, 30 Aug 2020 at 14:41, seanlvjie notifications@github.com wrote:

I've made a network analysis and fixed it, sure that it caused by network issue.

Solution:

Add the below domains as in the black list, so that shadowsocks would redirect access to predefined proxy server.

clipto.pro

luxins.net (by the way, for what's purpose to access this domain?)

googleapis.com

cloudfunctions.net

=================

by the way, before I made the above changes, I can access web edition of clipto and login (via google account) successfully, but no luck for login to the MAC edition and Android edition, so It might prove that the ways of log-in process of them are different, and I guess something could be improved for the login process of non-web clients, as I told you other APPs (in my environment) can do this, although I can not remember the app's name exaclty. I will update when I recall them.

For VPN app, you may access https://github.com/shadowsocks/ShadowsocksX-NG. But in my env, I am using a variant of shadowsocks(SR) which integrated with my Wireless Router (Merlin firmware). Actually, SR have lots of variants, such as for Win, Debian , Merlin Router , MAC OS, Android, and so on. All of them are using same protocal, and all of them based on a set of lists (such as https://github.com/hq450/fancyss/blob/master/rules/gfwlist.conf

https://github.com/hq450/fancyss/blob/master/rules/chnroute.txt

https://github.com/hq450/fancyss/blob/master/rules/cdn.txt)

The set of lists is used by SR to decide which access is direct access, and which access should be via proxy server.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/clipto-pro/Desktop/issues/81#issuecomment-683410212, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE5B3W5DFFBGOBM3F6EZ62LSDI3FXANCNFSM4QOOP7FQ .