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

getAccount(): Undefined array key "initialIp" #68

Open
ishamshur opened this issue Dec 6, 2024 · 5 comments
Open

getAccount(): Undefined array key "initialIp" #68

ishamshur opened this issue Dec 6, 2024 · 5 comments

Comments

@ishamshur
Copy link

ishamshur commented Dec 6, 2024

When initializing the Client class, the method - getAccount() is called, which throws an exception - Undefined array key “initialIp”
return new Account($data['contact'], $date, ($data['status'] == 'valid'), $data['initialIp'], $accountURL);

@douw3rd
Copy link

douw3rd commented Dec 6, 2024

Not sure what's suddenly causing this (haven't been able to find a change on let's encrypt's side yet) but I've temporarily duct taped it with:

src/Client.php r355 -> return new Account($data['contact'], $date, ($data['status'] === 'valid'), $data['initialIp'] ?? '', $accountURL);

@Astyk
Copy link

Astyk commented Dec 7, 2024

According to RFC 8555, there is no 'initilIp' property in Account object.

@d00p
Copy link

d00p commented Dec 9, 2024

Found this regarding the issue: https://community.letsencrypt.org/t/has-the-output-of-initialip-changed-in-the-account-directory/229823

So the "duct tape" solution of @douw3rd seems a good way to go for now

@ishamshur
Copy link
Author

Looks like this repository is no longer supported. Has anyone made a fork with a fix for this bug?

@bessone
Copy link
Contributor

bessone commented Dec 13, 2024

@ishamshur my fork has the fix that solves the bug, i also created a PR, i think as soon as the maintainers have time they will fix the problem.

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

5 participants