Open Commifreak opened 1 year ago
Hi @Commifreak, thanks for reporting this.
I've done some testing and from what I can see POST requests to the marketplace do not include a Content-Length
header. This header is required for HTTP/1.1 requests with a body, but is optional for HTTP/2. So strictly speaking it is okay to omit the header in this case, however for improved compatibility it would be good for us to include it.
I'll assign this issue for prioritization by our product team.
It might worth checking if your proxy rules can be configured to allow HTTP/2 post requests without Content-Length
header.
I did some research - as I found out: We are using max 1.1, right?
=> https://github.com/matomo-org/matomo/blob/3.x-dev/core/Http.php#L289
So, we are hard limited to max 1.1?
Ah - no. This was for fopen. curl part does not set any HTTP-Version. sorry for confusion
We have proxy enabled via config. Every Marketplace communication is cancelled. Following this steps brings up:
Is this something that the Transport/proxy support have to handle?
Context
Loading dashboard overview causes the error in cinjunction with setup [proxy] config
Expected Behavior
Successful communication, the proxy is working for other applications
Current Behavior
See above
Possible Solution
-
Steps to Reproduce (for Bugs)
-
Your Environment