SpinnerChief API timeout

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

Viewing 11 reply threads
  • Author
    Posts
    • #2043


      cng1
      Participant
      Post count: 11

      I think based upon the log that I am getting logged into SpinnerChief but timeout every time.

      My spinnerchief account has version 4, 200 API Ultimate Spins per day with 5000 word for each.

      I can login and do manual spins.

      [28-Sep-2020 18:14:03 UTC] “SpinnerChief” failed to exec curl after auth. Curl error: Operation timed out after 60000 milliseconds with 0 out of -1 bytes received
      [28-Sep-2020 18:14:03 UTC] Text Spinning Failed – returned false spinnerchief
      [28-Sep-2020 18:15:04 UTC] “SpinnerChief” failed to exec curl after auth. Curl error: Operation timed out after 60001 milliseconds with 0 out of -1 bytes received
      [28-Sep-2020 18:15:04 UTC] Text Spinning Failed – returned false spinnerchief
      [28-Sep-2020 18:16:09 UTC] “SpinnerChief” failed to exec curl after auth. Curl error: Operation timed out after 60001 milliseconds with 0 out of -1 bytes received
      [28-Sep-2020 18:16:09 UTC] Text Spinning Failed – returned false spinnerchief
      [28-Sep-2020 18:16:10 UTC] Rule ID 0 succesfully run! 3 posts created!

      The above is the only output in your log.  SpinnerChief does not have a log that I can find. But based upon the AUTH word I interpret the results as valid login.

      Please advise.

    • #2044


      Szabi – CodeRevolution
      Keymaster
      Post count: 4573

      Hello,

      First of all, thank you for your purchase.

      This issue seems to be caused by a firewall rule blocking access to the SpinnerChief API.

      Please contact your hosting provider’s support and ask them to allow access to http://api.spinnerchief.com – this is where their api is located. They should be able to check why this connection is not working from your server’s part.

      Let me know if this helped.

      Regards, Szabi – CodeRevolution.

    • #2045


      cng1
      Participant
      Post count: 11

      I run my servers.  Can you provide me an example curl cmd that I can run from the console to test out your idea?  My outbound does not block only inbound but willing to try it maybe the cloud I rent added some blocking. thank you.

    • #2046


      cng1
      Participant
      Post count: 11

      I see no response and 1 response on this test.

      root:~#curl -Is https://api.spinnerchief.com | head -n 1
      ^C
      root:~#curl -Is http://www.google.com | head -n 1
      HTTP/1.1 200 OK

      I’ll try to find out why. thank you

      But if you could provide an example curl cmd that your software uses I can get a valid test.

      thank you

    • #2047


      cng1
      Participant
      Post count: 11

      I can’t reach https://api.spinnerchief.com  from any server or client.

       

      curl -Is http://account.spinnerchief.com/Login.aspx
      HTTP/1.1 200 OK
      Cache-Control: private
      Content-Length: 7232
      Content-Type: text/html; charset=utf-8
      Server: Microsoft-IIS/7.5
      X-AspNet-Version: 4.0.30319
      X-Powered-By: ASP.NET
      Date: Tue, 29 Sep 2020 17:42:22 GMT

       

      I can reach this url from any server or client?  Can you find out from the dev site if the https://api.spinnerchief.com  is correct?

       

    • #2048


      Szabi – CodeRevolution
      Keymaster
      Post count: 4573

      Hello,

      Can you send me, please, temporary admin login credentials to your WordPress install, so I can check this issue out? Send it, please, to my email address: kisded@yahoo.com.

      Regards, Szabi – CodeRevolution.

    • #2049


      cng1
      Participant
      Post count: 11

      I believe your need to explicitly assign port 443 and not use https

      see doc

      https://developer.spinnerchief.com/API_Document.aspx

      Tested this:

      curl http://api.spinnerchief.com:443
      curl: (52) Empty reply from server

      curl https://api.spinnerchief.com:443

      no reply on https

    • #2050


      Szabi – CodeRevolution
      Keymaster
      Post count: 4573

      Yes, the plugin already uses this port.

      Code snippet from it:

      $url = “http://api.spinnerchief.com:443/apikey=api2409357d02fa474d8&username=” . $usr . “&password=” . $pss . “&spinfreq=2&Wordscount=6&wordquality=0&tagprotect=[]&original=0&thesaurus=English&replacetype=0&chartype=1&convertbase=0”;

    • #2056


      cng1
      Participant
      Post count: 11

      Well This is were you need to determine the problem not me.

      We are getting to the spinnerchief server

      the correct api, user and password was used. Not AAAA, UUU and PPP shown was not sure if this a public thread.

      server: cat /etc/centos-release
      CentOS Linux release 7.8.2003 (Core)

      curl -v http://api.spinnerchief.com:443/apikey=AAAAAAAAA&username=UUUU&password=PPPPPPP&spinfreq=2&Wordscount=6&wordquality=0&tagprotect=%5B%5D&original=0&thesaurus=English&replacetype=0&chartype=1&convertbase=0
      [2] 47713
      [3] 47714
      [4] 47715
      [5] 47716
      [6] 47717
      [7] 47718
      [8] 47719
      [9] 47720
      [10] 47721
      [11] 47722
      [12] 47723
      [7] Done wordquality=0
      root@cngidev:~#* About to connect() to api.spinnerchief.com port 443 (#0)
      * Trying 47.90.207.195…
      * Connected to api.spinnerchief.com (47.90.207.195) port 443 (#0)
      > GET /apikey=AAAAAAAAAAAA HTTP/1.1
      > User-Agent: curl/7.29.0
      > Host: api.spinnerchief.com:443
      > Accept: */*
      >
      * Empty reply from server
      * Connection #0 to host api.spinnerchief.com left intact
      curl: (52) Empty reply from server
      ^C

    • #2059


      Szabi – CodeRevolution
      Keymaster
      Post count: 4573

      Hello,

      The only way I can help with this issue is if you send me temporary admin login credentials to your WordPress install, as I already asked before. Send it, please, to my email address: kisded@yahoo.com.

      I have checked this on my test server, and for me, spinning works, so this might be an issue related to your website, I need to check it there.

      Regards, Szabi – CodeRevolution.

    • #2062


      Szabi – CodeRevolution
      Keymaster
      Post count: 4573

      I just saw that you sent credentials. I check now and let you know.

    • #2063


      Szabi – CodeRevolution
      Keymaster
      Post count: 4573
      Hello,
      I checked and found 2 issues with the spinner:
      1. There is an issue on SpinnerChief’s part, if the request contains characters like … than their API request is failing with the timeout issue you saw earlier on your site. I reported this issue, I hope they will fix it as soon as possible. Until then, I updated the plugin an automatically remove these characters from the API request, and as a result, the API works. Ticket I created: https://support.whitehatbox.com/Ticket/TicketEdit?ticketID=1Kghw2CIYZj0OItsvy2JLS5BUQKCsEv4
      2. You need to enter your username and password in the plugin settings (no additional info required). I need to change the tooltips for the plugin, to make this less confusing. I fixed plugin settings also, now spinning works.
      Please check.
      Regards.
Viewing 11 reply threads

The topic ‘SpinnerChief API timeout’ is closed to new replies.