Skip to Content Skip to Menu

Feature Request / Bug Fix – Community Builder Should Respect Joomla Global Proxy

  • sereniteam
  • sereniteam
  • OFFLINE
  • Posts: 257
  • Thanks: 17
  • Karma: 0
2 weeks 2 days ago #344735 by sereniteam
Hello We are experiencing connectivity and performance issues with Community Builder on our Joomla website, MonBilanSportSanté.Our server infrastructure requires outbound HTTP/HTTPS connections to use a configured proxy.Joomla provides global proxy settings to handle these connections. However, it appears that some Community Builder components or plugins do not consistently use these settings when making external HTTP requests.As a result, certain requests may bypass the configured proxy, leading to connection timeouts, failed API calls, and significant performance degradation.Requested FixWe would appreciate it if the Community Builder development team could review and update the relevant code to ensure that:
  1. All outbound HTTP/HTTPS requests made by Community Builder and its plugins respect Joomla’s global proxy configuration when enabled.
  2. HTTP requests use Joomla’s native HTTP client or an equivalent implementation that properly supports the configured proxy settings.
  3. Direct cURL connections, if used, correctly inherit or explicitly apply the Joomla proxy configuration.
  4. Appropriate connection and request timeouts are implemented to prevent long delays when external services are unreachable.
Technical ContextWe have observed connection failures and timeouts when accessing external Google services, including:
  • oauth2.googleapis.com
  • Google reCAPTCHA verification services
For example, some connection attempts have resulted in cURL error 28, with timeouts exceeding 130 seconds.Although we have not yet confirmed which Community Builder component is responsible for these specific requests, we believe that ensuring consistent support for Joomla’s proxy settings would significantly improve compatibility with secured hosting environments.Our RequestCould you please confirm whether Community Builder currently supports Joomla’s global proxy settings for all outbound HTTP requests?If this is not fully implemented, we kindly request that this functionality be included in an upcoming Community Builder update.We would prefer a permanent solution within Community Builder rather than applying custom modifications that could be overwritten during future updates.Thank you for your assistance and for your continued development of Community Builder.Best regards,Vincent Berger
President – SereniTeam SAS
Founder – MonBilanSportSanté
monbilansportsante.fr

SereniTeam

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 50828
  • Thanks: 8711
  • Karma: 1475
2 weeks 2 days ago #344736 by krileon

All outbound HTTP/HTTPS requests made by Community Builder and its plugins respect Joomla’s global proxy configuration when enabled.

We already have a feature ticket to try and implement this in our Guzzle usage. I don't have a timeframe for when that will happen. I'll take a look at this again today and see if there's something we can get implemented sooner rather than later. Will likely have to modify the Guzzle dependency directly since we've too many plugins just using Guzzle directly instead of middleware.

HTTP requests use Joomla’s native HTTP client or an equivalent implementation that properly supports the configured proxy settings.

This won't happen until CB 3.0 when we drop our Guzzle implementation.

Direct cURL connections, if used, correctly inherit or explicitly apply the Joomla proxy configuration.

All our calls go through Guzzle so there shouldn't be any direct cURL anymore.

Appropriate connection and request timeouts are implemented to prevent long delays when external services are unreachable.

All our Guzzle calls have timeouts set.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 50828
  • Thanks: 8711
  • Karma: 1475
2 weeks 2 days ago #344738 by krileon
Ok, I've re-opened and implemented the following feature ticket.

forge.joomlapolis.com/issues/8973

It required a direct modification to our Guzzle dependency. For now that'll have to work. Once reviewed, accepted, and merged will release a new CB build release that passes Joomla's outbound proxy settings to all Guzzle requests sent from CB.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beat, nant, krileon
Powered by Kunena Forum