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

cmd: Adds check for invalid inferred IP #1859

Merged
merged 1 commit into from
May 5, 2021

Conversation

reubenr0d
Copy link
Contributor

@reubenr0d reubenr0d commented Apr 29, 2021

What does this pull request do? Explain your changes. (required)

Specific updates (required)

  • Adds check for invalid inferred IP for when https://api.ipify.org?format=text responds with success but there is an issue in the response

How did you test each of these updates (required)

  • Hardcoded the response from IP check as "%" using body = []byte("%") to reproduce the error

Does this pull request close any open issues?

Fixes #1829

Checklist:

@kyriediculous kyriediculous self-requested a review April 29, 2021 14:47
cmd/livepeer/livepeer.go Outdated Show resolved Hide resolved
CHANGELOG_PENDING.md Outdated Show resolved Hide resolved
CHANGELOG_PENDING.md Outdated Show resolved Hide resolved
@kyriediculous
Copy link
Contributor

There appears to be a merge conflict, you should be able to pull the latest upstream master and rebase on top of it. Once that's done should be GTG.

Copy link
Contributor

@kyriediculous kyriediculous left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@kyriediculous
Copy link
Contributor

I forgot to mention, let's keep the PR open until a bounty is attached

@kyriediculous kyriediculous linked an issue May 5, 2021 that may be closed by this pull request
@kyriediculous kyriediculous merged commit 52c797a into livepeer:master May 5, 2021
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

Successfully merging this pull request may close these issues.

nil pointer error in getServiceURI() on startup
2 participants