You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Attila Magyar (JIRA)" <ji...@apache.org> on 2019/01/29 09:44:00 UTC

[jira] [Resolved] (AMBARI-25117) getAsPost requests don't work when ambari is used behind knox proxy

     [ https://issues.apache.org/jira/browse/AMBARI-25117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Attila Magyar resolved AMBARI-25117.
------------------------------------
    Resolution: Fixed

> getAsPost requests don't work when ambari is used behind knox proxy
> -------------------------------------------------------------------
>
>                 Key: AMBARI-25117
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25117
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-web
>    Affects Versions: 2.7.0
>            Reporter: Attila Magyar
>            Assignee: Attila Magyar
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.8.0
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> getting:
> https://c7401.ambari.apache.org:8443/gateway/default/ambari/api/v1/clusters/cc/hosts?fields=Hosts/rack_info,Hosts/host_name,Hosts/maintenance_state,Hosts/public_host_name,Hosts/cpu_count,Hosts/ph_cpu_count,alerts_summary,Hosts/host_status,Hosts/host_state,Hosts/last_heartbeat_time,Hosts/ip,host_components/HostRoles/state,host_components/HostRoles/maintenance_state,host_components/HostRoles/stale_configs,host_components/HostRoles/service_name,host_components/HostRoles/display_name,host_components/HostRoles/desired_admin_state,host_components/metrics/dfs/namenode/ClusterId,host_components/metrics/dfs/FSNamesystem/HAState,metrics/disk,metrics/load/load_one,Hosts/total_mem,Hosts/os_arch,Hosts/os_type,metrics/cpu/cpu_system,metrics/cpu/cpu_user,metrics/memory/mem_total,metrics/memory/mem_free,stack_versions/HostStackVersions,stack_versions/repository_versions/RepositoryVersions/repository_version,stack_versions/repository_versions/RepositoryVersions/id,stack_versions/repository_versions/RepositoryVersions/display_name&minimal_response=true,host_components/logging&page_size=25&from=0&_=1546003790663
> gives:
> {"status":400,"message":"Invalid Request: Malformed Request Body.  An exception occurred parsing the request body: Unrecognized token 'from': was expecting \n at [Source: java.io.StringReader@9ba0d3a; line: 1, column: 6]"}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)