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

Issue connecting to EC2 server that has the endpoint hosted. #62

Open
tushar-31093 opened this issue May 1, 2023 · 3 comments
Open

Comments

@tushar-31093
Copy link

image

Following the code shared in the repo.

image

I keep getting this timeout.

Also, i am defaulting to port 7860 instead of 7861. Do i need to permit that too? or will the API directly get access. Any guidance would be appreciated.

@mix1009
Copy link
Owner

mix1009 commented May 2, 2023

Can you connect to the port using a web browser? You should also check the firewall.
If you can connect using the browser but api is not responding, try using use_https=True.

@tushar-31093
Copy link
Author

Can you connect to the port using a web browser? You should also check the firewall.
If you can connect using the browser but api is not responding, try using use_https=True.

It just worked but at the same time it is indifferent about the credentials. It bypasses the creds for some reason.

So that implies that the user/pass serves no purpose.

@tushar-31093
Copy link
Author

I have made a new issue post as well. Just wanted to say that this is where both the things come into consideration.

  • I have a custom domain. Docs doesn't work but well, your client worked using what you suggested. But again, user authentication didn't work. I pass it or don't pass it, it still works so is it bypassing it. If yes that implies somewhere my APIs are exposed right.

  • I wanted to use the API in two ways. Mobile app and web app. For mobile I need the API structure that also has the user pass that will be passed to the node app.

  • For web app I am using django and using your client which works but again it may not be secure as it bypasses the need of the authentication.

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