Get request problem

if i access my site via remote device (get request), i got an error like this <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN

302 Found

Found

The document has moved <a href="http://error.000.webhost.com/not_found.html>here</a>.</p> </body></html> 15:19 what i do?? pls any one hlp me..

This post was flagged by the community and is temporarily hidden.

rsdl.web44.net
user id, password : admin, admin
sir, it is a iot dashboard, for data-logger
my remote device access this server and store the datas into mysql database using GET Request method
i have a script, named receiver.php on my server. this script, grab the datas from the url and store into mysql database

this is the get request with url encoded data’s sent by client device

GET http://rsdl.web44.net/receiver.php?mc=2&rpm=120&stc=1&stp=0&rdf=3&swe=1&od=0&odf=0&pc=33237&stim=16638&rtim=20136&wr=0&wf=0&fk=0&os=2&sh=A&d=1493083373 HTTP/1.0

but i pass thru web browser i didn’t get any error, data’s perfectly stored into database

i got this msg on my device

+IPD,420:HTTP/1.1 302 Found
Date: Tue, 25 Apr 2017 12:40:08 GMT
Server: Apache
Location: http:://error404.000webhost.com/?
Content-Length: 216
Connection: close
Content-Type: text/html; charset=iso-8859-1



302 Found

Found

The document has moved here.

CLOSED

but this concept worked very well on my local server (xampp server)

Could be a security setting on the free hosting to prevent remote get command?

get request sent by browser also “remote get command” but it works fine!!!.. anyway i don’t know in-depth of it !!!..

how to do security setting privileges?? kindly help me…

firstly i want check my device communication (trial purpose) by free hosting. then only i can goto premium or business membership

Security settings won’t be able to be changed if that is what is causing it.

Free hosting is nothing like the premium hosting - premium is 100 times better by means of features, reliability and everything else.
To judge the premium based on the free hosting is not what I would do.

so… what is the solution??

I’m not sure?

@andrius might help I don’t know if there is a security issue there or not - guesswork.

Are you able to modify your script to use curl?

This post was flagged by the community and is temporarily hidden.

yes, but the problem is, my device can’t access the current running script, server redirects to this address (http://error404.000webhost.com),

This post was flagged by the community and is temporarily hidden.

yes, just about an week ago i post app on online… before that i am using local server(xampp)

and i am using esp8266 wifi module combined avr micro-controller as a client device… it’s collects the datas from the machine (rpm, production, etc…) and send via url (GET Request)…

1 Like

This post was flagged by the community and is temporarily hidden.

yes… i have already programmed like u said… if any reason my devise doesn’t receive the acknowledgment from the server(echoed by my receiver.php script), device micro-controller reboots the wifi module via hardware control… with the time interval of 40sec

also router reboots with the time interval of 30min…

This post was flagged by the community and is temporarily hidden.

actually it is a remote device (for weaving indutry )… user can’t reboots manually. so i develop this as the automated process… we can change the rebooting time interval…

and also i have tried to do this about an week. but i haven’t sent anyone success-full data to server

i need support for url encoding…

This post was flagged by the community and is temporarily hidden.

–>Captainjjjacksparrow–> thanks for your time and suggestions
if i solve this problem, i will let know here.

1 Like

@raj_var Instead of using free subdomain…grab a free domain from freenom.com and then park using nameservers.
Do this and then try again,

If still it doesn’t work then go for premium hosting(link given below)…because free hosting have limits.