Randomly blocked Internet Access in Codex despite unrestricted-Access Setting

Usually I let Codex decide which Python packages to use for the implementation of a feature. Since I don’t know beforehand which one it will decide on, I gave unrestricted internet access in the environment settings so it can install necessary packages on the run:

Despite these settings Codex gets blocked randomly. This is one of the messages I get from Codex:

Network access

Some requests to install torch were blocked due to network access restrictions. Consider granting access to the following domains:

  • pypi.org (pip install attempts)
  • files.pythonhosted.org (package downloads)

The blocks appear to be random. I have seen situations where the very same package can be installed in a different version of the same task.

Am I missing something or is this a bug in the environment settings?

I also have set All (unrestricted) but am still getting

Network access

Some requests were blocked due to network access restrictions. Consider granting access in environment settings.

I am confused because I have included unrestricted access in the environment.

Similar/same : Network access is open to defaults and my specific sites but the error for no network access kills the process. Note that it’s not failing to access a site, it’s failing to access the network.

I have same issue - only works one action per chat too, but that conection issue is the worst.