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

InvalidArgumentException Unable to parse URI: :9200/_template/rtf 不能够解析 这个url请问要怎么办 #15

Open
honkersglory opened this issue Aug 3, 2021 · 0 comments

Comments

@honkersglory
Copy link

@lijinma @Aufree

[root@localhost blog]# php artisan es:init

InvalidArgumentException

Unable to parse URI: :9200/_template/rtf

at vendor/guzzlehttp/psr7/src/Uri.php:84
80| {
81| if ($uri !== '') {
82| $parts = self::parse($uri);
83| if ($parts === false) {

84| throw new \InvalidArgumentException("Unable to parse URI: $uri");
85| }
86| $this->applyParts($parts);
87| }
88| }

  +4 vendor frames

5 app/Console/Commands/InitEs.php:69
GuzzleHttp\Client::put(":9200/_template/rtf", [])

6 app/Console/Commands/InitEs.php:40
App\Console\Commands\InitEs::createTemplate(Object(GuzzleHttp\Client))

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