You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 2 default marketplaces (customize & plugins) are not accessible with a flow that must go through a proxy.
Reproduction Steps:
With an environment that cannot output directly and therefore requires a proxy
http://ORGANIZR_IP:ORGANIZR_PORT/api/v2/sponsors/all
Slim` Application Error
The application could not run because of the following error:
Details
Type: Requests_Exception
Code: 0
Message: cURL error 6: Could not resolve host: github.com
File: /config/www/organizr/api/vendor/rmccue/requests/library/Requests/Transport/cURL.php
Line: 443
Trace
#0 /config/www/organizr/api/vendor/rmccue/requests/library/Requests/Transport/cURL.php(179): Requests_Transport_cURL->process_response()
#1 /config/www/organizr/api/vendor/rmccue/requests/library/Requests.php(381): Requests_Transport_cURL->request()
#2 /config/www/organizr/api/vendor/rmccue/requests/library/Requests.php(233): Requests::request()
#3 /config/www/organizr/api/classes/organizr.class.php(6127): Requests::get()
#4 /config/www/organizr/api/classes/organizr.class.php(6165): Organizr->getGithubSponsors()
#5 /config/www/organizr/api/v2/routes/sponsors.php(20): Organizr->getAllSponsors()
#6 /config/www/organizr/api/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(43): {closure}()
#7 /config/www/organizr/api/vendor/slim/slim/Slim/Routing/Route.php(384): Slim\Handlers\Strategies\RequestResponse->__invoke()
#8 /config/www/organizr/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Slim\Routing\Route->handle()
#9 /config/www/organizr/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Slim\MiddlewareDispatcher->handle()
#10 /config/www/organizr/api/vendor/slim/slim/Slim/Routing/Route.php(341): Slim\MiddlewareDispatcher->handle()
#11 /config/www/organizr/api/vendor/slim/slim/Slim/Routing/RouteRunner.php(84): Slim\Routing\Route->run()
#12 /config/www/organizr/api/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(59): Slim\Routing\RouteRunner->handle()
#13 /config/www/organizr/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Middleware\RoutingMiddleware->process()
#14 /config/www/organizr/api/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(107): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#15 /config/www/organizr/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Middleware\ErrorMiddleware->process()
#16 /config/www/organizr/api/v2/index.php(92): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#17 /config/www/organizr/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(313): {closure}()
#18 /config/www/organizr/api/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#19 /config/www/organizr/api/vendor/slim/slim/Slim/App.php(215): Slim\MiddlewareDispatcher->handle()
#20 /config/www/organizr/api/vendor/slim/slim/Slim/App.php(199): Slim\App->handle()
#21 /config/www/organizr/api/v2/index.php(151): Slim\App->run()
#22 {main}
Bypass :
adding environment variables like http_proxy, https_proxy doesn't help, php doesn't seem to be able to use that.
a solution, not clean, that I tested and which works, is the following addition :
This is obviously not enough, you have to do something similar each time you try to retrieve something via php... I have the list of marketplaces, I can request a new theme, the interface tells me that it's recovered but it's not the case, the theme does not appear in the "Colors & Themes" menu
There may be something else to do that I haven't seen or understood.
If this is not the case, it would not be bad to add the management of "web proxy" flows in the settings.
The text was updated successfully, but these errors were encountered:
Organizr Version: V 2.1.2490
Branch: Master
WebServer: Nginx
Operating System: Docker container (with Alpine)
Problem Description:
The 2 default marketplaces (customize & plugins) are not accessible with a flow that must go through a proxy.
Reproduction Steps:
With an environment that cannot output directly and therefore requires a proxy
http://ORGANIZR_IP:ORGANIZR_PORT/api/v2/sponsors/all
Bypass :
adding environment variables like http_proxy, https_proxy doesn't help, php doesn't seem to be able to use that.
a solution, not clean, that I tested and which works, is the following addition :
This is obviously not enough, you have to do something similar each time you try to retrieve something via php... I have the list of marketplaces, I can request a new theme, the interface tells me that it's recovered but it's not the case, the theme does not appear in the "Colors & Themes" menu
There may be something else to do that I haven't seen or understood.
If this is not the case, it would not be bad to add the management of "web proxy" flows in the settings.
The text was updated successfully, but these errors were encountered: