# I place all the SSL entries in the following Include file to unclutter my site definition file
I've tried following the instructions in https://wiki.lyrasis.org/display/DSDOC8x/Installing+DSpace, but still the same error.
Guess the best way might be restarting from the snapshot of the empty VM and redo the installation following only this tutorial.
Thanks.
--
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/QeXXjQGmA3M/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/17dbbccc-9a3e-423d-a273-64ae84424f7en%40googlegroups.com.
--
-----------------------------------------------------
Marcos Roberto Greiner
Os otimistas acham que estamos no melhor dos mundos
Os pessimistas tem medo de que isto seja verdade
James Branch Cabell
-----------------------------------------------------
Ok. I decided to try and redo the install following only the instructions on https://wiki.lyrasis.org/display/DSDOC8x/Installing+DSpace.
I'm running on a similar problem, but noted that I had implemented a fix to another problem I was seeing. On the logs, dspace kept complaining the following:
2|dspace-ui | The response for
'http://dspace.fundunesp.org.br/server/api/discover/browses/dateissued/items?sort=default,ASC&page=0&size=20'
has the self link
'http://dspace.fundunesp.org.br/server/api/discover/browses/dateissued/items?sort=default,ASC&page=0&size=20&embed=thumbnail'.
These don't match. This could mean there's an issue with the REST
endpoint
The problem here is that this search is pointing to http://dspace (http, without the s....). I had configured my apache server to rewrite all http connections to https, but this seems to have masqueraded the real problem, so I decided to dig a little deeper. In https://dspace.fundunesp.org.br/server/#/server/api found something curious in the following line of the "response body" section:
....
},
"self": {
"href": "http://dspace.fundunesp.org.br/server/api"
},
"site
.....
For some reason,the "self" definition is without the ssl. All the other entries in the "response body" section are correctly set to https. I couldn't find where I set this definition. Does somebody know how I fix this (as in, correct this 'self' definition to https)? I suspect that this is the root of the problems I'm seeing.
Thanks,
Roberto
--
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/QeXXjQGmA3M/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/17dbbccc-9a3e-423d-a273-64ae84424f7en%40googlegroups.com.
There where other minor problems, but I found what the main error was!
When I created the apache config, I neglected to copy those two lines:
ProxyPreserveHost
On RequestHeader
set X-Forwarded-Proto https
Fixing that corrected the problem and now
the login is working and I have my production setup.
Thanks.
--
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/QeXXjQGmA3M/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/17dbbccc-9a3e-423d-a273-64ae84424f7en%40googlegroups.com.