Simple-Login-iOS
Simple-Login-iOS copied to clipboard
The data could not be read because is missing
When I attempt to acces to the "My Account" tab, I got the following message: the data could not be read because is missing
Context
App version: latest (2.1.0) iOS version: 15.6 instance: custom instance login method: email + password, since I got the same error as describe here, when I attempt to use the API Auth.
Remark: API Auth work with browser extension
Can you upgrade the self host instance to the latest version which is https://github.com/simple-login/app/tree/4.6.2-beta ? The iOS app uses some new changes that are only available in the latest server code indeed.
Ok, I check that this week.
Is there a way to check the current version of the running Simple Login instance? The version is not show on the dashboard, and I cannot find a way to see it with the docker container (I build a version from a specific commit, not from the docker hub)
You can go to {URL}/git which should return the Git SHA1 that the code is running on.
Ok, I have updated to the simplelogin/app:4.6.2-beta version, and the problem is still here
Can you try to upgrade to our currently running version which is simplelogin/app-ci:v4.14.0 and check if the issue is still there?
Now I got a new error: "Unknown error with status 500"
Log from sl-app:
2022-08-30 21:17:38,080 - SL - ERROR - 8 - "/code/server.py:380" - error_handler() - - ProtonPartnerNotSetUp
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/code/app/api/base.py", line 52, in decorated
return f(*args, **kwargs)
File "/code/app/api/views/user_info.py", line 59, in user_info
return jsonify(user_to_dict(user))
File "/code/app/api/views/user_info.py", line 32, in user_to_dict
"connected_proton_address": get_connected_proton_address(user),
File "/code/app/api/views/user_info.py", line 18, in get_connected_proton_address
proton_partner = get_proton_partner()
File "/code/app/proton/utils.py", line 17, in get_proton_partner
raise ProtonPartnerNotSetUp
app.errors.ProtonPartnerNotSetUp: ProtonPartnerNotSetUp
2022-08-30 21:17:38,083 - SL - DEBUG - 8 - "/code/server.py:276" - after_request() - - <HIDDEN IP ADDRESS> GET /api/user_info ImmutableMultiDict([]) 500, takes 0.039659738540649414
2022-08-30 21:17:38,085 - SL - DEBUG - 7 - "/code/server.py:276" - after_request() - - <HIDDEN IP ADDRESS> GET /api/v2/setting/domains ImmutableMultiDict([]) 200, takes 0.04241490364074707
2022-08-30 21:17:38,121 - SL - DEBUG - 8 - "/code/server.py:276" - after_request() - - <HIDDEN IP ADDRESS> GET /api/setting ImmutableMultiDict([]) 200, takes 0.028625011444091797
I have hide the IP (HIDDEN IP ADDRESS)
This error has been fixed in simplelogin/app-ci:v4.14.3, can you please try this version instead?
This, and a succession of other problems, led me to abandon self-hosting. I migrated my domain name directly to the version managed by you.
With the managed version, there is no problem with the app :)
So, if this bug is fixed in 4.14.3, I think we can close this issue.
@Heziode as the iOS version release cycle is independent to the self-hosting release calendar, discrepancies can unfortunately happen ... We'll try to release the server code more often so the 2 versions stay compatible.
I know that the validation process on iOS can be a bit boring, so, courage 💪
(I always managed to dev PWA to avoid developing an app for Android and iOS 😂)
@Heziode thanks :). We use some features like keyboard extension, share menu, etc. that require a native apps so PWA isn't an option for us.
I have just tested with the latest version v4.14.4 on the custom instance, and it works now.
I close this issue since the problem is solved.