I
Immich•2y ago
v4444v

Issues connecting via iphone 11. Get ""Socket operation failed: POST /oauth/config""

31 Replies
Alex Tran
Alex Tran•2y ago
UPLOAD_LOCATION=D:\iPhone Photos this could be an issue with the space in the path what url address did you use on the mobile app?
Alex Tran
Alex Tran•2y ago
that looks alright
v4444v
v4444vOP•2y ago
which location is this? is this the path on my server?
Alex Tran
Alex Tran•2y ago
yeah that is the value you put on your .env file what is the log of the server? can you access from the web?
v4444v
v4444vOP•2y ago
let me fix that space in the path yes I can access it via web
Alex Tran
Alex Tran•2y ago
can you post the picture of the mobile app on the url screen
v4444v
v4444vOP•2y ago
yes, will do let me login via mobile once I have made change in .emv file do I have to redeploy the container using "docker-compose up -d" or just stop and start will do the job?
Alex Tran
Alex Tran•2y ago
you should do docker-compose down then up
v4444v
v4444vOP•2y ago
No description
v4444v
v4444vOP•2y ago
removed space from the path, still same error
Alex Tran
Alex Tran•2y ago
can you go into your phone web browser and enter http://192.168.100.233:2283?
v4444v
v4444vOP•2y ago
yes, working there via browser
Alex Tran
Alex Tran•2y ago
hmm pretty werid, I assume there is no special setting on your server yet besides the default setting?
v4444v
v4444vOP•2y ago
yes, nothing beside the default can access it via android app but not via ios app
Alex Tran
Alex Tran•2y ago
uninstsall the app and try again be sure to grant local network permission
v4444v
v4444vOP•2y ago
got it working now 🙂 it think I refused the local network permission last time
Alex Tran
Alex Tran•2y ago
got it!
v4444v
v4444vOP•2y ago
many thanks for your assistance to make it further secure is it advisable to change: DB_HOSTNAME=immich_postgres DB_USERNAME=postgres DB_PASSWORD=postgres DB_DATABASE_NAME=immich username and password here? and also I changed: TYPESENSE_API_KEY=1234 would you mind explaining what is this typesense api key?
Alex Tran
Alex Tran•2y ago
yes that should be fine this can be seen as password for your typesense container, so that let's say if you expose your typesense container to the internet, other people without a password cannot access and use your typesense instance
v4444v
v4444vOP•2y ago
Thank you so much Do I need to change any settings in .yml if I change DB username and password in .emv?
Alex Tran
Alex Tran•2y ago
No you wouldn’t need to
v4444v
v4444vOP•2y ago
Hmm, then I’m facing issues
v4444v
v4444vOP•2y ago
No description
v4444v
v4444vOP•2y ago
this is what I get
v4444v
v4444vOP•2y ago
v4444v
v4444vOP•2y ago
DB_USERNAME=postgres DB_PASSWORD=post changed the DB_PASSWORD
Alex Tran
Alex Tran•2y ago
It will need to be changes before you run the stack I believe If you already started the stack the user is created with the original password
v4444v
v4444vOP•2y ago
that is what I did, I believe. I stopped the docker "docker-compose down", amended the .env file and then start the docker "docker-compose up -d"
Alex Tran
Alex Tran•2y ago
I meant before starting up the stack for the first time however FYI, the database is only expose internally for the whole "stack"
v4444v
v4444vOP•2y ago
Got it fixed. Thanks

Did you find this page helpful?