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

popdbcombine(lastAcc) APIs return proxy error if sitename is not passed #68

Open
nikmagini opened this issue Jun 2, 2015 · 0 comments

Comments

@nikmagini
Copy link
Contributor

The popdbcombine/popdbcombineLastAcc APIs return a '502 proxy error' after a long time when the 'sitename' argument is omitted, for example:

https://cmsweb-testbed.cern.ch/popdb/victorinterface/popdbcombineLastAcc/

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /auth/complete/popdb/victorinterface/popdbcombineLastAcc/.

Reason: Error reading from remote server

Looking at the code, it seems that sitename defaults to 'T%' when omitted, causing a large query on popdb and an error from the PhEDEx datasvc. Recommending to make the 'sitename' argument mandatory instead, and return error immediately.

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