Hi! I have successfully setup a reverse proxy on both apache/tomcat and both port 80 and 443 loads the REST API. I have already got my SSL certificate from certbot and I've configured a virtualhost that listens on 443However, admin login works only if i use a virtualhost that is running on port 80 but not when I login on a virtualhost that is running on port 443 (with ssl). Basically, I can only login to my REST API only if it is on HTTP but not when it is on HTTPS.
I checked my access logs and it returns: 127.0.0.1 - - [time/date] "POST /server/api/authn/login HTTP/1.1" 403 501 "https://[domainname]server/login.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.88 Safari/537.36" Additional Info: my /etc/hosts looks like, 127.0.0.1 [domain name] 127.0.0.1 localhost private IPV4 [domain name] On Friday, March 25, 2022 at 10:34:06 PM UTC+8 Tim Donohue wrote: > You'd need to look for the underlying error message, which will either be > in the User Interface or the backend logs. Here's our troubleshooting > guide: > https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove) > > Without the underlying error message, it's almost impossible for anyone to > help. The underlying error message will tell others what is going on in > your system. > > Once you find it, you can check if it's already something someone has > encountered by searching this list. If not, then send it to this list for > more support. > > Tim > > On Friday, March 25, 2022 at 7:52:00 AM UTC-5 [email protected] wrote: > >> Hi! >> >> I created a dspace admin (which is saved on eperson). I can login with it >> on [domain name]:8080/server, but I cannot login using apache's servername >> ([domain name]/server). What seems to be causing this? I think the requests >> is sent to tomcat but tomcat cant seem to reach postgresql. Can someone >> help me? 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 the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/19fd3695-942a-4605-a55e-7a5381608445n%40googlegroups.com.
