Post

Replies

Boosts

Views

Activity

getaddrinfo AF_INET6 lasts 5 seconds on macOS Sonoma
Hello; we observe slow behavior on some macOS systems which were upgraded from macOS Ventura to macOS Sonoma. , when they are connected to the company networks. Investigation learns that the getaddrinfo call querying ipv6 is taking 5 seconds before returning. Querying information for ipv4 (ai_famlly AF_UNSPEC) returns in few mSec correct. For ipv6, I tried struct addrinfo ai_family AF_INET6 and ai_flags AI_DEFAULT , as well as AI_ALL but no help. Querying for ipv6 lasts 5 seconds. Is there a fix or workaround for this? When switching off Wi-Fi , the getaddrinfo returns in few mSec ( similar to the ipv4 check ). The version is macOS Sonoma 14.6.1 , but also observed on other Sonoma 14.x versions and other sites/companies worldwide.
5
0
224
Sep ’24
PackageKit: Skipping component ... , but downgrades component version
I have 2 package versions, let say 10.01 and 10.02. I install package version 10.02. Pkgutil --pkg-info lists 10.02. When installing version 10.01 then, the installer log says PackageKit: Skipping component .10.01... because the version ..10.02. is already installed.... So far so good. No payload is extracted. Good. But .... After installer 10.02 closes, the package version (pkgutil --pkg-info) is downgraded to 10.01; apparently. Is this a bug in "Installer" or "installd" or how to fix ? Packages are created using pkgbuild / productbuild, MacOS 10.14, 10.15
0
0
667
May ’21
NSURLSession: how to program proxy username password?
Hello;i try to use the native calls to execute soap calls : NSURL, dataTaskWithRequest, ...This works well when having direct access to the internet, as well as connecting via proxy server.Session and Task specific challenge handlers didReceiveChallenge are implemented.All fails however when System Preferences are configured for proxy server requiring authentication.In this configuration, there is a popup panel (provided by macOS?) "Proxy Authentication Required" - Not Now' - "System Preferences". 1. When clicking "Not Now" button, there is a console message " mach_port_deallocate (os/kern) invalid right"followed by task specific challenge call NSURLAuthenticationMethodHTTPBasic2.When clicking on System Preferences button, there is Username, Password panelAlso in the console there is a message*** WARNING: CFMachPortSetInvalidationCallBack() called on a CFMachPort with a Mach port (0x11503) which does not have any send rights. This is not going to work. Callback function: 0x7fff4ad86744When entering the proxy credentials, there is again a console message "....mach_port_deallocate .. invalid right".But no handlers didReceiveChallenge is called.How can i establish the handler didReceiveChallenge to be called (is not called now!) and can i use the macos? provided credential panel info (username password)?to be send along to completionhandler.
1
0
999
Dec ’19