I receive the error “Failed to generate sso dh token” on Interactive Brokers

The absence of the password for the Paper account could cause the issue. Please try to log into the Client Portal with your live account, navigate to Settings > Paper Trading, and click the 'Reset Paper Trading Password' button.