#Upload failed - Domaine name - IPV6

1 messages · Page 1 of 1 (latest)

west aurora
#

Hey!

Im currently setting up my Ente server : Raspberry 4 (8Go) + NASPi case + X-C1 + X823 + SSD 1To.

Right now, at home (private network), all is up and running.

I have read about the reverse-proxy in the documentations (Caddy) to access the server from internet.

I have a domain name with AAAA record (ipv6).

I set up new conf in compose.yaml, museum.yaml and /etc/caddy/Caddyfile.

When i try to upload photo, i got the following error from museum docker container :

museum-1    | ERRO[10785]file.go:153 Create Could not find size of file: id1/id2
museum-1    | ERRO[10785]handler.go:51 Error Request failed                                error= --- at /etc/ente/pkg/api/file.go:56 (FileHandler.CreateOrUpdate) ---
museum-1    | Caused by:  --- at /etc/ente/pkg/controller/file.go:911 (FileController.sizeOf) ---
museum-1    | Caused by: RequestError: send request failed
museum-1    | caused by: Head "https://mydomain/b2-eu-cen/ide1/ide2": dial tcp [::ipv6-address of raspberrypi ::]:443: connect: network is unreachable

In the browser, the XHR POST request to api URL returns error code 503.

From what I understand, the museum service receives a XHR request with a HEAD URL that is unable to find (network is unreachable).

Is there a way to tell Museum to rewrite https://mydomain to http://localhost:3200 ?

Thanks

winged ledgeBOT
#

I'm sorry, I couldn't find the answer in the documentation.
-# If your issue is resolved, feel free to use the </solved:1410327008973557843> command to close this thread. If you'd like to ask me another question use </docsearch:1378409618417647708>

vague bisonBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

winged ledgeBOT
west aurora
#

Solved by adding ipv4 entry to museum container (/etc/hosts). So add extra_hosts directive to compose.yml

services:
  museum:
    extra_hosts:
      - "my.domain=192.168.0.xx"
winged ledgeBOT
#

Thread marked as solved. It will be closed in <t:1764946052:R>.