Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

400 Bad Request (#129 - scope: ajax_verify_connection_to_remote_site), when the remote site uses unusual port for SSL connection #134

Open
t10967 opened this issue Mar 1, 2022 · 0 comments

Comments

@t10967
Copy link

t10967 commented Mar 1, 2022

When I've tried to pull content from a remote site, I've received error in the title.
As far as I've debugged, it happens due to an unusual port number I use for the SSL connection to the remote site.
I use the port 8443 for SSL connection on the server and I saw in /class/Common/Http/RemotePost.php on lines from 98 - 108, you are verifying the SSL connection via fsockopen and hardcoded the port number as 443, which would result replacing the protocol of the remote site URL to "http" from "https".
My remote site URL looks like https://xxxxx.com:8443/. Please replace the port number of fsockopen, in case the port number is defined in the remote site URL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant