Skip to content
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

Authorization problem #1897

Closed
brechtcs opened this issue Oct 12, 2018 · 6 comments
Closed

Authorization problem #1897

brechtcs opened this issue Oct 12, 2018 · 6 comments

Comments

@brechtcs
Copy link

I'm trying to use hub in Termux on my Android device (32bit), but when trying to authenticate the first time I get the following error :

Post https://api.github.com/authorizations: dial tcp: lookup api.github.com on [::1]:53: read udp [::1]:56040->[::1]:53: read: connection refused

I have no idea what's going on here, so hard to say whether it's a bug or a user error.

@mislav
Copy link
Owner

mislav commented Oct 12, 2018

lookup api.github.com ... connection refused suggests that this is a network error. It's likely not something that we can solve from hub, sorry!

@brechtcs
Copy link
Author

Strange, because curl https://api.github.com works as expected, and I haven't noticed any problems with other applications. Just wondering what hub is trying to do here that has special demands of the network. I tried this with different settings for hub.protocol and the behaviour is the same.

@mislav
Copy link
Owner

mislav commented Oct 13, 2018

@brechtcs Then it might be something about how the Go application is compiled for your Android device. How are you installing hub? Can you compile a small Go program that does an HTTP request to https://api.github.com and see if it works?

@brechtcs
Copy link
Author

@mislav I didn't compile it myself. Just using the precompiled version 2.5.1 for Linux ARM 32-bit from the releases page.

Maybe it's a problem in some networking dependency upstream?

@mislav
Copy link
Owner

mislav commented Oct 17, 2018

@brechtcs Not sure! But I don't know if there's anything we can do from our side (i.e. from this project's code).

@mislav
Copy link
Owner

mislav commented Oct 30, 2018

Closing as I don't think there's anything that we can do here (or, please feel free to suggest fixes!). Likely you'll have to compile hub speficially for your system.

@mislav mislav closed this as completed Oct 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants