-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
portal list fails with 500 service failure #2042
Comments
@mbjones I am not able to reproduce this. I tried forcing the portal search filters to use all of your group IDs (by hardcoding in the values in Filters.addWritePermissionFilter), but was able to get a list of results without error. Similarly, the curl command you shared is working for me. Are there any other details that you can share that might help enable me to reproduce the error? For future reference, here are the subject IDs I used: [
"CN=dataone\-coredev,DC=dataone,DC=org",
"CN=NCEAS\-interns,DC=dataone,DC=org",
"CN=SASAP Data Team,DC=dataone,DC=org",
"CN=DBO,DC=dataone,DC=org",
"CN=knb\-data\-admins,DC=dataone,DC=org",
"CN=DataONE\-Support,DC=dataone,DC=org",
"CN=Likely Suspects Framework Users,DC=dataone,DC=org",
"CN=SASAP,DC=dataone,DC=org",
"CN=arctic\-data\-admins,DC=dataone,DC=org",
"CN=cerp\-sfwmd\-admins,DC=dataone,DC=org",
"http\:\/\/orcid.org\/0000\-0003\-0077\-4738",
"CN=Matt Jones A729,O=Google,C=US,DC=cilogon,DC=org",
"UID=jones,O=NCEAS,DC=ecoinformatics,DC=org"
] |
More details. From the developer Network tab, I see a SOLR URI request- https://mn-ucsb-1.dataone.org/knb/d1/mn/v2/query/solr/?q=%28%28rightsHolder%3A%28%22CN%3Ddataone%5C-coredev%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3DNCEAS%5C-interns%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3DSASAP+Data+Team%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3DDBO%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3Dknb%5C-data%5C-admins%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3DDataONE%5C-Support%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3DLikely+Suspects+Framework+Users%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3DSASAP%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3Dcerp%5C-sfwmd%5C-admins%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3Darctic%5C-data%5C-admins%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22http%5C%3A%5C%2F%5C%2Forcid.org%5C%2F0000%5C-0003%5C-0077%5C-4738%22+OR+%22CN%3DMatt+Jones+A729%2CO%3DGoogle%2CC%3DUS%2CDC%3Dcilogon%2CDC%3Dorg%22+OR+UID%3Djones%2CO%3DNCEAS%2CDC%3Decoinformatics%2CDC%3Dorg%29+OR+writePermission%3A%28%22CN%3Ddataone%5C-coredev%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3DNCEAS%5C-interns%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3DSASAP+Data+Team%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3DDBO%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3Dknb%5C-data%5C-admins%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3DDataONE%5C-Support%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3DLikely+Suspects+Framework+Users%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3DSASAP%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3Dcerp%5C-sfwmd%5C-admins%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3Darctic%5C-data%5C-admins%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22http%5C%3A%5C%2F%5C%2Forcid.org%5C%2F0000%5C-0003%5C-0077%5C-4738%22+OR+%22CN%3DMatt+Jones+A729%2CO%3DGoogle%2CC%3DUS%2CDC%3Dcilogon%2CDC%3Dorg%22+OR+UID%3Djones%2CO%3DNCEAS%2CDC%3Decoinformatics%2CDC%3Dorg%29+OR+changePermission%3A%28%22CN%3Ddataone%5C-coredev%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3DNCEAS%5C-interns%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3DSASAP+Data+Team%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3DDBO%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3Dknb%5C-data%5C-admins%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3DDataONE%5C-Support%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3DLikely+Suspects+Framework+Users%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3DSASAP%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3Dcerp%5C-sfwmd%5C-admins%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22CN%3Darctic%5C-data%5C-admins%2CDC%3Ddataone%2CDC%3Dorg%22+OR+%22http%5C%3A%5C%2F%5C%2Forcid.org%5C%2F0000%5C-0003%5C-0077%5C-4738%22+OR+%22CN%3DMatt+Jones+A729%2CO%3DGoogle%2CC%3DUS%2CDC%3Dcilogon%2CDC%3Dorg%22+OR+UID%3Djones%2CO%3DNCEAS%2CDC%3Decoinformatics%2CDC%3Dorg%29%29+AND+formatId%3A*dataone.org%5C%2Fportals*+AND+-obsoletedBy%3A*%29&fl=id%2CseriesId%2Ctitle%2CformatId%2Clabel%2Clogo%2Cdatasource%2CwritePermission%2CchangePermission%2CrightsHolder%2Cabstract&sort=dateUploaded+desc&rows=99999&start=0&wt=jsonThe error response provides a clue: <error detailCode="Solr server error" errorCode="500" name="ServiceFailure">
<description>Error from server at http://localhost:8983/solr/metacat-index: Expected mime type application/octet-stream but got text/html. <h1>Bad Message 431</h1><pre>reason: Request Header Fields Too Large</pre></description>
</error> When I look at my request headers, the only large header is the |
I believe this issue is an instance of #1712; related to #1998 Here is how I am able to reproduce this issue:
@mbjones can you confirm that you do not see this issue on the KNB (where |
Good catch, @robyngit -- that makes perfect sense. And you're right, it works fine for me on the KNB site. The |
In reference to the (new)
It appears that POST is now supported on the CN, so I updated the DataONE theme to allow queries using POST. |
Describe the bug
Accessing https://search.dataone.org/portals produces two service errors, and does not show the list of portals.
In discussion today, we speculated that it might be related to the number of groups I am a part of, or something like that, as it was not happening for other people. From the network inspector, here is one of the errors that is producing a 500 ERROR response:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Portal list should display wothout errors.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: