apkg
June 20, 2025, 10:03am
1
Just spun up a new project, using the Community Containers docker compose yml. After logging with the default password for the admin user, I tried to change the password and got the below error.
My Settings > General > Edit
“Given text was invalid”
I tried setting different passwords, with/without special characters, etc, but it still came up.
I then tried just editing and saving the General Settings without making any changes and got the same error again. So I don’t think it’s anything related to the password changes I’m trying to do, but something else in that settings window which is trying to be saved.
Thanks in advance.
APKG
bricks
(Björn Ricks)
June 20, 2025, 10:30am
2
Hi,
there is on open ticket for this issue where you can find some background. It’s not fixed yet completely but a user reported an approach to circumvent it.
opened 11:06AM - 11 Apr 25 UTC
bug
### Expected behavior
User settings applied, no error.
### Actual behavior
When… trying to save the user settings an error is shown:

### Steps to reproduce
1. Browse to https://greenbone.domain.local/usersettings, see some errors in the browser console (not sure if they're related):
```
index-CU-VHQ9A.js:2 web.components.dashboard Unknown Dashboard display undefined
LogLevels.silent.<computed> @ index-CU-VHQ9A.js:2
(anonymous) @ index-CU-VHQ9A.js:36
Dashboard @ index-CU-VHQ9A.js:36
Gi @ opensight-ui-BibHGzjq.js:40
hj @ opensight-ui-BibHGzjq.js:40
Vk @ opensight-ui-BibHGzjq.js:40
Uk @ opensight-ui-BibHGzjq.js:40
Tk @ opensight-ui-BibHGzjq.js:40
Ik @ opensight-ui-BibHGzjq.js:40
Ek @ opensight-ui-BibHGzjq.js:40
jg @ opensight-ui-BibHGzjq.js:40
(anonymous) @ opensight-ui-BibHGzjq.js:40
XMLHttpRequest.send
(anonymous) @ index-CU-VHQ9A.js:2
request @ index-CU-VHQ9A.js:2
httpGet @ index-CU-VHQ9A.js:2
getSetting @ index-CU-VHQ9A.js:2
(anonymous) @ index-CU-VHQ9A.js:36
(anonymous) @ opensight-ui-BibHGzjq.js:73
loadSettings @ index-CU-VHQ9A.js:41
componentDidMount @ index-CU-VHQ9A.js:41
kk @ opensight-ui-BibHGzjq.js:40
ik @ opensight-ui-BibHGzjq.js:40
hk @ opensight-ui-BibHGzjq.js:40
(anonymous) @ opensight-ui-BibHGzjq.js:40
Pk @ opensight-ui-BibHGzjq.js:40
Gk @ opensight-ui-BibHGzjq.js:40
J @ opensight-ui-BibHGzjq.js:30
R @ opensight-ui-BibHGzjq.js:30
index-CU-VHQ9A.js:2
GET https://greenbone.domain.local/gmp?token=3670c64a-a4c1-4faf-8e52-361b56734b22&cmd=get_settings 502 (Bad Gateway)
(anonymous) @ index-CU-VHQ9A.js:2
request @ index-CU-VHQ9A.js:2
httpGet @ index-CU-VHQ9A.js:2
currentSettings @ index-CU-VHQ9A.js:2
(anonymous) @ index-CU-VHQ9A.js:36
(anonymous) @ opensight-ui-BibHGzjq.js:73
loadSettings @ index-CU-VHQ9A.js:41
loadSettings @ index-CU-VHQ9A.js:41
componentDidMount @ index-CU-VHQ9A.js:41
kk @ opensight-ui-BibHGzjq.js:40
ik @ opensight-ui-BibHGzjq.js:40
hk @ opensight-ui-BibHGzjq.js:40
(anonymous) @ opensight-ui-BibHGzjq.js:40
Pk @ opensight-ui-BibHGzjq.js:40
Gk @ opensight-ui-BibHGzjq.js:40
J @ opensight-ui-BibHGzjq.js:30
R @ opensight-ui-BibHGzjq.js:30
index-CU-VHQ9A.js:2
GET https://greenbone.domain.local/gmp?token=3670c64a-a4c1-4faf-8e52-361b56734b22&cmd=get_alerts&filter=first%3D1%20rows%3D-1 502 (Bad Gateway)
(anonymous) @ index-CU-VHQ9A.js:2
request @ index-CU-VHQ9A.js:2
httpGet @ index-CU-VHQ9A.js:2
get @ index-CU-VHQ9A.js:2
(anonymous) @ index-CU-VHQ9A.js:36
(anonymous) @ opensight-ui-BibHGzjq.js:73
loadAlerts @ index-CU-VHQ9A.js:41
loadEntities @ index-CU-VHQ9A.js:41
componentDidMount @ index-CU-VHQ9A.js:41
kk @ opensight-ui-BibHGzjq.js:40
ik @ opensight-ui-BibHGzjq.js:40
hk @ opensight-ui-BibHGzjq.js:40
(anonymous) @ opensight-ui-BibHGzjq.js:40
Pk @ opensight-ui-BibHGzjq.js:40
Gk @ opensight-ui-BibHGzjq.js:40
J @ opensight-ui-BibHGzjq.js:30
R @ opensight-ui-BibHGzjq.js:30
index-CU-VHQ9A.js:2
GET https://greenbone.domain.local/gmp?token=3670c64a-a4c1-4faf-8e52-361b56734b22&cmd=get_credentials&filter=first%3D1%20rows%3D-1 502 (Bad Gateway)
(anonymous) @ index-CU-VHQ9A.js:2
request @ index-CU-VHQ9A.js:2
httpGet @ index-CU-VHQ9A.js:2
get @ index-CU-VHQ9A.js:2
(anonymous) @ index-CU-VHQ9A.js:36
(anonymous) @ opensight-ui-BibHGzjq.js:73
loadCredentials @ index-CU-VHQ9A.js:41
loadEntities @ index-CU-VHQ9A.js:41
componentDidMount @ index-CU-VHQ9A.js:41
kk @ opensight-ui-BibHGzjq.js:40
ik @ opensight-ui-BibHGzjq.js:40
hk @ opensight-ui-BibHGzjq.js:40
(anonymous) @ opensight-ui-BibHGzjq.js:40
Pk @ opensight-ui-BibHGzjq.js:40
Gk @ opensight-ui-BibHGzjq.js:40
J @ opensight-ui-BibHGzjq.js:30
R @ opensight-ui-BibHGzjq.js:30
index-CU-VHQ9A.js:2
GET https://greenbone.domain.local/gmp?token=3670c64a-a4c1-4faf-8e52-361b56734b22&cmd=get_filters&filter=first%3D1%20rows%3D-1 502 (Bad Gateway)
(anonymous) @ index-CU-VHQ9A.js:2
request @ index-CU-VHQ9A.js:2
httpGet @ index-CU-VHQ9A.js:2
get @ index-CU-VHQ9A.js:2
(anonymous) @ index-CU-VHQ9A.js:36
(anonymous) @ opensight-ui-BibHGzjq.js:73
loadFilters @ index-CU-VHQ9A.js:41
loadEntities @ index-CU-VHQ9A.js:41
componentDidMount @ index-CU-VHQ9A.js:41
kk @ opensight-ui-BibHGzjq.js:40
ik @ opensight-ui-BibHGzjq.js:40
hk @ opensight-ui-BibHGzjq.js:40
(anonymous) @ opensight-ui-BibHGzjq.js:40
Pk @ opensight-ui-BibHGzjq.js:40
Gk @ opensight-ui-BibHGzjq.js:40
J @ opensight-ui-BibHGzjq.js:30
R @ opensight-ui-BibHGzjq.js:30
index-CU-VHQ9A.js:2
GET https://greenbone.domain.local/gmp?token=3670c64a-a4c1-4faf-8e52-361b56734b22&cmd=get_port_lists&filter=first%3D1%20rows%3D-1 502 (Bad Gateway)
(anonymous) @ index-CU-VHQ9A.js:2
request @ index-CU-VHQ9A.js:2
httpGet @ index-CU-VHQ9A.js:2
get @ index-CU-VHQ9A.js:2
(anonymous) @ index-CU-VHQ9A.js:36
(anonymous) @ opensight-ui-BibHGzjq.js:73
loadPortLists @ index-CU-VHQ9A.js:41
loadEntities @ index-CU-VHQ9A.js:41
componentDidMount @ index-CU-VHQ9A.js:41
kk @ opensight-ui-BibHGzjq.js:40
ik @ opensight-ui-BibHGzjq.js:40
hk @ opensight-ui-BibHGzjq.js:40
(anonymous) @ opensight-ui-BibHGzjq.js:40
Pk @ opensight-ui-BibHGzjq.js:40
Gk @ opensight-ui-BibHGzjq.js:40
J @ opensight-ui-BibHGzjq.js:30
R @ opensight-ui-BibHGzjq.js:30
index-CU-VHQ9A.js:2
GET https://greenbone.domain.local/gmp?token=3670c64a-a4c1-4faf-8e52-361b56734b22&cmd=get_configs&usage_type=scan&filter=first%3D1%20rows%3D-1 502 (Bad Gateway)
(anonymous) @ index-CU-VHQ9A.js:2
request @ index-CU-VHQ9A.js:2
httpGet @ index-CU-VHQ9A.js:2
get @ index-CU-VHQ9A.js:2
(anonymous) @ index-CU-VHQ9A.js:36
(anonymous) @ opensight-ui-BibHGzjq.js:73
loadScanConfigs @ index-CU-VHQ9A.js:41
loadEntities @ index-CU-VHQ9A.js:41
componentDidMount @ index-CU-VHQ9A.js:41
kk @ opensight-ui-BibHGzjq.js:40
ik @ opensight-ui-BibHGzjq.js:40
hk @ opensight-ui-BibHGzjq.js:40
(anonymous) @ opensight-ui-BibHGzjq.js:40
Pk @ opensight-ui-BibHGzjq.js:40
Gk @ opensight-ui-BibHGzjq.js:40
J @ opensight-ui-BibHGzjq.js:30
R @ opensight-ui-BibHGzjq.js:30
index-CU-VHQ9A.js:2
GET https://greenbone.domain.local/gmp?token=3670c64a-a4c1-4faf-8e52-361b56734b22&cmd=get_scanners&filter=first%3D1%20rows%3D-1 502 (Bad Gateway)
(anonymous) @ index-CU-VHQ9A.js:2
request @ index-CU-VHQ9A.js:2
httpGet @ index-CU-VHQ9A.js:2
get @ index-CU-VHQ9A.js:2
(anonymous) @ index-CU-VHQ9A.js:36
(anonymous) @ opensight-ui-BibHGzjq.js:73
loadScanners @ index-CU-VHQ9A.js:41
loadEntities @ index-CU-VHQ9A.js:41
componentDidMount @ index-CU-VHQ9A.js:41
kk @ opensight-ui-BibHGzjq.js:40
ik @ opensight-ui-BibHGzjq.js:40
hk @ opensight-ui-BibHGzjq.js:40
(anonymous) @ opensight-ui-BibHGzjq.js:40
Pk @ opensight-ui-BibHGzjq.js:40
Gk @ opensight-ui-BibHGzjq.js:40
J @ opensight-ui-BibHGzjq.js:30
R @ opensight-ui-BibHGzjq.js:30
index-CU-VHQ9A.js:2
GET https://greenbone.domain.local/gmp?token=3670c64a-a4c1-4faf-8e52-361b56734b22&cmd=get_schedules&filter=first%3D1%20rows%3D-1 502 (Bad Gateway)
(anonymous) @ index-CU-VHQ9A.js:2
request @ index-CU-VHQ9A.js:2
httpGet @ index-CU-VHQ9A.js:2
get @ index-CU-VHQ9A.js:2
(anonymous) @ index-CU-VHQ9A.js:36
(anonymous) @ opensight-ui-BibHGzjq.js:73
loadSchedules @ index-CU-VHQ9A.js:41
loadEntities @ index-CU-VHQ9A.js:41
componentDidMount @ index-CU-VHQ9A.js:41
kk @ opensight-ui-BibHGzjq.js:40
ik @ opensight-ui-BibHGzjq.js:40
hk @ opensight-ui-BibHGzjq.js:40
(anonymous) @ opensight-ui-BibHGzjq.js:40
Pk @ opensight-ui-BibHGzjq.js:40
Gk @ opensight-ui-BibHGzjq.js:40
J @ opensight-ui-BibHGzjq.js:30
R @ opensight-ui-BibHGzjq.js:30
index-CU-VHQ9A.js:2
GET https://greenbone.domain.local/gmp?token=3670c64a-a4c1-4faf-8e52-361b56734b22&cmd=get_targets&filter=first%3D1%20rows%3D-1 502 (Bad Gateway)
(anonymous) @ index-CU-VHQ9A.js:2
request @ index-CU-VHQ9A.js:2
httpGet @ index-CU-VHQ9A.js:2
get @ index-CU-VHQ9A.js:2
(anonymous) @ index-CU-VHQ9A.js:36
(anonymous) @ opensight-ui-BibHGzjq.js:73
loadTargets @ index-CU-VHQ9A.js:41
loadEntities @ index-CU-VHQ9A.js:41
componentDidMount @ index-CU-VHQ9A.js:41
kk @ opensight-ui-BibHGzjq.js:40
ik @ opensight-ui-BibHGzjq.js:40
hk @ opensight-ui-BibHGzjq.js:40
(anonymous) @ opensight-ui-BibHGzjq.js:40
Pk @ opensight-ui-BibHGzjq.js:40
Gk @ opensight-ui-BibHGzjq.js:40
J @ opensight-ui-BibHGzjq.js:30
R @ opensight-ui-BibHGzjq.js:30
index-CU-VHQ9A.js:2
POST https://greenbone.domain.local/gmp 502 (Bad Gateway)
(anonymous) @ index-CU-VHQ9A.js:2
request @ index-CU-VHQ9A.js:2
httpPost @ index-CU-VHQ9A.js:2
renewSession @ index-CU-VHQ9A.js:2
(anonymous) @ index-CU-VHQ9A.js:26
(anonymous) @ opensight-ui-BibHGzjq.js:73
renewSessionTimeout @ index-CU-VHQ9A.js:26
componentDidUpdate @ index-CU-VHQ9A.js:26
kk @ opensight-ui-BibHGzjq.js:40
ik @ opensight-ui-BibHGzjq.js:40
hk @ opensight-ui-BibHGzjq.js:40
(anonymous) @ opensight-ui-BibHGzjq.js:40
Pk @ opensight-ui-BibHGzjq.js:40
Gk @ opensight-ui-BibHGzjq.js:40
J @ opensight-ui-BibHGzjq.js:30
R @ opensight-ui-BibHGzjq.js:30
opensight-ui-BibHGzjq.js:40 Error renewing session: _Rejection {name: 'Rejection', message: 'Unbekannter Fehler', reason: 'error', error: undefined, _xhr: XMLHttpRequest, …}
console.error @ opensight-ui-BibHGzjq.js:40
(anonymous) @ index-CU-VHQ9A.js:26
await in (anonymous)
(anonymous) @ opensight-ui-BibHGzjq.js:73
renewSessionTimeout @ index-CU-VHQ9A.js:26
componentDidUpdate @ index-CU-VHQ9A.js:26
kk @ opensight-ui-BibHGzjq.js:40
ik @ opensight-ui-BibHGzjq.js:40
hk @ opensight-ui-BibHGzjq.js:40
(anonymous) @ opensight-ui-BibHGzjq.js:40
Pk @ opensight-ui-BibHGzjq.js:40
Gk @ opensight-ui-BibHGzjq.js:40
J @ opensight-ui-BibHGzjq.js:30
R @ opensight-ui-BibHGzjq.js:30
```
2. Edit user profile settings
3. Try to save and get the error from the screenshot above and the following logged in the browser console:
```
opensight-ui-BibHGzjq.js:40 TypeError: Cannot read properties of undefined (reading 'toFixed')
at severityValue (index-CU-VHQ9A.js:2:471657)
at EntityCommand.saveSettings (index-CU-VHQ9A.js:2:476978)
at UserSettings.handleSaveSettings (index-CU-VHQ9A.js:41:1428114)
at index-CU-VHQ9A.js:41:1418889
at index-CU-VHQ9A.js:41:1196350
at handleSaveClick (index-CU-VHQ9A.js:36:60987)
at handleSaveClick (index-CU-VHQ9A.js:36:61560)
at index-CU-VHQ9A.js:36:54392
at index-CU-VHQ9A.js:36:54482
at onClick (index-CU-VHQ9A.js:36:54975)
console.error @ opensight-ui-BibHGzjq.js:40
handleSaveSettings @ index-CU-VHQ9A.js:41
(anonymous) @ index-CU-VHQ9A.js:41
(anonymous) @ index-CU-VHQ9A.js:41
handleSaveClick @ index-CU-VHQ9A.js:36
handleSaveClick @ index-CU-VHQ9A.js:36
(anonymous) @ index-CU-VHQ9A.js:36
(anonymous) @ index-CU-VHQ9A.js:36
onClick @ index-CU-VHQ9A.js:36
Nb @ opensight-ui-BibHGzjq.js:40
Tb @ opensight-ui-BibHGzjq.js:40
(anonymous) @ opensight-ui-BibHGzjq.js:40
nf @ opensight-ui-BibHGzjq.js:40
se @ opensight-ui-BibHGzjq.js:40
(anonymous) @ opensight-ui-BibHGzjq.js:40
Qk @ opensight-ui-BibHGzjq.js:40
Jb @ opensight-ui-BibHGzjq.js:40
hd @ opensight-ui-BibHGzjq.js:40
fd @ opensight-ui-BibHGzjq.js:40
ed @ opensight-ui-BibHGzjq.js:40
```
### GVM versions
**gsa:** 24.6.1
**gvm:** 25.2.1
**openvas-scanner:** 23.16.1
**gvm-libs:** 22.21.0
### Environment
**Operating system:** Exherbo Linux
**Installation method / source:** packages (sources-based distribution)
### Logfiles
Couldn't spot any relevant entries.
### Additional information (because the's the gmp "bad gateway error")
some details: gsa runs behind a nginx proxy which was working fine for a very long time already, as in previously editing user settings worked fine, though it was already the case with 24.5.0, thought an upgrade to 24.6.1 might fix it but it didn't, as I'm not editing user settings very often I'm unable to tell with which version this problem initially started to appear.
`gsad.conf`
```
GSAD_LISTEN=--listen=127.0.0.1
GSAD_PORT=--port=9392
GSAD_HTTP=--http-only
GSAD_REDIRECT=--no-redirect
```
`/etc/nginx/nginx`
```
[...]
server {
listen 80;
listen [::]:80;
server_name greenbone.domain.local;
location / { return 301 https://$host$request_uri; }
access_log off;
error_log off;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name greenbone.domain.local;
http2 on;
# SSL security configuration
include /etc/nginx/ssl_security.conf;
access_log off;
error_log off;
location / {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://127.0.0.1:9392;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_next_upstream error timeout http_502 http_503 http_504;
}
}
[...]
```
`/etc/nginx/ssl_security.conf`
```
ssl_protocols TLSv1.3 TLSv1.2;
ssl_session_cache shared:SSL:10m;
ssl_ciphers HIGH:!aNULL:!MD5:!3DES:!CAMELLIA:!AES128:!AES256-SHA:!AES256-SHA256:!AES256-GCM-SHA384:!AES256-CCM8:!AES256-CCM;
ssl_prefer_server_ciphers on;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
add_header Content-Security-Policy "upgrade-insecure-requests" always;
ssl_certificate /etc/ssl/domain.local/domain.local.crt;
ssl_certificate_key /etc/ssl/domain.local/domain.local.key;
ssl_stapling on;
```
Everything else like runnings scans and so on is working fine.
2 Likes
system
(system)
Closed
September 18, 2025, 10:04am
3
This topic was automatically closed after 90 days. New replies are no longer allowed.