Question

Issue with my droplets

He everyone, I have an issue with my server I develop everything on my local mac. now I pushed my code to the server and I have some issues.

I logged in by ssh and try to curl to and api for example “curl ‘https://www.asos.com/api/product/catalogue/v3/products/201483801?store=ROW’ -H ‘accept-language: en-US,en;q=0.9,he;q=0.8’ --compressed”

its works and I get the data!

but when I do from my server " axios.get(‘https://www.asos.com/api/product/catalogue/v3/products/201483801?store=ROW’, {headers: {“accept-encoding”: “gzip, deflate, br”}});" its not response until its get time out

any help pls ??


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Hi @friendlyseagreenwalrus,

Check your application’s Log, you can both check your NodeJS’s App log or the WebService you are using for Reverse Proxy(I’ll use Nginx)'s logs. I’ll recommend focusing on your error logs and seeing if anything is being written when you call the API URL.

Once you have the error we’ll know where exactly to further dig and see what’s going on.