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

getaddrinfo EAI_AGAIN graph.microsoft.com #87

Closed
CHEETX opened this issue Jul 10, 2024 · 3 comments
Closed

getaddrinfo EAI_AGAIN graph.microsoft.com #87

CHEETX opened this issue Jul 10, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@CHEETX
Copy link

CHEETX commented Jul 10, 2024

Hi,

We have AzureAd-LDAP-wrapper 2.0.2 running on Container with DSM 7.2.1-69057 Update 5.
The logs of the container shows a graph error: "getaddrinfo EAI_AGAIN graph.microsoft.com".
This seems to be linked to a problem with the DNS.

The logs:

graphErrorDetail: �[1mnull�[22m 2024/07/10 14:02:30 stdout error: �[32m'getaddrinfo EAI_AGAIN graph.microsoft.com'�[39m, 2024/07/10 14:02:30 stdout opts: {}, 2024/07/10 14:02:30 stdout endpoint: �[32m"https://graph.microsoft.com/v1.0/users?$count=true&$select=businessPhones,displayName,givenName,jobTitle,mail,mobilePhone,officeLocation,preferredLanguage,surname,userPrincipalName,id,identities,userType,externalUserState,accountEnabled&$filter=userType%20eq%20'Member'%20and%20companyName%20ne%20null%20and%20assignedLicenses%2F%24count%20ne%200"�[39m, 2024/07/10 14:02:30 stdout ERROR: 2024-07-10T12:02:30.011Z: graph.fetch.js callApi error with { 2024/07/10 14:02:22 stdout WARN: 2024-07-10T12:02:22.032Z: graph.fetch.js getGroups() no groups found 2024/07/10 14:02:22 stdout }

Any idea to fix this ?

Thanks

Etienne

@ahaenggli
Copy link
Owner

Do you use a proxy or something similar in your network?
If not: maybe it's enough to just set a dns server like this:
image

@CHEETX
Copy link
Author

CHEETX commented Jul 15, 2024

Thank you for the response, I really appreciate your work.
I'm still in the observation phase but I think I've found the solution. Of course, i started by changing the DNS of the Synology by testing with 1.1.1.1 without improvements.

I read on some forums that the node version could influence this error. so I changed "NODE_VERSION" parameters from 18.17.0 to 22.4.1. So far no errors, knock on wood.

Have a good day!
Etienne

@ahaenggli
Copy link
Owner

Thanks for the feedback, I'll update the nodejs version used in the dockerfile with one of the next updates :)

@ahaenggli ahaenggli added the bug Something isn't working label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants