Hi Tim,

yes, I am using the default settings except for three:
cc.license.classfilter = recombo, mark, publicdomain, zero
cc.license.jurisdiction = pl
cc.license.locale = pl

But I also tried with only the default settings for confirmation, and the 
result is the same:
2023-09-02 00:23:29,954 ERROR 873d3483-5258-42a6-be03-5414a7773662 
30382c93-cefc-4775-bd1a-3ce6c8694988 
org.dspace.license.CCLicenseConnectorServiceImpl @ Error while retrieving 
the license document for URI: http://creativecommons.org/licenses/by/3.0/us/
2023-09-02 00:23:29,963 ERROR 873d3483-5258-42a6-be03-5414a7773662 
30382c93-cefc-4775-bd1a-3ce6c8694988 
org.dspace.app.rest.submit.SubmissionService @ The license uri: 
http://creativecommons.org/licenses/by/3.0/us/, could not be resolved to a 
CC license
2023-09-02 00:23:29,965 ERROR 873d3483-5258-42a6-be03-5414a7773662 
30382c93-cefc-4775-bd1a-3ce6c8694988 
org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ An 
exception has occurred (status:500)

My cc.api.rooturl parameter is set to 
https://api.creativecommons.org/rest/1.5.

It's interesting that no one else is reporting this issue. Should I 
understand that those who are using it haven't upgraded to DSpace 7.6 yet? 

In any case, I'll wait for a day or two and then report the issue as per 
your suggestion.

Regards,
Mariusz 

czwartek, 31 sierpnia 2023 o 19:34:34 UTC+2 DSpace Technical Support 
napisał(a):

> Hi Mariusz,
>
> Are you using the default settings for cc.license as they appear in 
> dspace.cfg?  Especially make sure the "cc.api.rooturl" is the same:
>
>
> https://github.com/DSpace/DSpace/blob/main/dspace/config/dspace.cfg#L976-L1014
>
> Strangely, the error log you shared almost makes it sound like an 
> SSL/HTTPS issue?  That's odd to me though, but you may want to check and 
> see if "cc.api.rooturl" is using HTTPS.
>
> If you are using those settings, then I'd recommend submitting a bug 
> ticket.  Maybe something broke here recently that we didn't discover.  
> https://github.com/DSpace/DSpace/issues
>
> Tim
>
>
> On Tuesday, August 29, 2023 at 9:32:54 AM UTC-5 tif...@gmail.com wrote:
>
>> There is no response, so I'm attaching the full version of the dspace.log 
>> snippet with the error.
>>
>> Regards,
>> Mariusz
>>
>> sobota, 26 sierpnia 2023 o 14:56:41 UTC+2 Technologiczny Informator 
>> napisał(a):
>>
>>> P.S. I will add that I also tested with the default DSpace settings for 
>>> cc.license.jurisdiction = us and cc.license.locale = en, where you can 
>>> select a country from the list and the 4.0 license is retrieved for those 
>>> settings. However, this didn't make any difference. The error remained the 
>>> same, so that's not the issue.
>>>
>>> Mariusz
>>> piątek, 25 sierpnia 2023 o 14:44:18 UTC+2 Technologiczny Informator 
>>> napisał(a):
>>>
>>>> Hi,
>>>>
>>>> I want to ask if anyone has encountered an issue in DSpace version 7.6 
>>>> regarding adding a Creative Commons license? In my repository, when 
>>>> attempting this, I receive an error as shown in the screenshot.
>>>> [image: cc-bug2.jpg]
>>>>
>>>> Additionally, it is accompanied by the following error in the DSpace 
>>>> logs:
>>>>
>>>> tail -f dspace.log|grep ERROR
>>>> 2023-08-23 12:14:41,678 ERROR 873d3483-5258-42a6-be03-5414a7773662 
>>>> 470b1fd5-009d-4d44-8c1c-1de8c2dcd531 
>>>> org.dspace.license.CCLicenseConnectorServiceImpl @ Error while retrieving 
>>>> the license document for URI: 
>>>> http://creativecommons.org/licenses/by/3.0/pl/
>>>> 2023-08-23 12:14:41,680 ERROR 873d3483-5258-42a6-be03-5414a7773662 
>>>> 470b1fd5-009d-4d44-8c1c-1de8c2dcd531 
>>>> org.dspace.app.rest.submit.SubmissionService @ The license uri: 
>>>> http://creativecommons.org/licenses/by/3.0/pl/, could not be resolved 
>>>> to a CC license
>>>> 2023-08-23 12:14:41,682 ERROR 873d3483-5258-42a6-be03-5414a7773662 
>>>> 470b1fd5-009d-4d44-8c1c-1de8c2dcd531 
>>>> org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ An 
>>>> exception has occurred (status:500)
>>>>
>>>> This issue doesn't occur on other available installations of DSpace in 
>>>> versions 7.4 or 7.5. Hence, my assumption is that it's specific to version 
>>>> 7.6.
>>>>
>>>> I've tested the connection from my DSpace server to the Creative 
>>>> Commons server on ports 80 and 443 - everything seems to be in order. 
>>>>
>>>> Thank you in advance for any suggestions.
>>>>
>>>> Regards,
>>>> Mariusz 
>>>>
>>>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/bbb788b3-4fd3-417a-8bdc-1e39ef743af6n%40googlegroups.com.

Reply via email to