Reply To: Upload audio samples to the server

PennController for IBEX Forums Support Upload audio samples to the server Reply To: Upload audio samples to the server



Several people have reported having trouble uploading audio samples to their server, and unfortunately there’s no one-size-fits-all solution, everyone’s server configuration is different.

However, most often the problem comes from failed attempts at cross-domain requests, and the error code that you report (0) is consistent with that. So here are a couple questions:

  • Is your experiment hosted on the PCIbex Farm? Line 6 of the PHP script on the documentation page assumes that the samples are coming from
  • Are you sending the sample to a secure domain? The PCIbex Farm is at a secure domain (https) and the server where you send your audio samples also need to have secure credentials
  • Someone had a problem when uploading large files: their PHP configuration would only allow uploads of up to 10MB or 100MB, and archives of several long audio samples get large very quickly

I can’t think of anything else at the moment, but feel free to share your experiment’s link with me so I can troubleshoot more eaisly