Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP 404 "not found" on job result-API #27

Open
njunike opened this issue Nov 4, 2022 · 1 comment
Open

HTTP 404 "not found" on job result-API #27

njunike opened this issue Nov 4, 2022 · 1 comment

Comments

@njunike
Copy link

njunike commented Nov 4, 2022

A call to /nju/wps3/jobs provides:

{
    "jobs": [
        {
            "jobID": "91fa2774-5c37-11ed-addf-e24ac975c482",
            "status": "successful",
            "message": "ZOO-Kernel successfully run your service!",
            "links": [
                {
                    "title": "Status location",
                    "rel": "status",
                    "type": "application\/json",
                    "href": "\/nju\/wps3\/jobs\/91fa2774-5c37-11ed-addf-e24ac975c482"
                },
                {
                    "title": "Result location",
                    "rel": "http:\/\/www.opengis.net\/def\/rel\/ogc\/1.0\/results",
                    "type": "application\/json",
                    "href": "\/nju\/wps3\/jobs\/91fa2774-5c37-11ed-addf-e24ac975c482\/results"
                }
            ]
        }
    ],
    "links": [
        {
            "rel": "self",
            "type": "application\/json",
            "href": "\/nju\/wps3\/jobs"
        }
    ],
    "numberTotal": 1
}

But the listed URL /nju/wps3/jobs/91fa2774-5c37-11ed-addf-e24ac975c482/results raises a HTTP 404:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /_run/91fa2774-5c37-11ed-addf-e24ac975c482.json was not found on this server.</p>
</body></html>

Observed with ADES v2.0.0

@njunike
Copy link
Author

njunike commented Nov 4, 2022

Please note, that the analog workflow in ADES 1.2.0 works and provides link to S3 Object store with outputs. Also in Ades v2.0.0 the outputs are copied to S3 object store, but the "result"-object in API is not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant