Re: [dspace-tech] Re: Error with searching authorizations

2022-12-01 Thread Duy Minh
Hi,

Thanks for the help. It turns out I *did* forget to add the  
X-Forwarded-Proto header to the proxy after all.

In case anyone encounters the same problem, for Apache 2, add the line 
"RequestHeader set X-Forwarded-Proto https" to default-000-le-ssl.conf.

Thanks again for your assistance.

Regards,
Minh

On Thursday, 1 December 2022 at 03:28:41 UTC+7 Tim Donohue wrote:

> Hi Minh,
>
> According to the initial error you shared (in your dspace.log), it's 
> showing that something is trying to contact your backend using "
> http://vinspace.online/server/;.  NOTICE that it is trying to access 
> "http" instead of "https"!
>
> Your configs you shared look correct to me... and they both specify 
> HTTPS.  So, it's unclear to me why your UI would be sending an HTTP request 
> to the backend instead of HTTPS.
>
> Maybe you updated the wrong "config.*.yml" on the frontend?  Or maybe 
> something is being cached on either the frontend or backend?  It also could 
> be that whatever proxy you may be using could require the 
> "X-Forwarded-Proto" header.  See this common installation issue: 
> https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-MyRESTAPIisrunningunderHTTPS,butsomeofits%22link%22URLsareswitchingtoHTTP?
>
> Tim
> --
> *From:* dspac...@googlegroups.com  on behalf 
> of Duy Minh 
> *Sent:* Tuesday, November 29, 2022 8:23 PM
> *To:* DSpace Technical Support 
> *Subject:* [dspace-tech] Re: Error with searching authorizations 
>  
> Hi Tim, 
>
> Both the backend and frontend sides seem to be correct. Please find the 
> relevant settings below:
> [image: Screenshot 2022-11-30 084609.png][image: Screenshot 2022-11-30 
> 085327.png]
>
> Is there anything I overlooked? Or could the problem be somewhere else?
>
> Regards,
> Minh
> On Wednesday, 30 November 2022 at 04:41:38 UTC+7 Tim Donohue wrote:
>
> Hi Minh,
>
> That "the supplied uri is not ours" error appears to be saying that the 
> URI sent to your REST API doesn't match what is set in your 
> "dspace.server.url" setting (on the backend's local.cfg).  So you may want 
> to verify that "dspace.server.url" setting is correct... the error you 
> shared seems to think it *should be* something like 
> http://vinspace.online/server/.  Either that, or maybe your UI's 
> configuration has the wrong URL in its "rest" settings and is trying to 
> access your REST API via a different URL. 
>
> Tim
>
> On Monday, November 28, 2022 at 6:16:14 AM UTC-6 duymin...@gmail.com 
> wrote:
>
> Hi all, 
>
> After deploying the DSpace 7.4 frontend and backend, the frontend 
> (accessible at https://vinspace.online/home) seems to be missing features 
> such as registration. Looking at the dev console shows a series of 400 
> error codes corresponding to the API requests for searching authorizations 
> of features.  
>
> The tomcat error logs show HTTP request parsing errors :
> [image: 2022-11-28.png]
> And the dspace logs show multiple warnings stating "the supplied uri is 
> not ours":
> [image: 2022-11-28 (2).png]
>
> Please advise.
>
> Regards,
> Minh
>
> -- 
> 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 a topic in the 
> Google Groups "DSpace Technical Support" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/dspace-tech/Y0bcDpSzIxc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> dspace-tech...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/28706f71-0d14-4b06-a2f5-7134065384ffn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/dspace-tech/28706f71-0d14-4b06-a2f5-7134065384ffn%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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/d4d2f6a6-eedf-4a8e-9cac-cdca4f9f0187n%40googlegroups.com.


Re: [dspace-tech] Re: Error with searching authorizations

2022-11-30 Thread 'Tim Donohue' via DSpace Technical Support
Hi Minh,

According to the initial error you shared (in your dspace.log), it's showing 
that something is trying to contact your backend using 
"http://vinspace.online/server/;.  NOTICE that it is trying to access "http" 
instead of "https"!

Your configs you shared look correct to me... and they both specify HTTPS.  So, 
it's unclear to me why your UI would be sending an HTTP request to the backend 
instead of HTTPS.

Maybe you updated the wrong "config.*.yml" on the frontend?  Or maybe something 
is being cached on either the frontend or backend?  It also could be that 
whatever proxy you may be using could require the "X-Forwarded-Proto" header.  
See this common installation issue: 
https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-MyRESTAPIisrunningunderHTTPS,butsomeofits%22link%22URLsareswitchingtoHTTP?

Tim

From: dspace-tech@googlegroups.com  on behalf of 
Duy Minh 
Sent: Tuesday, November 29, 2022 8:23 PM
To: DSpace Technical Support 
Subject: [dspace-tech] Re: Error with searching authorizations

Hi Tim,

Both the backend and frontend sides seem to be correct. Please find the 
relevant settings below:
[Screenshot 2022-11-30 084609.png][Screenshot 2022-11-30 085327.png]

Is there anything I overlooked? Or could the problem be somewhere else?

Regards,
Minh
On Wednesday, 30 November 2022 at 04:41:38 UTC+7 Tim Donohue wrote:
Hi Minh,

That "the supplied uri is not ours" error appears to be saying that the URI 
sent to your REST API doesn't match what is set in your "dspace.server.url" 
setting (on the backend's local.cfg).  So you may want to verify that 
"dspace.server.url" setting is correct... the error you shared seems to think 
it *should be* something like http://vinspace.online/server/.  Either that, or 
maybe your UI's configuration has the wrong URL in its "rest" settings and is 
trying to access your REST API via a different URL.

Tim

On Monday, November 28, 2022 at 6:16:14 AM UTC-6 duymin...@gmail.com wrote:
Hi all,

After deploying the DSpace 7.4 frontend and backend, the frontend (accessible 
at https://vinspace.online/home) seems to be missing features such as 
registration. Looking at the dev console shows a series of 400 error codes 
corresponding to the API requests for searching authorizations of features.

The tomcat error logs show HTTP request parsing errors :
[2022-11-28.png]
And the dspace logs show multiple warnings stating "the supplied uri is not 
ours":
[2022-11-28 (2).png]

Please advise.

Regards,
Minh

--
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 a topic in the Google 
Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/dspace-tech/Y0bcDpSzIxc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
dspace-tech+unsubscr...@googlegroups.com<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/28706f71-0d14-4b06-a2f5-7134065384ffn%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/28706f71-0d14-4b06-a2f5-7134065384ffn%40googlegroups.com?utm_medium=email_source=footer>.

-- 
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/PH0PR22MB3274EB43A6CC818AADBA7E95ED159%40PH0PR22MB3274.namprd22.prod.outlook.com.


[dspace-tech] Re: Error with searching authorizations

2022-11-29 Thread Duy Minh
Hi Tim,

Both the backend and frontend sides seem to be correct. Please find the 
relevant settings below:
[image: Screenshot 2022-11-30 084609.png][image: Screenshot 2022-11-30 
085327.png]

Is there anything I overlooked? Or could the problem be somewhere else?

Regards,
Minh
On Wednesday, 30 November 2022 at 04:41:38 UTC+7 Tim Donohue wrote:

> Hi Minh,
>
> That "the supplied uri is not ours" error appears to be saying that the 
> URI sent to your REST API doesn't match what is set in your 
> "dspace.server.url" setting (on the backend's local.cfg).  So you may want 
> to verify that "dspace.server.url" setting is correct... the error you 
> shared seems to think it *should be* something like 
> http://vinspace.online/server/.  Either that, or maybe your UI's 
> configuration has the wrong URL in its "rest" settings and is trying to 
> access your REST API via a different URL.
>
> Tim
>
> On Monday, November 28, 2022 at 6:16:14 AM UTC-6 duymin...@gmail.com 
> wrote:
>
>> Hi all,
>>
>> After deploying the DSpace 7.4 frontend and backend, the frontend 
>> (accessible at https://vinspace.online/home) seems to be missing 
>> features such as registration. Looking at the dev console shows a series of 
>> 400 error codes corresponding to the API requests for searching 
>> authorizations of features.  
>>
>> The tomcat error logs show HTTP request parsing errors :
>> [image: 2022-11-28.png]
>> And the dspace logs show multiple warnings stating "the supplied uri is 
>> not ours":
>> [image: 2022-11-28 (2).png]
>>
>> Please advise.
>>
>> Regards,
>> Minh
>>
>

-- 
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/28706f71-0d14-4b06-a2f5-7134065384ffn%40googlegroups.com.


[dspace-tech] Re: Error with searching authorizations

2022-11-29 Thread 'Tim Donohue' via DSpace Technical Support
Hi Minh,

That "the supplied uri is not ours" error appears to be saying that the URI 
sent to your REST API doesn't match what is set in your "dspace.server.url" 
setting (on the backend's local.cfg).  So you may want to verify that 
"dspace.server.url" setting is correct... the error you shared seems to 
think it *should be* something like http://vinspace.online/server/.  Either 
that, or maybe your UI's configuration has the wrong URL in its "rest" 
settings and is trying to access your REST API via a different URL.

Tim

On Monday, November 28, 2022 at 6:16:14 AM UTC-6 duymin...@gmail.com wrote:

> Hi all,
>
> After deploying the DSpace 7.4 frontend and backend, the frontend 
> (accessible at https://vinspace.online/home) seems to be missing features 
> such as registration. Looking at the dev console shows a series of 400 
> error codes corresponding to the API requests for searching authorizations 
> of features.  
>
> The tomcat error logs show HTTP request parsing errors :
> [image: 2022-11-28.png]
> And the dspace logs show multiple warnings stating "the supplied uri is 
> not ours":
> [image: 2022-11-28 (2).png]
>
> Please advise.
>
> Regards,
> Minh
>

-- 
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/9783d0fa-9612-4c45-a925-556bea1427f1n%40googlegroups.com.