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

No handler found for uri [/] and method [PUT] #26

Closed
duylong opened this issue Jun 20, 2017 · 1 comment
Closed

No handler found for uri [/] and method [PUT] #26

duylong opened this issue Jun 20, 2017 · 1 comment
Assignees
Labels

Comments

@duylong
Copy link

duylong commented Jun 20, 2017

Hi,

I'm testing "es-copy-index.pl" and I have a issue with elasticsearch 5.3.

es_request(//) failed[400]: Bad Request
es_request(//) returned HTTP Status Bad Request
Undefined subroutine &main::is_hashref called at ./es-copy-index.pl line 136.

$res return "No handler found for uri [/] and method [PUT]"

It seems that the problem comes from:

    $res = es_request('/',
        {
            method => 'PUT',
            index => $INDEX{to},
        },
        {
            settings => $to_settings,
            mappings => $mappings,
        }
    );

Do you have this issue ?

@reyjrar reyjrar added the bug label Jul 10, 2017
@reyjrar reyjrar self-assigned this Jul 10, 2017
@reyjrar
Copy link
Owner

reyjrar commented Jan 1, 2019

This is fixed in the 6.3 release.

@reyjrar reyjrar closed this as completed Jan 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants