Skip to content
Back

Not able to login to CLI using ip address

  • 0
  • Tools
Vedsaga
22 Mar, 2023, 12:24

I can access the console using the IP address but for some reason can not access it through the CLI . Getting this error, >> Invalid endpoint or your Appwrite server is not running as expected.

TL;DR
The user is unable to login to the CLI using the IP address and is getting an "Invalid endpoint or your Appwrite server is not running as expected" error. They have tried resetting the endpoint and redeploying AWS but are still facing the issue. Another user suggests using the "appwrite client --selfSigned true" command and then trying to login. The user tries this but receives an error saying "appwrite not found." The second user suggests adding the flag to the login action and provides a reference link for further information. The user tries again but still encounters the same error. The thread ends with the second user asking for the
joeyouss
22 Mar, 2023, 12:24

Hey

joeyouss
22 Mar, 2023, 12:24

What command are you using ?

Vedsaga
22 Mar, 2023, 12:33

hi, I am using appwrite login

Vedsaga
22 Mar, 2023, 12:34

I just ressetted the endpoint... I redploy the AWS and, trying to access the Appwrite using 123.456.789.012.com

Binyamin
22 Mar, 2023, 12:44

What is the .com you've added?

Vedsaga
22 Mar, 2023, 12:56

so sorry

Vedsaga
22 Mar, 2023, 12:56

my bad šŸ˜ž

Vedsaga
22 Mar, 2023, 12:58
TypeScript
>> Invalid endpoint or your Appwrite server is not running as expected.```
Vedsaga
22 Mar, 2023, 12:58

but till getting the same error

Binyamin
22 Mar, 2023, 12:59

Try to run it like this

TypeScript
appwrite client --selfSigned true
Binyamin
22 Mar, 2023, 12:59

And then try to login

Vedsaga
22 Mar, 2023, 13:00

mm, let me try thanks

Vedsaga
22 Mar, 2023, 13:01

getting error on server saying appwrite not found

Vedsaga
22 Mar, 2023, 13:02

I guess I need to install the CLI on linux server too?

Binyamin
22 Mar, 2023, 13:02

Sorry. Add the flag to the login action

Vedsaga
22 Mar, 2023, 13:02

oh oh

Vedsaga
22 Mar, 2023, 13:03

may be I guess getting wrong , can you give one refence if possible

Binyamin
22 Mar, 2023, 13:04

Sure

Binyamin
22 Mar, 2023, 13:04

Look in the Self-Signed Certificates

Vedsaga
22 Mar, 2023, 13:05

ah got it, let me try

Vedsaga
22 Mar, 2023, 13:06

still same error 😦

Binyamin
22 Mar, 2023, 13:11

What you got when you ran this?

Vedsaga
22 Mar, 2023, 13:12
TypeScript
āœ“ Success```
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more