Page 1 of 1

Csweb installation error

Posted: January 2nd, 2021, 2:34 am
by erdenemunkh
I am installed csweb 7.5 and csweb7.4. But same error. How to solve this error ?!

ENV: Ubuntu 20.04, Apache2, PHP 7.4

Failed to contact API server http://ip/csweb74/api/ : Error creating resource: [message] fopen(http://ip/csweb74/api/token): failed to open stream: Connection timed out [file] /var/www/html/csweb74/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php [line] 323

Re: Csweb installation error

Posted: January 4th, 2021, 4:47 pm
by aaronw
There could be several causes for this error. To start you can verify your host has not disabled fopen by adding phpinfo.php to your server with the following content:

Code: Select all

<?php
echo '<pre>';
echo 'LOADED EXTENSIONS:<br/>';
print_r(get_loaded_extensions());
echo '</pre>';
echo phpinfo();
?>
Then browse to it and check the result for allow_url_fopen. If it is disabled you'll need to follow up with your it person or host. Otherwise, you'll need to Google the error and hunt down and eliminate the possible causes.

Re: Csweb installation error

Posted: April 12th, 2022, 2:09 am
by deepakfoundation
Is this issue resolved? How did you resolve the issue. I am facing same issue