Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with "project" facet before any data is published ? #101

Open
LucaCinquini opened this issue Oct 19, 2016 · 0 comments
Open

Problem with "project" facet before any data is published ? #101

LucaCinquini opened this issue Oct 19, 2016 · 0 comments
Assignees
Milestone

Comments

@LucaCinquini
Copy link
Member

Who: Guillaume

I try the following on our remaining node without published dataset.

a.The URL http://esgf-local.ipsl.upmc.fr/esg-search/search/ is working fine.
b. When I reach a child project page (e.g., https://esgf-local.ipsl.upmc.fr/search/cordex-ipsl/) I get the following on /etc/httpd/logs/error_log
<—
[Wed Oct 19 02:42:41 2016] [error] Search() view: HTTP Request method=GET fromRedirectFlag flag=False HTTP parameters=<QueryDict: {}>
[Wed Oct 19 02:42:41 2016] [error] Search GET: adding fixed project constraints
[Wed Oct 19 02:42:41 2016] [error] Search Input
[Wed Oct 19 02:42:41 2016] [error] \t Query= Type=Dataset Offset=0 Limit=10
[Wed Oct 19 02:42:41 2016] [error] \t Constraint key=project value(s)=[u'CORDEX']
[Wed Oct 19 02:42:41 2016] [error] Search Input
[Wed Oct 19 02:42:41 2016] [error] \t Query= Type=Dataset Offset=0 Limit=0
[Wed Oct 19 02:42:41 2016] [error] \t Constraint key=project value(s)=[u'CORDEX']
[Wed Oct 19 02:42:41 2016] [error] ESGF search URL=http://esgf-local.ipsl.upmc.fr/esg-search/search/?offset=0&limit=0&type=Dataset&replica=false&latest=true&project=CORDEX&facets=project%2Cproduct%2Cdomain%2Cinstitute%2Cdriving_model%2Cexperiment%2Cexperiment_family%2Censemble%2Crcm_name%2Crcm_version%2Ctime_frequency%2Cvariable%2Cvariable_long_name%2Ccf_standard_name%2Cdata_node
[Wed Oct 19 02:42:41 2016] [error] HTTP Request Error
—>
c. The URL 'http://esgf-local.ipsl.upmc.fr/esg-search/search/?offset=0&limit=0&type=Dataset&replica=false&latest=true&project=CORDEX&facets=project%2Cproduct%2Cdomain%2Cinstitute%2Cdriving_model%2Cexperiment%2Cexperiment_family%2Censemble%2Crcm_name%2Crcm_version%2Ctime_frequency%2Cvariable%2Cvariable_long_name%2Ccf_standard_name%2Cdata_node' actually fails from my brower or directly from the machine using curl:
<—
[root@esgf-local ~]# curl 'http://esgf-local.ipsl.upmc.fr/esg-search/search/?offset=0&limit=0&type=Dataset&replica=false&latest=true&project=CORDEX&facets=project%2Cproduct%2Cdomain%2Cinstitute%2Cdriving_model%2Cexperiment%2Cexperiment_family%2Censemble%2Crcm_name%2Crcm_version%2Ctime_frequency%2Cvariable%2Cvariable_long_name%2Ccf_standard_name%2Cdata_node'

<title>Apache Tomcat/8.0.33 - Error report</title><style type="text/css">H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}.line {height: 1px; background-color: #525D76; border: none;}</style>

HTTP Status 400 - Invalid HTTP query parameter=project

type Status report

message Invalid HTTP query parameter=project

description The request sent by the client was syntactically incorrect.


Apache Tomcat/8.0.33

—>

As yesterday, if I remove the project constraint/parameter from the URL, everything works fine.

@LucaCinquini LucaCinquini added this to the Release 4.11.0 milestone Oct 19, 2016
@LucaCinquini LucaCinquini self-assigned this Oct 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant