Bug #20504
closed
Error message while publishing/updating records in GRSF catalog
Added by Yannis Marketakis over 4 years ago.
Updated over 4 years ago.
Description
Dear Fransesco,
I encounter the following error while publishing/updating records in GRSF catalogs.
2021-01-21 13:10:59 ERROR gr.forth.ics.isl.grsfservicescore.GrsfPublisher:148 - Method failed: HTTP/1.1 500 Internal Server Error; Response body: {"id":null,"knowledge_base_id":null,"product_url":null,"error":"Sorry but there was not possible to retrieve your fullname/email!"}
Can you please check this?
Files
- Blocks Task #20490: Approve-Merge RAM Group 4 records added
- Status changed from New to In Progress
- Assignee changed from Francesco Mangiacrapa to Luca Frosini
- % Done changed from 0 to 10
Hi Yannis,
I just verified and the "GRSF publisher" service seems to be up and running. By checking the logs I noticed three errors as follow:
2021-01-21 12:02:56,941 [catalina-exec-11] ERROR HelperMethods: error while performing get method java.lang.RuntimeException: Failed : HTTP error code : 404
2021-01-21 12:02:56,941 [catalina-exec-11] DEBUG GrsfPublisherStockService: Author fullname or mail missing, cannot continue
2021-01-21 12:02:56,941 [catalina-exec-11] ERROR GrsfPublisherStockService: Failed to update stock record
...
in this part the service tries to get the user information which allowing authentication on the Catalogue.. and all the services involved are up and running at the moment.
Please, retry again and let me know if it was a temporary issue or the problem persists.
Thanks, @francesco.mangiacrapa@isti.cnr.it for checking this out.
Unfortunately, the problem persists with the same error message
- % Done changed from 10 to 20
Yannis Marketakis wrote:
Thanks, @francesco.mangiacrapa@isti.cnr.it for checking this out.
Unfortunately, the problem persists with the same error message
Ok.
By checking the logs I noticed this:
2021-01-22 08:41:07,116 [catalina-exec-30] INFO RequestContextRetriever: retrieving context using token 5213d3d8-6ea3-4d55-MASKED-TOKEN
2021-01-22 08:41:07,171 [catalina-exec-30] INFO RequestContextRetriever: retrieved request authorization info org.gcube.common.authorization.library.utils.Caller@600f3c0f
in scope /d4science.research-infrastructures.eu/FARM/GRSF_Admin
Are you trying to update a record of GRSF or GRSF_ADMIN? The token that you are using belong to GRSF_ADMIN and the record is the stock with URL http://data.d4science.org/ctlg/GRSF_Admin/c91222f3-d0a6-3b49-b91d-5143b509ccf1
If the above information is correct, could you kindly provide us with the JSON source of this record? You can attach it to this ticket.
We will try to perform some tests. Thanks.
Yes, the information you provided is correct. Attached you will find the json representation of the record.
Take into account that this issue occurs with any record, both for updating and publishing.
Hi @marketak@ics.forth.gr ,
sorry for the inconvenience.
The issue related to networking.
@andrea.dellamico@isti.cnr.it has solved it.
You can restart the updates at your convenience.
- Status changed from In Progress to Feedback
- % Done changed from 20 to 100
- Status changed from Feedback to Closed
Yes it works without issues now.
With many thanks
Also available in: Atom
PDF