Jump to content

Recommended Posts

Posted (edited)
When I try to update, I get a timeout from the server:
Quote

IPS\Http\Request\CurlException::28: https://remoteservices.invisionpower.com/upgrade/107034-107404/emailTemplates/?version=107034&apps=core,forums,calendar&alpha=
Connection timed out after 10001 milliseconds

From the browser, this URL gives JSON normally. Why?

I can upgrade via SSH from the distribution, if anything... 🙄

Edited by Egorkin
Posted

You would need to troubleshoot this with your host as it’s a problem with your server directly communicating with IPS servers. Your computer is using different networks and most likely different firewalls. 

  • 3 weeks later...
Posted (edited)
<?php
error_reporting(E_ALL);

$url = "https://remoteservices.invisionpower.com/connectionCheck/?version=107404";

//$user_agent = 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
//curl_setopt($ch, CURLOPT_USERAGENT, $user_agent);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_NOBODY, 0);
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
$res = curl_exec($ch);
curl_close($ch);

var_dump ($res);

/*
  
string(919) "
403 ERROR
The request could not be satisfied.
Request blocked. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
Generated by cloudfront (CloudFront)
Request ID: 7JVC__LseKvtRPzSm0JN3LVG1JdtUxwrXQS1h0-8bFTQJc9Po93dFw==
"

 */

 

But if I enable $user-agent, I immediately get the correct answer.

Edited by Egorkin
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...