flyctl icon indicating copy to clipboard operation
flyctl copied to clipboard

Unable to login on termux (Android)

Open psnehanshu opened this issue 3 years ago • 7 comments

Describe the bug I am unable to login in termux on a Android phone

Screenshot_20221023-110207_Termux

WARN failed querying for new release: Get "https://api.fly.io/app/flyctl_releases/linux/arm64/latest": dial tcp: lookup api.fly.io on [::1]:53: read udp [::1]:51735->[::1]:53: read: connection refused
Error Post "https://api.fly.io/api/v1/cli_sessions": dial tcp: lookup api.fly.io on [::1]:53: read udp [::1]:51735->[::1]:53: read: connection refused

I tried hitting one of the endpoints directly, and it does work.

Screenshot_20221023-110808_Termux

  • Operating system: Android 12
  • fly version: flyctl v0.0.417 linux/arm64 Commit: 3750068b BuildDate: 2022-10-21T22:52:18Z

psnehanshu avatar Oct 23 '22 05:10 psnehanshu

I think this is because there is no DNS server specified so it's looking for a dns server on localhost. I'm facing this issue too

samarth261 avatar Nov 22 '22 18:11 samarth261

@samarth261 Check the second screenshot, I am able to hit the server using CURL. The problem is with the flyctl.

psnehanshu avatar Nov 23 '22 08:11 psnehanshu

Hey @pSnehanshu, do you still need this?

redjonzaci avatar Sep 05 '23 06:09 redjonzaci

I don't need it at the moment, but I think it will be nice to be able to manage apps through mobile.

psnehanshu avatar Sep 05 '23 11:09 psnehanshu

Thanks for the response! I don't work for Fly.io and I am not sure what the actual issue with that was, but I think this might get more attention / priority once there are more people asking for it.

redjonzaci avatar Sep 05 '23 13:09 redjonzaci

Hey I was getting the same issue, but was able to build it on my termux and its working now

If you want I can share the binaries.

you can also do it yourself.


Install golang

pkg install golang

Clone the repo and change into directory

git clone https://github.com/superfly/flyctl.git && cd flyctl

Build

go build -o fly

A binary named fly will be created

darkcheftar avatar Sep 16 '23 05:09 darkcheftar

Hey I was getting the same issue, but was able to build it on my termux and its working now

If you want I can share the binaries.

you can also do it yourself.

Install golang

pkg install golang

Clone the repo and change into directory

git clone https://github.com/superfly/flyctl.git && cd flyctl

Build

go build -o fly

A binary named fly will be created

Thank you,im using it now

moomcakesleep avatar Jul 04 '24 22:07 moomcakesleep