Report this

What is the reason for this report?

Upload data to DO Spaces using a TCP connection

Posted on March 26, 2019

I was hoping to find out there was any way to upload data to DigitalOcean Spaces using a TCP connection. I am currently getting a 302 Found error when I attempt to connect to my Spaces using a TCP connection.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

In case it is helpful, we are trying to upload data files using Espressif

Greetings!

TCP traffic should be fine. The 302 code is a redirect. I suspect you may be connecting over http rather than https. Make sure the URL you’re connecting to is https. If that is the case and you’re still seeing this, let us know the full error you’re getting from your application, as well as more information about what you are using to connect, and we may have more insight.

Jarland

Thank you. We are using https. We have been able to connect using TCP but we get the 302 code error when we try to upload a data file. Should we still be using the AWS3 protocols when attempting to upload data using TCP? Is there a way to check data logs for Spaces? Perhaps those logs have some additional details on what we are doing wrong.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.