Yu86no
July 5, 2023, 10:41am
1
My YunoHost Server
Hardware: VPS Purchased online
YunoHost Version: 11.1.21.4 (stable)
I have access to my server: over SSH | over Webadmin |
Are you in a special context or have you made certain settings on your YunoHost instance? : no
Description of my problem
paperlass-ngx https:\$HOST\api
Error message
not found (Error 404)
All logs show no errors.
Best regards
Yu86no
July 5, 2023, 12:41pm
3
Thank you.
The domain https:\$HOST\api is stored in YunoHost under Applications
paperless-ngx like this.
$HOST is an anonymization of my actual domain
Yu86no
July 5, 2023, 12:43pm
4
Sorry, it is correctly called:
https://$HOST/api
Do you mean this?
The human-accessible URL is the first one, is it working. The API one is meant for the mobile apps for example.
Thank you very much. I could now see how the API works with a concrete document. But a connection from a mobile application (paperless mobile) does not work.
YunoHost version: 11.1.21.4 (stable)
Paperless-ngx for YunoHost version: 1.16.2~ynh2
user to log in: superuser
Error connecting from mpbile app to the server:
DioError [DioErrorType.response]: Https status error [200]
Source stack:
#0 Dio.Mixin.fetch (package:dio/src/dio_mixin.dart:473)
#1 Dio.Mixin.request (package:dio/src/dio_mixin.dart:468)
#2 Dio.Mixin.get (package:dio/src/dio_mixin.dart:55)
#3 API.checkCredentials (package:paperless_app/api.dart:250)
#4 _LoginRouteState.save (package:paperless_app/routes/login_route.dart:44)
system
Closed
July 21, 2023, 3:12pm
8
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.