Closed mizzunet closed 2 months ago
Please reply with the response of http://127.0.0.1:8081/api/v1/workspace/profile
.
As you are using 127.0.0.1 as the host, did you run Memos on the local Android device (such as via Termux)? If not, you need to use the actual server address.
Please reply with the response of http://127.0.0.1:8081/api/v1/workspace/profile.
Still INVALID_SERVER. No log in the console though
As you are using 127.0.0.1 as the host, did you run Memos on the local Android device (such as via Termux)?
Yes, I forgot to mention that. Running on Termux with root
Can you visit http://127.0.0.1:8081/api/v1/workspace/profile with your browser on the Android device and reply with the content?
{
"code": 14,
"message": "name resolver error: produced zero addresses",
"details": []
}
Issue is not in English. It has been translated automatically.
{ "code": 14, "message": "name resolver error: produced zero addresses", "details": [] }
{ "code": 14, "message": "name resolver error: produced zero addresses", "details": [] }
This error is happened in https://github.com/grpc/grpc-go/blob/v1.64.0/pickfirst.go#L92. It seems the grpc gateway in Memos can't connect to the internal grpc server.
Do you have any specific command or environment variables to run Memos? I followed the guide on https://github.com/memospot/memos-builds?tab=readme-ov-file#running-on-android and didn't find any issues.
Do you have any specific command or environment variables to run Memos?
Right. I've root and I'm running as root. Could that be why it fails?
I'm facing the same issue even on a remote server. It used to work fine, till I had to restore my memos server from a backup.
Update - My issue is resolved. I had to restore the memos server again from a backup and was able to login through the apps normally.
I suppose it's because I'm running with root
Log in console
MoeMemos: 0.8.0 memos: 0.22.1