-
Notifications
You must be signed in to change notification settings - Fork 27
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
Failing to use self hosted server with release APK #18
Comments
Can replicate. This is probably because |
Fixed in v1.3.1. A new APK can be downloaded here |
Now it sits for around 30 seconds and then fails.
Will the API backend log a failure to login like this? I suspect my appwrite backend is not properly configured, but I wanted to see that it at least reaches the backend before debugging that. |
I just noticed the issue- you have |
Oh damn; I thought I double and triple checked the IP 🙈
So, now I get more error output in backend. I guess I need to fix my appwrite stuff. However, I think appwrite is completely overkill just to get a database. I'm considering making a fork with a minimal API just for the app ingestion, but storing it in a simpler DB that can be accessed directly from looker studio or other apps, instead of having the API serve its own fetching 🤔 |
yes, while writing write-access functionality I did realize the app uses barely any of appwrite's functions. A fork would be great! I'm considering migrating to postgres once authentication is complete, simply because it'd involve a lot of rewriting that I want to do after I work on functionality. In the meantime if you need to get appwrite up, the only configuration you should need is the following:
|
Ok I made my own backend instead; using a psql storage, creating a psql user and database for every new user signing up. To be able to chart up stuff I have to make the types based on each record result type, so I haven't implemented them all yet, just a proof of concept. https://github.com/fiddur/HCGateway/tree/main/api Using the same App build, connecting with IP and port number works great! |
this looks great! Keep in mind I'd prefer not to change the server language, so we won't be able to merge this directly. |
Describe the bug
I setup self hosted server with docker. I can see it logging when just trying out a
url -X POST http://192.168.72.26/api/fetch/something
(just making sure I reach the api).But when setting the API Base URL to
http://192.168.72.26
there is nothing in the log indicating that a request reaches is. This is done on the same WIFI, the mobile phone reaches the service with a browser producing a log as well in the api.I tried creating user account on your server, that worked, so it's not any oddity in the username or password.
To Reproduce
Steps to reproduce the behavior:
http://<ip address>
Screenshots
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: