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

Warnings and socket errors #1644

Open
dcmckayibm opened this issue Apr 30, 2024 · 1 comment
Open

Warnings and socket errors #1644

dcmckayibm opened this issue Apr 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@dcmckayibm
Copy link
Member

Describe the bug
When running a long script (hrs) I get fairly regularly this warning

ResourceWarning: Enable tracemalloc to get the object allocation traceback sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.2', 57549), raddr=('104.18.28.94', 443)>

and this error

ERROR:websocket:Connection to remote host was lost. - goodbye

Steps to reproduce

At the beginning of my script I open the service as
from qiskit_ibm_runtime import QiskitRuntimeService service = QiskitRuntimeService()

then open backends from that service and save the jobs as they run and then wait for the jobs to return.

Expected behavior

Suggested solutions

Additional Information

  • qiskit-ibm-runtime version:
  • Python version:
  • Operating system:
@dcmckayibm dcmckayibm added the bug Something isn't working label Apr 30, 2024
@dcmckayibm
Copy link
Member Author

Qiskit 1.0.2
qiskit-ibm-runtime 0.22.0

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

1 participant