Announcement

Collapse
No announcement yet.

HTTP.SubmitSecure issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • HTTP.SubmitSecure issue

    I'm having trouble getting HTTP.SubmitSecure to work with port 443
    Interestingly, it works fine on port 8443, as per the examples (substituted "website" for actual domain name) below.

    Below are examples of coding that works and doesn't work.

    myvalues = {os1=os_name, date1=todays_date, info1=registry_value};

    result = HTTP.Submit("http://www.website.net/forms/mobi.php", myvalues, SUBMITWEB_POST, 20, 80, nil, nil); -- this works
    result = HTTP.SubmitSecure("https://apps.website.net:8443/forms/mobi.php", myvalues, SUBMITWEB_POST, 20, 8443, nil, nil); -- and this works


    result = HTTP.SubmitSecure("https://forms.website.net:443/forms/mobi.php", myvalues, SUBMITWEB_POST, 20, 443, nil, nil); -- but this doesn't work
    result = HTTP.SubmitSecure("https://www.website.net/forms/mobi.php", myvalues, SUBMITWEB_POST, 20, 443, nil, nil); -- nor does this work

    I'm interested as to why it fails on port 443, while works on secure port 8443 (using the same SSL cert).

    Thanks in advance for any insight!

    John
    Classic IT Support
    https://www.classicit.net
    https://www.message7.org

  • #2
    You use a set of different server names here (www, apps, forms) and ports (80, 8443, 443). With the information you provided, it cannot be known if actually a server was set up to listen at the address and port you are attempting to send the data to.

    Ulrich

    Comment


    • #3
      Thanks for your reply. Much appreciated. Those three ports and subdomains all point to the same server, running the identical form but in two different folders.

      The form works in each of them with manual input. At the moment it is successfully working on encrypted port 8443, and I suppose because of that, I'll leave it be for now.

      But, I'm still curious to find out why it fails to work on 443 - I was wondering whether it might be a timeout issue? (When I solve it, I'll post the result here.)

      John
      Classic IT Support
      https://www.classicit.net
      https://www.message7.org

      Comment

      Working...
      X