OPENDAP / bes

The BES framework, which forms the basis for the Hyrax server
GNU Lesser General Public License v3.0
13 stars 19 forks source link

This fixes HYRAX-1426: the spurious PPTConnection error messages. #937

Closed jgallagher59701 closed 6 months ago

jgallagher59701 commented 6 months ago

These messages happen because the olfs no longer sends an 'exit' message to the BES. Instead the OLFS just closes the socket. The PPTConnection code detects this as a read of zero bytes.

jgallagher59701 commented 6 months ago

Note: In the logs this will look like:

2024-05-30T19:18:56 UTC|&|50291|&|request|&|get.dmr|&|dap2|&|/Users/jimg/src/opendap/hyrax/build/sha
re/hyrax/data/nc/fnoc1.nc
2024-05-30T19:18:56 UTC|&|50291|&|info|&|PPTConnection::receive: read EOF from the OLFS, beslistener
 exiting.2024-05-30T19:18:56 UTC|&|50291|&|info|&|Received exit command.
2024-05-30T19:18:56 UTC|&|50130|&|info|&|beslistener child pid: 50291 exited with status: 6; num chi
ldren: 0
2024-05-30T19:18:56 UTC|&|51338|&|request|&|get.dmr|&|dap2|&|/Users/jimg/src/opendap/hyrax/build/sha
re/hyrax/data/nc/fnoc1.nc

Code 6 id the normal exit status for one of the child listener processes.

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
6 New issues
5 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud