Bug 2148179

Summary: libvirt cannot fetch guests from vmware: error: internal error: curl_easy_perform() returned an error: Stream error in the HTTP/2 framing layer (92) : HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: curlAssignee: Kamil Dudka <kdudka>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: agedosier, berrange, clalancette, crobinso, jforbes, kdudka, laine, lersek, libvirt-maint, lzaoral, msekleta, mxie, paul, svashisht, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-24 14:53:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 910269    

Description Richard W.M. Jones 2022-11-24 13:59:42 UTC
Description of problem:

$ virsh -c 'vpx://root@[vcenter]/data/[esxi]/?no_verify=1' list --all
Enter root's password for [vcenter]: 
error: failed to connect to the hypervisor
error: internal error: curl_easy_perform() returned an error: Stream error in the HTTP/2 framing layer (92) : HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)

Version-Release number of selected components (if applicable):

FAILS in Fedora 37+:
libcurl-7.85.0-2.fc37.x86_64
libvirt-libs-8.6.0-4.fc37.x86_64
libcurl-7.85.0-1.fc37.x86_64
libvirt-libs-8.6.0-3.fc37.x86_64

WORKS in Fedora 36

How reproducible:

100%

Steps to Reproduce:
1. I will include exact steps in a private comment.

Comment 2 Richard W.M. Jones 2022-11-24 14:03:11 UTC
Doesn't appear to be related to crypto policy.  I tried setting this to
LEGACY and it still doesn't work.

Comment 3 Richard W.M. Jones 2022-11-24 14:21:46 UTC
However it might be related to libcurl.  If I run Fedora's libvirt
against libcurl compiled from upstream git then it works.

Comment 4 Richard W.M. Jones 2022-11-24 14:53:57 UTC

*** This bug has been marked as a duplicate of bug 2144277 ***