INSPIRE-MIF / helpdesk-registry

Community for the discussion of change proposals by the submitting organisations for the central INSPIRE registers and register federation and their resolution by the control body.
3 stars 0 forks source link

Unexpected output when negotiating contents to be returned from the INSPIRE Media Subtype code list #40

Closed jescriu closed 1 year ago

jescriu commented 1 year ago

Dear INSPIRE Registry technical maintenance team,

I want to draw your attention to the following issue detected yesterday in the scope of the INSPIRE Reference Validator helpdesk: https://github.com/INSPIRE-MIF/helpdesk-validator/issues/860

As you can see in the description of the issue, one of the tests of the validator is failing due to an unexpected output from a request to the INSPIRE Registry (http://inspire.ec.europa.eu/media-types/application), which seems to be returning an .html output instead of an .xml one, although the 'Accept'-Header is set to 'application/atom+xml'.

Therefore, there seems to be an issue in the content negotiation process. Note that the affectation is possibly affecting all code list, not only the INSPIRE Media Subtype one.

Please assign maximum priority to solve this issue - Start analysing it as soon as possible to speed up its resolution in both, the INSPIRE Registry and the Re3gistry software (where needed).

Thank you.

mwjsanders commented 1 year ago

This seems a critical error in the inspire registry. Please provide a fix for this issue

oscar9 commented 1 year ago

Dear everyone,

We have analyzed the error and found a solution for it. We are in the process of testing the solution and if everything works correctly, it will be updated on the production server. Thanks for waiting.

Best regards, Óscar

arantzaetxebarria commented 1 year ago

Dear everyone,

A solution has been implemented in the INSPIRE Registry production environment. Now the returned response from http://inspire.ec.europa.eu/media-types/application contains XML data because the Accept header is set to application/atom+xml.

INSPIRE Registry technical maintenance team, will continue to work on testing that all formats, apart from ATOM, work correctly.

Regards, Arantza

mwjsanders commented 1 year ago

@arantzaetxebarria,

as reported in https://github.com/INSPIRE-MIF/helpdesk-validator/issues/860 the problem is back

arantzaetxebarria commented 1 year ago

Dear @mwjsanders

Could you confirm as it is indicated in issue 860 that now is working correctly? Thanks

Regards

mwjsanders commented 1 year ago

@arantzaetxebarria

everything is working correctly now, this issue can be closed

Regards Mark

arantzaetxebarria commented 1 year ago

As the solution to this issue is closely related to the Re3gistry Software, it has been decided to create a new issue in its repository and add it for the next release.

Regards