Jump to content

razwanrazaq

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by razwanrazaq

  1. No still not working,

    it seems to be gettign stuck on the youtube api call, this loads instantly on my machine. Are there any restrictions from the server to this url?

    2025-02-12 21:36:04,373 - INFO - Start of script
    2025-02-12 21:36:04,374 - INFO - main script start
    2025-02-12 21:36:04,388 - INFO - file_cache is only supported with oauth2client<4.0.0
    2025-02-12 21:36:04,404 - DEBUG - URL being requested: GET https://youtube.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=PL6iyqX0myJ2H-0gSt6qMmA5ztI1jdnRZV&maxResults=1&key=AIzaSyDt7H2TpNiCYPwbTMnm_zHVovDnhjQX8PA&alt=json

  2. so takes around a minute in total, below are some bits of the local log where the server script fails:

    2025-02-11 21:39:49,432 - INFO - Start of script
    2025-02-11 21:39:49,432 - INFO - main script start
    2025-02-11 21:39:49,441 - INFO - file_cache is only supported with oauth2client<4.0.0
    2025-02-11 21:39:49,451 - DEBUG - URL being requested: GET https://youtube.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=PL6iyqX0myJ2H-0gSt6qMmA5ztI1jdnRZV&maxResults=1&key=AIzaSyDt7H2TpNiCYPwbTMnm_zHVovDnhjQX8PA&alt=json
    2025-02-11 21:39:49,815 - INFO - got video
    2025-02-11 21:39:49,815 - INFO - foud video
    2025-02-11 21:39:49,819 - DEBUG - Starting new HTTPS connection (1): notegpt.io:443
     

  3. so yes, that has kind of worked but now i'm getting a different error.

    2025-02-08 11:19:04 Error 146.90.205.82 504 GET /cgi-bin/tradingTheCloseTrades2.cgi HTTP/1.0 https://tommy.heliohost.org/ Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 967 Apache SSL/TLS access
    2025-02-08 11:20:04 Warning 146.90.205.82   AH01220: Timeout waiting for output from CGI script /home/razwanrazaq.helioho.st/httpdocs/cgi-bin/tradingTheCloseTrades2.cgi, referer: https://tommy.heliohost.org/       Apache error
    2025-02-08 11:20:04 Error 146.90.205.82   Script timed out before returning headers: tradingTheCloseTrades2.cgi, referer: https://tommy.heliohost.org/       Apache error
    2025-02-08 11:20:04 Error 146.90.205.82   3204009#0: *843175 upstream timed out (110: Connection timed out) while reading response header from upstream       nginx error

    I created my own debug/log file and it gets a timeout on the below are there any restrictions on external urls/api's?

    2025-02-11 09:23:44,238 - DEBUG - URL being requested: GET https://youtube.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=PL6iyqX0myJ2H-0gSt6qMmA5ztI1jdnRZV&maxResults=1&key=<removed>&alt=json

  4. Hi,

    im trying to run a python script via cgi folder but getting a 500 error but the error logs dont show any information. All i can see in the error logs is below:

     

    [Thu Feb 06 21:51:25.494273 2025] [cgid:error] [pid 104352:tid 104376] [client 146.90.205.82:0] AH01215: stderr from /home/razwanrazaq.helioho.st/httpdocs/cgi-bin/tradingTheCloseTrades2.cgi: failed to open log file /var/log/httpd/suexec_log, referer: https://tommy.heliohost.org/
    [Thu Feb 06 21:51:25.494339 2025] [cgid:error] [pid 104352:tid 104376] [client 146.90.205.82:0] AH01215: stderr from /home/razwanrazaq.helioho.st/httpdocs/cgi-bin/tradingTheCloseTrades2.cgi: fopen: Permission denied, referer: https://tommy.heliohost.org/
    [Thu Feb 06 21:51:25.494569 2025] [cgid:error] [pid 104352:tid 104376] [client 146.90.205.82:0] End of script output before headers: tradingTheCloseTrades2.cgi, referer: https://tommy.heliohost.org/
    [Thu Feb 06 21:51:42.818643 2025] [cgid:error] [pid 104149:tid 104193] [client 146.90.205.82:0] AH01215: stderr from /home/razwanrazaq.helioho.st/httpdocs/cgi-bin/tradingTheCloseTrades2.cgi: failed to open log file /var/log/httpd/suexec_log, referer: https://tommy.heliohost.org/
    [Thu Feb 06 21:51:42.818721 2025] [cgid:error] [pid 104149:tid 104193] [client 146.90.205.82:0] AH01215: stderr from /home/razwanrazaq.helioho.st/httpdocs/cgi-bin/tradingTheCloseTrades2.cgi: fopen: Permission denied, referer: https://tommy.heliohost.org/
    [Thu Feb 06 21:51:42.819101 2025] [cgid:error] [pid 104149:tid 104193] [client 146.90.205.82:0] End of script output before headers: tradingTheCloseTrades2.cgi, referer: https://tommy.heliohost.org/

    Please can you advise.

    thanks

    Razwan

×
×
  • Create New...