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

[BUG] Adding an internal Server results in error #212

Open
bpereto opened this issue Jun 22, 2024 · 1 comment
Open

[BUG] Adding an internal Server results in error #212

bpereto opened this issue Jun 22, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@bpereto
Copy link

bpereto commented Jun 22, 2024

Describe the bug
Adding a Server with an internal available Hostname results in an error "A server with the specified hostname could not be found".

The DNS Servers are correctly configured and available on the system and points to an internal DNS:

dig paperless.app.internal
paperless.app.internal has address 10.0.0.10

To Reproduce
Steps to reproduce the behavior:

  1. Add internal DNS Record "paperless.app.internal"
  2. Add Server in paperparrot
  3. Enter https://paperless.app.internal
  4. Error: "A server with the specified hostname could not be found"

Expected behavior
The Server was found and added.

Screenshots

Environment(please complete the following information):

  • Device: Apple MacBook
  • OS: Macos
  • Version: Somnoa
  • Server Version (if applicable) [e.g. Paperless-ngx 1.11.3]

Additional context

@bpereto bpereto added the bug Something isn't working label Jun 22, 2024
@LeoKlaus
Copy link
Owner

Hey bpereto, thank you for reaching out!

I just tested this (even using paperless.app.internal as hostname) and it worked as expected.
Is the Paperless web UI really accessible from that machine at https://paperless.app.internal?

If you have to append a port like :8080, you will also have to specify that port in Paperparrot. For local https to work, your Mac has to trust the root certificate used to sign the certificate your paperless server is using.

Marcel in the Paperparrot Discord also noted that apparently some flags have to be set when generating a self signed certificate for them to be trusted by iOS (the same likely applies to macOS):

# Used for extensions to the self-signed cert OpenSSL is going to generate for us
x509_extensions = x509_extensions

[x509_extensions]
basicConstraints = CA:true
keyUsage = digitalSignature
extendedKeyUsage = serverAuth
subjectKeyIdentifier = hash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants