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

[funfuzz] When FuzzManager server is down, retry after a longer period of time #145

Closed
nth10sd opened this issue Nov 8, 2017 · 1 comment

Comments

@nth10sd
Copy link
Contributor

nth10sd commented Nov 8, 2017

Server unexpectedly responded with status code 503: 
Unable to find required entries in .fuzzmanagerconf, exiting...

Something went wrong when calling: ['/Users/fuzz7/trees/venv-fm/bin/python', '-u', '-m', 'funfuzz.bot', '-b', '--random', '--target-time', '28800']
CalledProcessError()
Traceback (most recent call last):
  File "/Users/fuzz7/trees/venv-fm/lib/python2.7/site-packages/funfuzz/loop_bot.py", line 32, in loop_seq
    subprocess.check_call(cmd)
  File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 186, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['/Users/fuzz7/trees/venv-fm/bin/python', '-u', '-m', 'funfuzz.bot', '-b', '--random', '--target-time', '28800']' returned non-zero exit status 1

funfuzz retries after a few minutes when the server returns a 503 error. We should probably increase this timeout period, probably to 15 or 30 mins.

@nth10sd
Copy link
Contributor Author

nth10sd commented Feb 15, 2019

An exponential backoff algorithm was implemented in rev b0c6510.

@nth10sd nth10sd closed this as completed Feb 15, 2019
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