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

Long timeout #1

Closed
brancengregory opened this issue Apr 19, 2021 · 6 comments
Closed

Long timeout #1

brancengregory opened this issue Apr 19, 2021 · 6 comments

Comments

@brancengregory
Copy link

When a Processor ID is entered incorrectly to environment variable, if you submit a request using dai_sync the request will hang, with no timeout

@Hegghammer
Copy link
Owner

Thanks for letting me know! Can I just clarify what you mean by "incorrectly" - do you mean a processor ID that is incorrectly formatted (e.g. with a space in the middle) or one that is correctly formatted but not associated with the user?

@brancengregory
Copy link
Author

Sorry for the slow response. My comment regards your second statement: one that is correctly formatted but not associated with the user. Thanks

@Hegghammer
Copy link
Owner

Ok, I see. I'll see if I can put in a kill switch or something.

@brancengregory
Copy link
Author

Thank you for all your work!

@Hegghammer
Copy link
Owner

I am unable to replicate the error. When I submit a dai_sync() request with a fictional proc_id ("1234567890123456") - whether supplied directly as a parameter or via an environmental variable - I get the following error message after about 5 seconds: "File submitted at . HTTP status: 404 - unsuccessful.
Error: "Processor with id '1234567890123456' not found."

@brancengregory
Copy link
Author

Hmm okay. It has been a while since I was experiencing it, and don't have time to reproduce on my end. If I run in to the issue again I will document what happens better. We can close this for now. Thanks so much

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

2 participants