Domain reseller - HTTP API timeout problem

Discussion in 'Domain Registration' started by davisable, Nov 24, 2010.

  1. davisable

    davisable Guppy

    Hi,

    I am develping my website to use the HTTP API, but I got the following issue.

    When I test from my PHP application with https://test.httpapi.com/api...
    everything is just fine.


    But when I remove the test. and I try to get data from https://httpapi.com/api
    Sometimes your API returns OK, sometimes time outs.

    (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)


    The test.httapi.com always works... never time outs.

    It is written in the documentation not to use the test API for production purposes, but soon I would like to launch my new site and the real API address works too rarely.

    Any ideas on that?

    Thanks
  2. davisable

    davisable Guppy

    It's OK now, I've change the PHP function with CURL - it emulates browser GET and it works now. Hope this helps someone else.
  3. Stephen

    Stephen US Operations Staff Member

    that is a good tip.

Share This Page

JodoHost - 26,000 hosting end-users in 100 countries
Plesk Web Hosting
VPS Hosting
H-Sphere Web Hosting
Other Services