I am having the same issue. I did not try the SSL fixing route since it seems like a work around. The app works just fine on my PC, but when pushed to the hosting platform (I am using fly.io), it seemes to throw an error which traces to firestore.
Were you able to solve this?