significa / app-distribution-server

Simple, self-hosted Android and iOS mobile app distribution server (for IPA and APK files).
https://significa.co/blog/how-to-distribute-ios-ipa-builds
GNU General Public License v3.0
52 stars 12 forks source link

Install link is displaying a certificate error when trying to install IPA bundle #24

Open bwomsm1 opened 1 month ago

bwomsm1 commented 1 month ago

I was running the docker as following:

docker run \
  -p 8000:8000 \
  -e APP_BASE_URL='http://192.168.98.106:8000' \
  -e UPLOADS_SECRET_AUTH_TOKEN="secret" \
  -v ./uploads:/uploads \
  ghcr.io/significa/app-distribution-server

And created the qr code url as following:

curl -X "POST" \\n  "http://192.168.98.106:8000/upload" \\n  -H "Accept: application/json" \\n  -H "X-Auth-Token: secret" \\n  -H "Content-Type: multipart/form-data" \\n  -F "app_file=@Deployment.ipa"

When I tried to install the app I was getting this issue: IMG_0004

bwomsm1 commented 1 month ago

I can confirm that I am able to install the same ipa with other CLI utils

bwomsm1 commented 1 month ago

@tofran can you please assist with this issue? thanks!

tofran commented 1 month ago

Humm I see. Thank you for the feedback.

In my testing I was successful using a local IP with plain HTTP.

Are you able to share the page URL and the link content? Right click the install button and copy the URL? Are you scanning the QR or clicking install on the device? Otherwise the QR content might also be useful.

If indeed all is correct it probably means that there might be a new restriction where the server must be behind an HTTPS certificate. If thats the case I can update the blog post. For it to work on your side you must deploy the Deploy the behind a TLS certificate (either on your server on any cloud provider).

bwomsm1 commented 1 month ago

Humm I see. Thank you for the feedback.

In my testing I was successful using a local IP with plain HTTP.

Are you able to share the page URL and the link content? Right click the install button and copy the URL? Are you scanning the QR or clicking install on the device? Otherwise the QR content might also be useful.

If indeed all is correct it probably means that there might be a new restriction where the server must be behind an HTTPS certificate. If thats the case I can update the blog post. For it to work on your side you must deploy the Deploy the behind a TLS certificate (either on your server on any cloud provider).

Thanks for the response @tofran , I must say that I am not able to share the qa code page URL, Tell me what data you need from the server? I can switch to another branch if you want to create some debug branch.

bwomsm1 commented 1 month ago

Humm I see. Thank you for the feedback. In my testing I was successful using a local IP with plain HTTP. Are you able to share the page URL and the link content? Right click the install button and copy the URL? Are you scanning the QR or clicking install on the device? Otherwise the QR content might also be useful. If indeed all is correct it probably means that there might be a new restriction where the server must be behind an HTTPS certificate. If thats the case I can update the blog post. For it to work on your side you must deploy the Deploy the behind a TLS certificate (either on your server on any cloud provider).

Thanks for the response @tofran , I must say that I am not able to share the qa code page URL, Tell me what data you need from the server? I can switch to another branch if you want to create some debug branch.

@tofran something else we can do here? Thanks!