CoastSat icon indicating copy to clipboard operation
CoastSat copied to clipboard

Error in authenticate

Open JohanCamilo15 opened this issue 2 years ago • 9 comments

Hello Kvos

It is possible solution in error: The version of the app you're using doesn't include the latest security features to keep you protected. Please make sure to download from a trusted source and update to the latest, most secure version?

Thanks.

JohanCamilo15 avatar Aug 25 '22 13:08 JohanCamilo15

Same here - also installed the cloud cli - no difference. Have also updated the api to no effect.

IAINATTWATER avatar Aug 25 '22 13:08 IAINATTWATER

Same here - also installed the cloud cli - no difference. Have also updated the api to no effect.

Exactly. Now is not possible open the CoastSat.

JohanCamilo15 avatar Aug 25 '22 13:08 JohanCamilo15

Mine was for authenticating the earth engine in order to use the python api - is that a different issue?

IAINATTWATER avatar Aug 25 '22 13:08 IAINATTWATER

Mine was for authenticating the earth engine in order to use the python api - is that a different issue?

Is the same problem. Does it work for you?

JohanCamilo15 avatar Aug 25 '22 13:08 JohanCamilo15

negative - sorry. Kinda fundamental. Hopefully someone can chime in with a solution. It looks like others have had issues in the recent past that have been resolved; I've tried all of those to no avail. If I get a solution I'll post back here.

IAINATTWATER avatar Aug 25 '22 15:08 IAINATTWATER

here's my fix. Installed version 0.1.317 of ee. Launch a python console -> import ee -> ee.version and see what version is actually installed. Mine reported 0.1.186 despite already doing an update. I use conda so installed using conda install earthengine-api==0.1.317 and all is good. Note that I had already installed and configured gcloud. Hope it helps you.

IAINATTWATER avatar Aug 25 '22 16:08 IAINATTWATER

SR. IAINATTWATER The problem is not possible find a solution. It possible meet your solution step for step in a document o video.

Thanks

JohanCamilo15 avatar Aug 26 '22 12:08 JohanCamilo15

Hi

Assuming you have conda package manager installed (if not then other PM will do), create a new python environment with

conda create --name myenv

Where myenv is what you want to call the new environment. Then activate (make sure you do this) the newly created env with

conda activate myenv

Again if you used a different name than myenv then use that different name here.

Then install the latest version on the engine with

conda install earthengine-api==0.1.317

Then follow the instructions to install gcloud:

https://cloud.google.com/sdk/docs/install-sdk

You should then be able to authenticate - the browser will open after you enter the authenticate command and should not give you the 400 error like yesterday.

Hope this helps.

Cheers ,

IAINATTWATER avatar Aug 26 '22 18:08 IAINATTWATER

The instructions did not work for me. Can we do a meeting or a video? Thanks Johan Casadiego

El vie, 26 ago 2022 a la(s) 14:12, Iain Attwater @.***) escribió:

Hi

Assuming you have conda package manager installed (if not then other PM will do), create a new python environment with

conda create --name myenv

Where myenv is what you want to call the new environment. Then activate (make sure you do this) the newly created env with

conda activate myenv

Again if you used a different name than myenv then use that different name here.

Then install the latest version on the engine with

conda install earthengine-api==0.1.317

Then follow the instructions to install gcloud:

https://cloud.google.com/sdk/docs/install-sdk http://url

You should then be able to authenticate - the browser will open after you enter the authenticate command and should not give you the 400 error like yesterday.

Hope this helps.

Cheers ,

— Reply to this email directly, view it on GitHub https://github.com/kvos/CoastSat/issues/317#issuecomment-1228782446, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2XGEDOIIGL3O7YAAFEN5NTV3ECJHANCNFSM57TAVTOQ . You are receiving this because you authored the thread.Message ID: @.***>

JohanCamilo15 avatar Aug 29 '22 12:08 JohanCamilo15