GuzzleHttp error

Describe the issue or problem
Error 500 when open admin page
image

Steps I took leading up to the issue
For example:

  1. Go to ‘administration page’
  2. See error 500

What application are you using?
OJS 3.3.0.3
Php 7.4.13
Apache 2.4.6

Additional information
Please add any screenshots, logs or other information we can use to investigate this problem.
Fatal error: Uncaught GuzzleHttp\Exception\ConnectException: cURL error 6: Could not resolve host: pkp.sfu.ca; Unknown error (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in /var/www/html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:200 Stack trace: #0 /var/www/html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(155): GuzzleHttp\Handler\CurlFactory::createRejection() #1 /var/www/html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(105): GuzzleHttp\Handler\CurlFactory::finishError() #2 /var/www/html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish() #3 /var/www/html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(28): GuzzleHttp\Handler\CurlHandler->__invoke() #4 /var/www/html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(51): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler{closure}() #5 /var/www/html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php(37): Guzzl in /var/www/html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 200

Hello Ragil

Seems like the server of your journal cannot connect to pkp.sfu.ca domain.
You can try to ping pkp.sfu.ca on you server and if it is get connection loss, you should contact the server administrator to whitelist the pkp.sfu.ca domain.

Regards
Hendra
OJT Team

Are you using a multi-journal ADS system?
Could you disable the “plugin update manager” and check again please?

i’m not using that plugin

image
how to resolve that?

Dear @ragil_nurhawanti

You can check firewall setting on your server and related configuration in your server to allow external connection.

Better bet, I guess you discuss this issue with the server provider or server administration since it is not OJS issue but actually server config issue.

Regards
Hendra

1 Like

I do have the same problem. There is no issue with the firewall. I tried the command
PING pkp.sfu.ca (208.70.244.23) 56(84) bytes of data. it took forever. I tried from a different server without a firewall, again it did not work.

I would highly appreciate your support.

@navotera @asmecher

please check this issue. I have attached a responce from the hosting provider.

I suggest following this topic, which seems to fit your current case better:

we are unable to access the journal, website setting page and also administration. Get HTTP ERROR 500

The process encounters a "Read error (Connection reset by peer) in headers." This error means that the server abruptly closed the connection after the request was sent but before any data could be read. Essentially, the server terminated the connection, possibly due to a firewall rule, rate limiting, or other security measures.

This pattern suggests that the server might be configured to reset connections from certain locations or IP ranges, which aligns with the previous indications of a potential geoblock affecting UK-based connections.

Given the current circumstances, I recommend resolving this with the administrators of pkp.sfu.ca. They may be able to provide more insights or solutions, such as whitelisting your server's IP addresses or lifting any potential geoblocks affecting UK-based addresses.

Please keep us updated on any developments from pkp.sfu.ca, and feel free to reach out if you need further assistance or have any questions regarding the relocation process.

Best Regards,
Julian Jelyazkov
SiteGround Technical Support