The remote file could not be transferred due to an HTTP error (400).

Created on 29 January 2015, over 10 years ago
Updated 27 June 2025, 10 days ago

I keep randomly getting the error: The remote file could not be transferred due to an HTTP error (400).

I can't reproduce based on any criteria. Meaning sometimes the cache is primed sometimes it isn't, sometimes cron has just run sometimes it has been hours since last cron... it just happens out of the blue and typically only happens once for a while.

A refresh and a go again lets me transfer the image properly. I did notice that when this happens the namelookup_time has a weird value... (Float) 1.4E-5 whereas on succesfull uploads the value is something like: namelookup_time (Float) 0.000969

the rest of the $info for a failed attempt is below: I think this is a curl issue... but if you can give me any advice that would be awesome.
content_type (String, 29 characters ) text/html; charset=iso-8859-1
http_code (Integer) 400
header_size (Integer) 183
request_size (Integer) 133
filetime (Integer) -1
ssl_verify_result (Integer) 0
redirect_count (Integer) 0
total_time (Float) 0.04995
namelookup_time (Float) 1.4E-5
connect_time (Float) 0.000245
pretransfer_time (Float) 0.008905
size_upload (Float) 0
size_download (Float) 382
speed_download (Float) 7647
speed_upload (Float) 0
download_content_length (Float) 382
upload_content_length (Float) 0
starttransfer_time (Float) 0.049945
redirect_time (Float) 0
certinfo (Array, 0 elements)

Awesome module btw!

πŸ’¬ Support request
Status

Closed: outdated

Version

1.9

Component

Source: Remote URL

Created by

πŸ‡ΊπŸ‡ΈUnited States bradallenfisher

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¦πŸ‡ΊAustralia VladimirAus Brisbane, Australia

    Thank you for contribution. πŸ‘
    Drupal 7 is no longer supported. πŸ€·β€β™‚οΈ
    Closing as outdated. πŸ”

Production build 0.71.5 2024