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

ENH: return more information on ConnectionError #595

Open
bsipocz opened this issue Sep 11, 2024 · 4 comments
Open

ENH: return more information on ConnectionError #595

bsipocz opened this issue Sep 11, 2024 · 4 comments

Comments

@bsipocz
Copy link
Member

bsipocz commented Sep 11, 2024

I see more and more ConnectionError type tracebacks (I think it's just a side effect of we started testing more of the materials). One thing that comes to mind is that the traceback is never useful, and I wonder if/how we could make it more informative to users.

E.g. consider this tap query: https://github.com/Caltech-IPAC/irsa-tutorials/actions/runs/10806201868/job/30005528549#step:5:418

As a maintainer, I see that this is a temporary server side issue, but as a user I would value an easy way to see the actual query that was being sent up to the server (and even better, a copy pasteable URL that I could try in the browser; though I suspect that would be not exactly practical as we send our queries via requests rather than building up the query in a URL manually)

I remember various flavours of this same problem came up over the years, but couldn't dig up a currently open issue for it. Feel free to xref/or even close, if you find it otherwise.

@msdemlei
Copy link
Contributor

msdemlei commented Sep 12, 2024 via email

@ManonMarchand
Copy link
Member

ManonMarchand commented Sep 12, 2024

Does it only happen for 503 error codes? Could we confuse a server down with something else?

PS: I'll be in Malta 🙂

@msdemlei
Copy link
Contributor

msdemlei commented Sep 12, 2024 via email

@ManonMarchand
Copy link
Member

Then I don't feel like your message is too long, I like it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants