Conan datasource fails to look up deps from conan-center-index #15641
Labels
datasource:conan
Related to Conan datasource
priority-3-medium
Default priority, "should be done" but isn't prioritised ahead of others
status:in-progress
Someone is working on implementation
type:bug
Bug fix of existing functionality
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us what version of Renovate you run.
32.63.1
Please select which platform you are using if self-hosting.
github.com
If you're self-hosting Renovate, tell us what version of the platform you run.
No response
Was this something which used to work for you, and then stopped?
I never saw this working
Describe the bug
The queries to Conan Center via Github API fail to obtain any versions (
Failed to look up dependency fmt
etc.)In the attached trace fragment, you can see there are two conflicting Accept headers. Depending on which one is sent first, either raw or json content is returned. If it's json, then parsing fails (without any error message) and no versions are found.
This patch fixes it:
Also reproduced with WhiteSource hosted app here: rbrich/xcikit#66
Relevant debug logs
Logs
Have you created a minimal reproduction repository?
No reproduction, but I have linked to a public repo where it occurs
The text was updated successfully, but these errors were encountered: