After downloading Jenkins to my ubuntu 20.04 home server I wanted to configure it in my browser, but when I access it via local IP with 8080
port (I've tried both HTTPS and HTTP), I get an error:
{"error":"The required authorization heads were not present in the request."}
Jenkins did start successfully (here is the systemctl status):
● jenkins.service - LSB: Start Jenkins at boot time
Loaded: loaded (/etc/init.d/jenkins; generated)
Active: active (exited) since Wed 2022-02-02 16:34:42 UTC; 42min ago
Docs: man:systemd-sysv-generator(8)
Process: 25159 ExecStart=/etc/init.d/jenkins start (code=exited, status=0/SUCCESS)
Feb 02 16:34:40 mailing.fabrykacraft.pl systemd[1]: Starting LSB: Start Jenkins at boot time...
Feb 02 16:34:40 mailing.fabrykacraft.pl jenkins[25159]: Correct java version found
Feb 02 16:34:40 mailing.fabrykacraft.pl jenkins[25159]: * Starting Jenkins Automation Server jenkins
Feb 02 16:34:41 mailing.fabrykacraft.pl su[25203]: (to jenkins) root on none
Feb 02 16:34:41 mailing.fabrykacraft.pl su[25203]: pam_unix(su-l:session): session opened for user jenkins by (uid=0)
Feb 02 16:34:41 mailing.fabrykacraft.pl su[25203]: pam_unix(su-l:session): session closed for user jenkins
Feb 02 16:34:42 mailing.fabrykacraft.pl jenkins[25159]: ...done.
Feb 02 16:34:42 mailing.fabrykacraft.pl systemd[1]: Started LSB: Start Jenkins at boot time.```