Skip to content

Nextcloud: Adding local server yields error 400 #496

@Jimmyson

Description

@Jimmyson

I am looking to test the PhotoPrism Backup functionality with my local Nextcloud server. Both services are running in Docker containers, and both are exposed and accessible. I am utilizing HTTP rather than the HTTPS, as the endpoints are both contained within my local network.

When adding the Nextcloud server to PhotoPrism, I am informed that a connection could not be established.
Looking over the Logs, I am presented with the following information. I attempted a connection twice

2020-09-10 11:17:18 DEBU POST /api/v1/accounts (400) [55.223016ms]
2020-09-10 11:17:18 DEBU api: abort /api/v1/accounts with code 400 (Could not connect, please try again)
2020-09-10 11:17:18 ERRO could not connect
2020-09-10 11:17:09 DEBU GET /api/v1/status (200) [43.564µs]
2020-09-10 11:16:36 DEBU POST /api/v1/accounts (400) [53.83915ms]
2020-09-10 11:16:36 DEBU api: abort /api/v1/accounts with code 400 (Could not connect, please try again)
2020-09-10 11:16:36 ERRO could not connect
2020-09-10 11:16:07 DEBU GET /api/v1/status (200) [50.171µs]

Using Cyberduck, I am able to connect to both PhotoPrism and Nextcloud using WebDAV, confirming that both instances are accessible.

Cyberduck_2020-09-10_11-29-25
Cyberduck_2020-09-10_11-29-36
image
2020-09-10_12-13-19
2020-09-10_12-14-28
2020-09-10_12-15-11

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreleasedAvailable in the stable release

Type

No type

Projects

Status

Release 🌈

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions