Orcid authorization Error: cURL error 28: Operation timed out after 150003 milliseconds with 0 out of 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) Your ORCID iD could not be verified. The link is no longer valid

Recently we upgraded to Orcid. v1.1.3.14 released on 6 June 2024

Whenever the authors are trying to authenticate via Orcid.
they are getting this error : cURL error 28: Operation timed out after 150003 milliseconds with 0 out of 0 bytes received (see [https://curl.haxx.se/libcurl/c/libcurl-errors.html] Your ORCID iD could not be verified. The link is no longer valid.

OJS : 3.3.0.13

Hi @deepakc,

Thanks for sharing the error you’re getting along with the plugin and OJS versions.

Could you share how the users are trying to authenticate the ORCID. Is this when an OJS user is directly trying to do so from their profile or has an email been sent to the author? Also, could you share the link/endpoint that is causing this curl error? If there was any more context/information with this error, that would be helpful to look at, too.

Regards,

Erik
PKP Team

This happens when an email is sent to the authors and they try to click and authenticate. That’s the only information I have on this.

Thank you.

Thanks @deepakc. Do you have any information about where the error is appearing? For example, is this showing up in an alert popup in the browser when the user attempts to follow the link, is it showing up in the browser’s console, etc?

Regards,

Erik
PKP Team

so once they get email and then goes through orcid authorize page. Once authors click on it they get this error :

Hi @deepakc,

Is your server behind a proxy? If so, you’ll need to make sure there is a proxy configuration in config.inc.php so that OJS can reach out to the ORCiD server.

Regards,
Alec Smecher
Public Knowledge Project Team

hi @asmecher , thanks for the reply. Can you please share what I need to add in config.inc.php
moreover, I would like to add that this was not the case earlier. this error started coming after new orcid update.

Thanks

Hi @deepakc,

See the [proxy] section in config.inc.php. If your server requires a proxy, you’ll need to get the settings from the server admin.

Regards,
Alec Smecher
Public Knowledge Project Team

thanks i will check with the system admin and will try to add proxy details in this section :
Proxy Settings ;
;;;;;;;;;;;;;;;;;;

[proxy]

; Note that allow_url_fopen must be set to Off before these proxy settings
; will take effect.

; The HTTP proxy configuration to use
; http_host = localhost
; http_port = 80
; proxy_username = username
; proxy_password = password

hi @asmecher , so i checked again with my server admin and they mentioned server is behind load balancer and not proxy. server uses an F5 device, which functions as a reverse proxy and load balancer, restricting traffic to specific ports.

Any other suggestion that we can use

Continuing this conversation on your other thread.