Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paperlass-ngx https:\\$HOST\api not found (Error 404) #31

Closed
HHZZUUJH opened this issue Jul 5, 2023 · 4 comments
Closed

Paperlass-ngx https:\\$HOST\api not found (Error 404) #31

HHZZUUJH opened this issue Jul 5, 2023 · 4 comments

Comments

@HHZZUUJH
Copy link

HHZZUUJH commented Jul 5, 2023

Hello,

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

@HHZZUUJH
Copy link
Author

HHZZUUJH commented Jul 5, 2023

Sorry, it is correctly called:

https://$HOST/api

@Tagadda
Copy link
Member

Tagadda commented Jul 5, 2023

The correct path should be https://example.com/api/, with a / at the end.
What are you trying to achieve ?

@HHZZUUJH
Copy link
Author

HHZZUUJH commented Jul 5, 2023

YunoHost version: 11.1.21.4 (stable)
Paperless-ngx for YunoHost version: 1.16.2~ynh2

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.

user to log in: superuser

Error connecting to the server:

DioError [DioErrorType.response]: Https status error [200]

Source stack:
#0 Dio.Mixin.fetch (package:dio/src/dio_mixin.dart:473)

Error connecting 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)

@Tagadda
Copy link
Member

Tagadda commented Jul 5, 2023

That sounds like an issue in the mobile app.
I see you already opened an issue here astubenbord/paperless-mobile#229
I close this issue until we have more information about this error.

@Tagadda Tagadda closed this as completed Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants