phpfour

phpfour

🕌 practicing muslim 💻 software architect 🎉 oss enthusiast 🧡 php, symfony, laravel, vue.js

Member Since 12 years ago

Dhaka, Bangladesh

Experience Points
284
follower
Lessons Completed
36
follow
Lessons Completed
736
stars
Best Reply Awards
57
repos

2258 contributions in the last year

Pinned
⚡ The Symfony PHP framework
⚡ Modern e-commerce for PHP, based on the Symfony2 framework.
⚡ An unified payment library for PHP that supports Paypal, Authorize.net and 2Checkout.
⚡ Integration of PHPUnit 3.5.x with CodeIgniter 2.x using a clean way.
Activity
May
15
1 week ago
May
13
1 week ago
May
3
2 weeks ago
started
started time in 2 weeks ago
Apr
27
3 weeks ago
started
started time in 3 weeks ago
Apr
20
1 month ago
push

phpfour push phpfour/akaunting

phpfour
phpfour

filter option for the recurring documents and transactions added #1pbthq3

phpfour
phpfour

validation for the recurring documents and transactions added #1pbthq3

phpfour
phpfour

connection between docs or transactions added to recurring messages part #1pbthq3

phpfour
phpfour

icon added to show it as recurring #1pbthq3

phpfour
phpfour

underline added to links #1pbthq3

phpfour
phpfour

recurring tooltip added #1pbthq3

phpfour
phpfour

Merge pull request #2304 from sevannerse/CU-1pbthq3_Make-Recurring-Easier-to-Find--Edit_Sevan-Nerse

Make recurring easier to find

phpfour
phpfour

Fix not changing document templates and colours for modules

phpfour
phpfour

added moduleIsDisabled function

phpfour
phpfour

Merge pull request #2305 from burakcakirel/fix-document-templates-for-modules

Fix not changing document templates and colours for modules

phpfour
phpfour
phpfour
phpfour

update package-lock.json file

phpfour
phpfour

update package-lock.json file..

phpfour
phpfour
phpfour
phpfour
phpfour
phpfour

close #2312 Enhancement: Apps page pricing re-desging

phpfour
phpfour

Merge branch 'master' of github.com:akaunting/akaunting

phpfour
phpfour

document import files updated (#1t1uf4t)

commit sha: e54a578592ba92da6550fd3e2751984827c8d86c

push time in 1 month ago
Apr
16
1 month ago
started
started time in 1 month ago
Apr
14
1 month ago
started
started time in 1 month ago
Apr
13
1 month ago
started
started time in 1 month ago
Apr
7
1 month ago
Mar
30
1 month ago
started
started time in 1 month ago
Mar
24
1 month ago
Mar
19
2 months ago
started
started time in 2 months ago
Mar
15
2 months ago
started
started time in 2 months ago
Mar
13
2 months ago
started
started time in 2 months ago
Mar
9
2 months ago
started
started time in 2 months ago
started
started time in 2 months ago
Mar
8
2 months ago
Activity icon
issue

phpfour issue comment ryangjchandler/blade-cache-directive

phpfour
phpfour

Add support for Laravel 9

Tested with the latest version of Laravel 9.

phpfour
phpfour

@ryangjchandler my bad with the PHP version change, I've reverted it.

I have updated the illuminate/contracts to the latest version as it was failing on PHP 8.1 (related to symfony/http-foundation not being up to date). Let me know if that's okay.

push

phpfour push phpfour/blade-cache-directive

phpfour
phpfour

Use correct version of dependencies

commit sha: 5ac1be597942fecec4147615cca369fa9745db85

push time in 2 months ago
Activity icon
issue

phpfour issue comment ryangjchandler/blade-cache-directive

phpfour
phpfour

Add support for Laravel 9

Tested with the latest version of Laravel 9.

pull request

phpfour pull request ryangjchandler/blade-cache-directive

phpfour
phpfour

Add support for Laravel 9

Tested with the latest version of Laravel 9.

Activity icon
fork

phpfour forked ryangjchandler/blade-cache-directive

⚡ Cache chunks of your Blade markup with ease. 🔪
phpfour MIT License Updated
fork time in 2 months ago
Mar
5
2 months ago
Activity icon
issue

phpfour issue comment newrelic/newrelic-php-agent

phpfour
phpfour

cURL error 6: Could not resolve host: router

Description

When using the agent version 9.18.1.303 in combination with guzzlehttp 7.3.0 our requests are sometimes changed to have the host "router". We make a simple API call to any url, and it ends up performing a curl request to router which in turn throws an exception: cURL error 6: Could not resolve host: router We noticed this problem in our production environment where we perform many API calls. Most of them succeeded but after a while, some are failing with this described issue. When this error occurs, some API calls still succeed so the error is only happening for a small subset of requests, making this issue very difficult to find and debug.

It took us many days to realize this was the cause, but when reverting NewRelic back to its previous release this issue was resolved.

Steps to Reproduce

  1. Docker/kubernetes environment based on php:8.0-fpm-alpine3.13 with the new relic agent version 9.18.1.303 and GuzzleHttp 7.3.0
  2. Make a simple API request with Guzzle
$client = new GuzzleHttp\Client(['base_uri' => 'https://foo.com/api/']);
$response = $client->request('GET', 'test');
  1. This first number of API calls are executed without a problem. After a while, some API requests are changed to be sent to router instead of to https://foo.com/api/test

Expected Behavior

The request should be sent to https://foo.com/api/test instead of to router which fails the request NOTE: # ( Tell us what you expected to happen. )

Relevant Logs / Console output

This is our stacktrace, which is no different for the failed requests as for the successful ones (except for the exception handling at the end of course).

vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:210 GuzzleHttp\Handler\CurlFactory::createRejection    
vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:158 GuzzleHttp\Handler\CurlFactory::finishError    
vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:110 GuzzleHttp\Handler\CurlFactory::finish 
vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:47 GuzzleHttp\Handler\CurlHandler::__invoke    
vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28 GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}    
vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:48 GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}    
vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:35 GuzzleHttp\PrepareBodyMiddleware::__invoke    
vendor/guzzlehttp/guzzle/src/Middleware.php:31 GuzzleHttp\Middleware::GuzzleHttp\{closure}  
vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:71 GuzzleHttp\RedirectMiddleware::__invoke  
vendor/guzzlehttp/guzzle/src/Middleware.php:63 GuzzleHttp\Middleware::GuzzleHttp\{closure}  
vendor/guzzlehttp/guzzle/src/HandlerStack.php:75 GuzzleHttp\HandlerStack::__invoke  
vendor/guzzlehttp/guzzle/src/Client.php:331 GuzzleHttp\Client::transfer 
vendor/guzzlehttp/guzzle/src/Client.php:168 GuzzleHttp\Client::requestAsync 
vendor/guzzlehttp/guzzle/src/Client.php:187 GuzzleHttp\Client::request  
vendor/guzzlehttp/guzzle/src/Client.php:92 GuzzleHttp\Client::__call

Your Environment

We run on GKE with a Docker file based on php:8.0-fpm-alpine3.13. GuzzleHttp version 7.3.0 NewRelic agent 9.18.1.303 TIP: # ( Include as many relevant details about your environment as possible. )

  • ex: Browser name and version:
  • ex: Operating System and version:

Additional context

phpfour
phpfour

@ZNeumann Thanks for releasing the new agent. However, we are still getting the Could not resolve host: router error.

PHP: 8.1.3
Laravel: 8.83.2
Guzzle: 7.4.1
Mar
4
2 months ago
Mar
1
2 months ago
started
started time in 2 months ago
Previous