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

Request Error/Network Error : but NOT for Sample Tests! #1155

Closed
nomennescio opened this issue Sep 28, 2017 · 9 comments
Closed

Request Error/Network Error : but NOT for Sample Tests! #1155

nomennescio opened this issue Sep 28, 2017 · 9 comments

Comments

@nomennescio
Copy link

For https://www.codewars.com/kata/brainfuck-translator/train/cpp

I can run sample tests run fine, but full tests give error:
"Request Error:
Network Error

This error was caused due to an issue processing the web request, not because of an issue executing your code. You can retry the request."

After that, I can still run sample tests if I reload the page.
This has been 100% reproducable for the past half hour.

@nomennescio
Copy link
Author

Note: https://codewars.statuspage.io/ gives 100% operational.

@nomennescio
Copy link
Author

nomennescio commented Sep 29, 2017

Might be (indirectly) related to #1143 and/or #1146

@chris-t-w
Copy link

I'm seeing the same thing on the same Kata.

@nomennescio
Copy link
Author

After one week, still consistently the error can be reproduced

@nomennescio
Copy link
Author

When removing ALL printing to stdout, I CAN 'Attempt' the code (it times out, but it does run!)
So either this is a strange coincidence, otherwise printing to stdout causes this behaviour.
In the latter case I would also say this is a bug.

@nomennescio
Copy link
Author

I think I encountered a similar instantation in another Kata. In one run of sample tests I did pass,
but when adapting code and accidentally introducing a non-terminating loop, thereby going beyond the timeout of 12s, I got the same warning:

"Request Error:
Network Error

This error was caused due to an issue processing the web request, not because of an issue executing your code. You can retry the request."

Therefore, it seems that this is reported if a previous run was succesful, but the current run did timeout?
In that case the reporting is incorrect, and should report it as a timeout.

@chris-t-w
Copy link

chris-t-w commented Oct 8, 2017

I had a line in my main function that looked like this:

std::cout << "source: " << source_code << std::endl;

With this line present, I was receiving the following error:

This error was caused due to an issue processing the web request, not because of an issue executing your code. You can retry the request.

I had a hunch that the input was so large that it was causing issues trying to output it, so I printed just the length of the input instead.

After doing so, I no longer see the error and I can see the results of running the tests. In the second test, it seems that one of the input strings is 2222,000 characters in length. I suspect trying to print this string resulted in the error.

It seems that this error used to be reported as:

Failed to process output. It is possible that too much data was written to STDOUT.

Perhaps this has been changed or is now broken.

@patricksile
Copy link

Hey I have been going through the same problem for 2 weeks now and I can tell you it is pretty bad for me, and I don't know what can be done about it @jhoffner please do something. Thanks....

@kazk
Copy link
Member

kazk commented Apr 19, 2018

We've replaced the runner. It should be more stable and have much better performance, especially for free users.
Please open a new issue if you're still experiencing issues.

@kazk kazk closed this as completed Apr 19, 2018
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

4 participants