Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. F

    JavaScript Extract variable value from mysql query result

    This may seem like a pretty basic one but I am executing the query: var sql = 'SELECT command FROM motoron2 ORDER BY id DESC LIMIT 1'; and seeing the following from console.log(result) --> [ RowDataPacket { command: 1 } ] How can I make a variable named command equal to 1 from this? Below is...
  2. F

    JavaScript Node.js MQTT example

    After some troubleshooting, the problem ended up being with the section of this section of the code. count+=1; //quit script after the execution of two loops if (count==2) //ens script clearTimeout(timer_id); //stop timer client.end(); Once I removed this section, I was able to...
  3. F

    JavaScript Node.js MQTT example

    I have a script that I've been trying to figure out. It is a test script for a client to publish messages to an MQTT broker server under a certain topic, which the client then subscribes to so it can confirm the broker server got processed its message. The main code is posted at the very...
  4. F

    Python Python HTTP Post to Apache

    Me too!
  5. F

    Python Python HTTP Post to Apache

    You may be right though they may just be allowing scripts that are coming from specific browsers. HTTP requests are going through now so whatever they did it works. Just hope I don't run into this with every new IP I get.
  6. F

    Python Python HTTP Post to Apache

    Their "Mod_Security" firewall must see a difference. This is the first I am hearing about this issue.
  7. F

    Python Python HTTP Post to Apache

    Yea me either must be more to this. Right now they are getting someone more technical on their side to take a look, saying it could take about a day.
  8. F

    Python Python HTTP Post to Apache

    Didn't really get a straight answer and doesn't make a whole lot of sense to me, but they have tried a few things to fix without luck.
  9. F

    Python Python HTTP Post to Apache

    Let me ask them this exactly
  10. F

    Python Python HTTP Post to Apache

    Looks like we were right. It is server level firewall, so they mentioned they can whitelist IPs but sometimes my devices change addresses so don't know if this will work.
  11. F

    Python Python HTTP Post to Apache

    I'm going to message bluehost support real quick they are usually pretty responsive
  12. F

    Python Python HTTP Post to Apache

    I have tried a few different PHP scripts like var_dump and am getting the same results. I am thinking that its got to be something on the Apache server not the client.
  13. F

    Python Python HTTP Post to Apache

    So same error again, granted the IPs are in the same network so they are not that different.
  14. F

    Python Python HTTP Post to Apache

    yea I actually do, good idea! Let me give that a try.
  15. F

    Python Python HTTP Post to Apache

    Yea I saw that, it would be on the server side right? So I am using bluehost for my web domain provider. So could be something they have
  16. F

    Python Python HTTP Post to Apache

    Just did google.com and it worked so likely not a library issue
  17. F

    Python Python HTTP Post to Apache

    let me try to get a webpage out of my domain to see if that works
  18. F

    Python Python HTTP Post to Apache

    Yea man that's been my weekend trying to figure out this simple problem. I tried the code and got the same error! Strange. Maybe a python library problem?
  19. F

    Python Python HTTP Post to Apache

    yea domain.com is my domain and I think it is correct because when I change it to something incorrect I do get errors.
  20. F

    Python Python HTTP Post to Apache

    Okay interesting don't know why that would be the case. I did verify that the urls were the same and the browser can find on both machines. I tried HTTP but no luck, got the same error. Went ahead and tried to fool with the domain name in the python script just to see what would happen and...
Back
Top Bottom