bauerj / paperless_app

An Android/iOS app for Paperless
https://play.google.com/store/apps/details?id=eu.bauerj.paperless_app
GNU General Public License v3.0
524 stars 45 forks source link

“Error while connecting to server” with -ngx #128

Closed avidrissman closed 1 year ago

avidrissman commented 1 year ago

I’m running the latest Paperless-ngx, 1.15.1, and I have the current App Store version. When I put in my server address I get:

Error while connecting to server

DioError [DioErrorType.other]: SocketException:
Connection refused (OS Error: Connection
refused, errno = 61), address = 100.93.180.102,
port = 62835
Source stack:
# DioMixin.fetch (package:dio/src/dio_mixin.dart:473)
#1 DioMixin.request (package:dio/src/dio_mixin.dart:468)
#2 DioMixin.get (package:dio/src/dio_mixin.dart:55)
#3 API.testConnection (package:paperless_app/api.dart:248)
#4 _ServerDetailsRouteState.save (package:paperless_app/routes/server_details_route.dart:45)
<asynchronous suspension>

It seems like Paperless and -ng are gone, and -ngx is the new thing. Is that something you’re looking to support?

avidrissman commented 1 year ago

I didn't realize that I needed to put a port number in the server address. It works now.