-
Notifications
You must be signed in to change notification settings - Fork 821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sessions not working on Termux #647
Comments
Hey @baztian the pertinent error here is
The problem is the DNS lookup for Are you using dnsmasq or anything intercepting DNS requests? |
Thanks @mtibben. When I run telnet against that sts.amazonaws.com on that tablet computer I'm getting a different result as when running the command on my linux machine. On my tablet:
On my Linux machine:
For the latter it takes a pretty long time to time out. For the first I get back the error message immediately. Both machines are on the same wifi and subnet. I don't know if my Samsung Android tablet does any DNS request interception and didn't found something like that on google. I also tried with aws-vault v6.0.0-rc1. No luck. |
Sorry, I have to correct my previous comment: I was on VPN on the Linux machine. If I disconnect from VPN I get the exact same behaviour from telnet as from the tablet. So no difference here. |
Strange though that I get "Connection refused" with telnet on both machines. Using aws-vault I only get that error on the tablet. |
I did some more research and found out how to start a session without aws-vault using
I don't know what aws-vault does additionally or differently. But to me it seems that creating a session works. Just with aws-vault it doesn't. |
Hey @baztian it's the DNS lookup that's failing, it doesn't even get to the point of connecting to sts.amazonaws.com. Your command above indicates that |
OK so check out this, someone else has had the same issue https://github.com/klingtnet/golang-android-dns-problem |
Where did you get the aws-vault binary from? Did you compile yourself or did you download the release? |
Also this. Perhaps the problem is unique to Termux? https://stackoverflow.com/questions/38959067/dns-lookup-issue-when-running-my-go-app-in-termux |
Sorry @mtibben I haven't set up any arm cross compilation nor have I the disk space on my laptop to compile it. The binary you dropped seems to have some dependency to dynamic libraries. Would it be much work for you to provide me with a statically linked version?
BTW the version I'm using right now is the one I've got from the https://github.com/99designs/aws-vault/releases/ page. |
Regarding the stackoverflow link. My Tablet is not rooted. Therefor I can't create/change |
OK @baztian I've updated the above binary to be statically compiled, new sha256 is 9bac8c9715559c97162df43f949cc6cac14583e2b0113a3d6ccc0fad74316c7f. Let me know if that works for you |
Awesome @mtibben, it works! (now I'm facing the same issue with terraform. But that's not aws-vault's issue) Thank you! |
@mtibben just out of curiostiy: Will you provide an additional release or will that replace the normal linux-arm64 release? |
Yep it's in v6.1.0 |
I have installed aws-vault in https://termux.com/ on my android tablet. Unfortunately sessions are not working. If I run aws-vault with the
--no-session
parameter everything is working correctly.Running the exact same configuration as below works well on my linux laptop.
-> The latest stable version v5.4.4
.aws/config
(redacted if necessary)aws-vault --debug
(redacted if necessary)The text was updated successfully, but these errors were encountered: