IQSS logo

IRC log for #dataverse, 2021-04-13

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
06:31 pkiraly joined #dataverse
07:05 Virgile joined #dataverse
07:17 Virgile joined #dataverse
10:52 juancorr joined #dataverse
10:55 Agostinho-Minho joined #dataverse
11:07 lincoln joined #dataverse
11:10 Agostinho-Minho hi, my name is Agostinho. i work with Pedro Principe and is team. we have a problem with privateURL's.
11:11 Agostinho-Minho we are trying to use privateURL, but sotmehing is not working:
11:11 Agostinho-Minho example:
11:11 Agostinho-Minho privateURL: https://datarepositorium.uminho.pt/privateurl.xhtml?token=d59ec7f8-9e32-41db-aa05-27eb3560faaa
11:11 Agostinho-Minho when i try open this privateURL, the browser show error: "Page Not Found - The page you are looking for was not found. If you believe this is an error, please contact Data RepositoriUM for assistance."
11:11 Agostinho-Minho and url of the browser transform in this: https://datarepositorium.uminho.pt/dataset.xhtml?persistentId=doi%253A10.34622%252Fdatarepositorium%252FVFM63R&version=DRAFT
11:11 Agostinho-Minho i compare this URL with URL of a published dataset and change it to:
11:12 Agostinho-Minho https://datarepositorium.uminho.pt/dataset.xhtml?persistentId=doi%3A10.34622%2Fdatarepositorium%2FVFM63R or https://datarepositorium.uminho.pt/dataset.xhtml?persistentId=doi:10.34622/datarepositorium/VFM63R
11:12 Agostinho-Minho and browser show the dataset that we create privateURL (the dataset we want to share in draft)
11:13 Agostinho-Minho LOGs of server:
11:13 Agostinho-Minho erros: [2021-04-12T16:23:59.337+0100] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.​privateurl.PrivateUrlPage] [tid: _ThreadID=27 _ThreadName=http-listener-1(3)] [timeMillis: 1618241039337] [levelValue: 800]  [[Redirecting PrivateUrlUser '#268' to /dataset.xhtml?persistentId=doi:10.34622/datarepos​itorium/VFM63R&version=DRAFT&faces-redirect=true]]  [2021-04-12T16:23:59.364+0100] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.Glo
11:13 Agostinho-Minho [2021-04-12T16:23:59.337+0100] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.​privateurl.PrivateUrlPage] [tid: _ThreadID=27 _ThreadName=http-listener-1(3)] [timeMillis: 1618241039337] [levelValue: 800]  [[Redirecting PrivateUrlUser '#268' to /dataset.xhtml?persistentId=doi:10.34622/datarepos​itorium/VFM63R&version=DRAFT&faces-redirect=true]]
11:13 Agostinho-Minho [2021-04-12T16:23:59.364+0100] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.GlobalId] [tid: _ThreadID=28 _ThreadName=http-listener-1(4)] [timeMillis: 1618241039364] [levelValue: 800]  [[Error parsing identifier: doi%3A10.34622%2Fdatarepositorium%2FVFM63R: '<protocol>:' not found in string]]
11:14 Agostinho-Minho [2021-04-12T16:23:59.365+0100] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.DvObjectServiceBean] [tid: _ThreadID=28 _ThreadName=http-listener-1(4)] [timeMillis: 1618241039365] [levelValue: 800]  [[Invalid identifier: doi%3A10.34622%2Fdatarepositorium%2FVFM63R]]
11:14 Agostinho-Minho [2021-04-12T16:23:59.365+0100] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.GlobalId] [tid: _ThreadID=28 _ThreadName=http-listener-1(4)] [timeMillis: 1618241039365] [levelValue: 800]  [[Error parsing identifier: doi%3A10.34622%2Fdatarepositorium%2FVFM63R: '<protocol>:' not found in string]]
11:14 Agostinho-Minho [2021-04-12T16:23:59.365+0100] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.DvObjectServiceBean] [tid: _ThreadID=28 _ThreadName=http-listener-1(4)] [timeMillis: 1618241039365] [levelValue: 800]  [[Invalid identifier: doi%3A10.34622%2Fdatarepositorium%2FVFM63R]]
11:14 Agostinho-Minho [2021-04-12T16:23:59.365+0100] [glassfish 4.1] [WARNING] [] [edu.harvard.iq.dataverse.DatasetPage] [tid: _ThreadID=28 _ThreadName=http-listener-1(4)] [timeMillis: 1618241039365] [levelValue: 900]  [[No such dataset: doi%3A10.34622%2Fdatarepositorium%2FVFM63R]]
11:20 Agostinho-Minho you can check my configs: https://datarepositorium.uminho.pt/api/admin/settings/
11:21 Agostinho-Minho our version: https://datarepositorium.uminho.pt/api/info/version
11:40 juancorr joined #dataverse
11:58 lincoln joined #dataverse
13:07 dataverse-user joined #dataverse
13:08 dataverse-user left #dataverse
13:08 lincoln92 joined #dataverse
13:33 Agostinho-Minho what this means? - [2021-04-12T16:23:59.364+0100] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.GlobalId] [tid: _ThreadID=28 _ThreadName=http-listener-1(4)] [timeMillis: 1618241039364] [levelValue: 800] [[Error parsing identifier: doi%3A10.34622%2Fdatarepositorium%2FVFM63R: '<protocol>:' not found in string]]
14:28 pameyer joined #dataverse
14:31 pameyer Agostinho-Minho: I don't know much about privateURL, but that error has me wondering if it might be happier behind apache
14:33 pameyer the "error parsing identifier" and what looks like a non-url-decoded PID (and your version API looking like it's direct to glassfish)
14:51 Agostinho-Minho i your opinion problem is on Apache?
14:54 pameyer I'm not 100% sure - I suspect the problem is that glassfish is expecting apache to do urldecoding, and with glassfish handling the request directly that may not be happening
14:55 pameyer but I don't know enough about the PrivateURL implementation to have high confidence that's what's actually causing the problem
15:30 pdurbin Agostinho-Minho: Private URL usually "just works". Let me catch up on the logs.
15:34 Agostinho-Minho on apache, i create a virtualhost and put this:
15:35 Agostinho-Minho ProxyPass / http://127.0.0.1:8080/
15:35 Agostinho-Minho ProxyPassReverse / http://127.0.0.1:8080/
15:37 Agostinho-Minho now im sarching where i config AJP connector ??? because when i do a "netstat -tulpn" ,  there is only 8009 only on tcp6
15:43 pdurbin It's working for me. I'm getting something like this: Redirecting PrivateUrlUser '#45' to /dataset.xhtml?persistentId=doi:10.5072/FK​2/LMJXDN&version=DRAFT&faces-redirect=true
15:44 pdurbin We usually use this: ProxyPass / ajp://localhost:8009/ ... please see https://guides.dataverse.org/en/5.4/installation/shibboleth.html#configure-apache
15:45 pdurbin For more on AJP, please see https://guides.dataverse.org/en/5.4/installation/shibboleth.html#ajp
15:46 pdurbin In short, the Dataverse installer enables AJP.
15:51 Agostinho-Minho ok
15:52 Agostinho-Minho i im testing now proxypass with ajp
15:53 Agostinho-Minho thanks all for info
15:53 pdurbin Great. I'm not sure if it'll fix it, though. I was just looking through the code. Not sure what is going on. We might need to have you open an issue or a ticket.
15:53 Agostinho-Minho with AJP works fine
15:53 pdurbin oh! great!
15:54 pdurbin pameyer: thanks!
15:54 Agostinho-Minho i will finalize configuration of apache with proxypass with AJP
15:54 Agostinho-Minho tanks again
15:55 pdurbin you're welcome
15:57 dataverse-user joined #dataverse
16:56 pameyer pdurbin , Agostinho-Minho : great, glad that did it
17:08 Agostinho-Minho thankyou
21:15 pdurbin left #dataverse

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.