PASTAplus / DataPortal

EDI Data Portal
3 stars 3 forks source link

Use of the LTER vocabulary web service fails with a 404 Not Found message #117

Closed servilla closed 7 months ago

servilla commented 8 months ago

It appears that the LTER vocabulary web service endpoint used by the Data Portal is no longer operational. Requests to the target URL return a 404 Not Found message when testing manually (see below). In addition, this 404 failure does so silently and without any log indication of the problem.

Refer to

  1. The web service endpoint URL must be fixed so that it points to the correct URL.
  2. Logging must be enabled to detect responses other than a 200 OK.

Refer to the webServiceSearchValues method in edu/lternet/pasta/portal/search/ControlledVocabularyClient.java

❯ http https://vocab.lternet.edu/webservice/keywordlist.php/all/list/river                       (base) 
HTTP/1.1 404 Not Found
Connection: Keep-Alive
Content-Length: 280
Content-Type: text/html; charset=iso-8859-1
Date: Tue, 09 Jan 2024 18:15:14 GMT
Keep-Alive: timeout=5, max=100
Server: Apache/2.4.52 (Ubuntu)

<!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 was not found on this server.</p>
<hr>
<address>Apache/2.4.52 (Ubuntu) Server at vocab.lternet.edu Port 443</address>
</body></html>
servilla commented 7 months ago

This service is currently under the management of John Porter (VCR LTER), even though the host server is located at UNM. I had a conversation with John on 2024-01-10 regarding this issue. He said he would look into it.

servilla commented 7 months ago

This service is again working, thanks to support provided by John Porter (VCR LTER) and James Brunt (EDI).