Hi,
I set the EOS_NGINX_REDIRECT_EXTERNALLY=1 /etc/sysconfig/nginx, and try to execute HTTP TPC PUSH transfer(whth macaroon token) from one EOS instance to another one, and the transfer failed.
The error message show “failure: Send failed since rewinding of the data stream failed”.
Here’s the FST and MGM confiuration
Doing HTTP TPC transfers with macaroons is not supported through NGINX so you should not involve at all any Nginx server that you might have in front of your EOS instance - this is supported natively in EOS.
For the configuration bits, you should always point to either the Xrootd libraries installed on your system in /usr/lib64/ or the ones provided by the eos-xrootd package which are located in /opt/eos/xrootd/lib64 but you should not mix them - otherwise the config looks good to me.
For example on the fst side the xrd.protocol should point to this location: xrd.protocol XrdHttp:8001 /opt/eos/xrootd/lib64/libXrdHttp-4.so
Can you give me more details about how you are trying to transfer the data? The command line that you use, and where exactly does this error message come from? Can you also explain a bit what is you setup? What eos and xrootd versions are you running?
Perf Marker
Timestamp: 1621490340
Stripe Index: 0
Stripe Bytes Transferred: 0
Total Stripe Count: 1
End
failure: Send failed since rewinding of the data stream failed(base)
The transfer will success when I disable the frontend redirection by setting EOS_NGINX_REDIRECT_EXTERNALLY=0 on the destination instance.
BUT when I try to transfer data from our production DPM instance, the transfer will success…
You need to drop the nginx if you want the HTTP TPC transfers to work properly. Namely you need to use the port 8000 when attempting the transfers eg. https://f-dpmp28.grid.sinica.edu.tw:8000/ rather then the default 443 where are I assume you have the nginx gw running.