[SOLVED] Error Internal Server Error (500) failed to scan remote - if you write the address in the format IPv6 2001:xxxxx

Maksel

Active Member
Jan 19, 2019
13
1
43
43
Ukraine
I have a task. Configure synchronization between servers via only IPv6.
if you write an address in XX:.....:XX format, it gives an error when a synchronization task is submitted.

If you add an entry to the /etc/hosts file
Code:
echo "2001:.....:199  myprimarypbs" >> /etc/hosts
error - no

2021-04-02_155343.png2021-04-02_160832.png


Code:
Server:
proxmox-backup-server 1.0.11-1 running version: 1.0.11
Client:

proxmox-backup-client version
client version: 1.0.12
 
Last edited:
the error is displayed in the dropdown box:
'invalid authority' so i guess that you did not enter the fingerprint for the host, so it tries to validate the ssl certificate and that fails
 
the error is displayed in the dropdown box:
'invalid authority' so i guess that you did not enter the fingerprint for the host, so it tries to validate the ssl certificate and that fails
No, no, if there is an error in the fingerprint, there will be such an error

Internal Server Error (500)
failed to scan remote 'pbs1-kv-hostname' - remote connection to 'myprimarypbs' failed - error trying to connect: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:../ssl/statem/statem_clnt.c:1915:

My fingerprint is correct.
The error was when using the IPv6 address

Code:
root@pv2:/etc/proxmox-backup# cat remote.cfg
remote: pbs1-kv-hostname
    auth-id pr8920@pbs
    comment copy from the first server
    fingerprint 35:.........................:c5
    host myprimarypbs
    password c......................m

remote: psb1-kv-ipv6
    auth-id pr8920@pbs
    comment copy from the first server
    fingerprint 35:.........................:c5
    host 2001:xxxxxxxxx:199
    password c......................m


Code:
tcpdump -n -p -i vmbr0 host 2001:xxxxxxxxx:199
tcpdump does not output anything, i.e. the traffic doesn't even go to the remote server.
error when using ipv6 address


If using cli
Code:
root@pv2:/etc/proxmox-backup# proxmox-backup-manager sync-job list
┌─────────────────┬───────┬──────────────────┬──────────────┬──────────┬─────────┐
│ id              │ store │ remote           │ remote-store │ schedule │ comment │
╞═════════════════╪═══════╪══════════════════╪══════════════╪══════════╪═════════╡
│ s-4d8056b9-472b │ sdc   │ pbs1-kv-hostname │ sdd          │ 3:10     │         │
└─────────────────┴───────┴──────────────────┴──────────────┴──────────┴─────────┘
Code:
root@pv2:/etc/proxmox-backup# proxmox-backup-manager sync-job create task2 --remote psb1-kv-ipv6 --remote-store sdd --store sdc
Code:
root@pv2:/etc/proxmox-backup# proxmox-backup-manager sync-job list
┌─────────────────┬───────┬──────────────────┬──────────────┬──────────┬─────────┐
│ id              │ store │ remote           │ remote-store │ schedule │ comment │
╞═════════════════╪═══════╪══════════════════╪══════════════╪══════════╪═════════╡
│ s-4d8056b9-472b │ sdc   │ pbs1-kv-hostname │ sdd          │ 3:10     │         │
├─────────────────┼───────┼──────────────────┼──────────────┼──────────┼─────────┤
│ task2           │ sdc   │ psb1-kv-ipv6     │ sdd          │          │         │
└─────────────────┴───────┴──────────────────┴──────────────┴──────────┴─────────┘

I add tasks via the CLI.
And then execute it via the Web - then it gives an error, and the traffic is zero.

2021-04-06T14:48:33+03:00: TASK ERROR: remote connection to '2001:хххххх:199' failed - invalid authority
 
Last edited:
Thank you. The problem was solved in version (1.1.7-1) unstable
Code:
client/http_client: add necessary brackets for ipv6
just updated to (1.1.8-1) stable - everything works.
 
Mine upgraded to v1.1.13, yet no luck / success.

Any idea?
what exactly did you enter, and which error message do you get? the problem of op should be fixed
 
what exactly did you enter, and which error message do you get? the problem of op should be fixed
Thanks dcsapak!

My earlier CLI attampts were prompted with errors as follows;

<message were snipped>
:
:
Need to get 0 B/194 kB of archives.
After this operation, 1024 B disk space will be freed.
Setting up systemd (244.1-3) ...
Detected unsafe path transition /var → /var/log during canonicalization of /var/log/journal.
Detected unsafe path transition /var → /var/log during canonicalization of /var/log/journal.
Detected unsafe path transition /var → /var/log during canonicalization of /var/log/journal.
dpkg: error processing package systemd (--configure):
installed systemd package post-installation script subprocess returned error exit status 73
Errors were encountered while processing:
systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Exiting from upgrade with status 100.

Resolution was;

It's already SOLVED as I manually run chown command via CLI;

#chown root:root / ( I do not know why and how the / ownership was changed other than root:root)
#apt upgrade (successfully ended with CC=0)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!