Skip to content

Commit cf80f0a

Browse files
committed
Add a section about a 404 while downloading a component
Add a troubleshooting section for the source build guide when getting a 404 during downloading of a software component source file.
1 parent 99b18cb commit cf80f0a

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/22.4/source-build/troubleshooting.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ If there are still no scan configs under {menuselection}`Configuration > Scan Co
100100
on the web interface after some hours and the logs of gvmd and ospd-openvas do not show
101101
errors, the `Feed Import Owner` may not have been set.
102102

103-
104103
```{code-block} shell
105104
---
106105
caption: Setting the `Feed Import Owner`
@@ -112,3 +111,13 @@ If all these steps do not resolve the issue, it is very likely a bigger problem,
112111
for example with the PostgreSQL database. Therefore, the
113112
{file}`/var/log/gvm/ospd-openvas.log` and {file}`/var/log/gvm/gvmd.log` files
114113
must be inspected for possible error and warning messages.
114+
115+
### curl: (22) The requested URL returned error: 404
116+
117+
While downloading some source file of the software components the URL can't be
118+
found and {command}`curl` returns a HTTP status code 404.
119+
120+
Please ensure the version variable of the to be downloaded component and all
121+
[required environment variables](./index.md#setting-environment-variables) are
122+
set. If that doesn't work try to replace the variables in the curl command with
123+
the actual content.

src/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and this project adheres to [Calendar Versioning](https://calver.org).
1414
* Drop `lcov` development dependency in gvmd install instructions
1515
* Fix - Docs copy (Feed Status moved to Administration)
1616
* Update source build guide for a section explaining the environment variables
17+
* Add section about getting a 404 to source guide troubleshooting
1718

1819
## 25.2.0 - 2025-02-18
1920

0 commit comments

Comments
 (0)