Skip to content

import pyoptsparse hangs (on local machine) when using a vpn #355

Open
@cfe316

Description

@cfe316

Description

This feels like an odd one.
I'm running python on my local machine.
When I'm not connected to a certain VPN, I can import pyoptsparse. When I am connected, it hangs on the import command.
This happens both in a python repl and a jupyter notebook (using the same kernel).

The import command stops hanging and succeeds a few moments after disconnecting the vpn.

This seems very odd to me, as I don't know why there would be any network-calling code in pyoptsparse (other than perhaps to check license for certain optimizers?)

Steps to reproduce issue

  1. Have pyoptsparse installed successfully - I can run Openmdao problems using IPOPT, for example.
  2. Turn on the Pulse Secure VPN so I connect to my lab's servers
  3. Open a new, local python repl or notebook
  4. import pyoptsparse

Current behavior

it hangs until I disconnect from the VPN

Expected behavior

it imports

Code versions

  • Operating System: pop!_os
  • Python: 3.10.2
  • OpenMPI: n/a
  • CGNS: idk what this is
  • PETSc: n/a
  • Compiler: not relevant?
  • This repository: 2.9.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions