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

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

Closed
jescriu opened this issue Oct 21, 2022 · 7 comments
Labels
solved Solution developed and accepted, not yet deployed

Comments

@jescriu
Copy link
Contributor

jescriu commented Oct 21, 2022

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:
INSPIRE-MIF/helpdesk-validator#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.

@jescriu jescriu changed the title Unexpected output when negociating contents to be returned from the INSPIRE Media Subtype code list Unexpected output when negotiating contents to be returned from the INSPIRE Media Subtype code list Oct 21, 2022
@mwjsanders
Copy link

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

@oscar9 oscar9 added under development A solution is being developed and removed under development A solution is being developed labels Nov 2, 2022
@arantzaetxebarria arantzaetxebarria added the under analysis A first analysis is being performed label Nov 3, 2022
@oscar9 oscar9 mentioned this issue Nov 3, 2022
@oscar9
Copy link
Contributor

oscar9 commented Nov 16, 2022

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
Copy link
Collaborator

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

@arantzaetxebarria arantzaetxebarria added solved Solution developed and accepted, not yet deployed and removed under analysis A first analysis is being performed labels Dec 2, 2022
@mwjsanders
Copy link

@arantzaetxebarria,

as reported in INSPIRE-MIF/helpdesk-validator#860 the problem is back

@arantzaetxebarria
Copy link
Collaborator

Dear @mwjsanders

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

Regards

@mwjsanders
Copy link

@arantzaetxebarria

everything is working correctly now, this issue can be closed

Regards Mark

@arantzaetxebarria
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved Solution developed and accepted, not yet deployed
Projects
None yet
Development

No branches or pull requests

4 participants