Closed mohdsameer closed 7 years ago
I have successfully setup the harmony API but i am not able to connect. { :success => false, :error_msg => "An error occured during the middleware processing", :data => { :req => { :path => "/bookables/create", :method => :post, :params => {}, :body => "\x83\xAF~:marketplaceId\x92\xA3~#u\x92\xD3ı\xB5\xEC\u001A\x89\u0011\xE7ӊ\a\u0002B\xAC\u0011\u0000\u0003\xA7~:refId\x92\xA3~#u\x92ӭ\x82\x9B\xD8wd\u0011\xE7ӱ\xBF\u0002B\u0006\u001A\xCC\xE8\xAA~:authorId\x92\xA3~#u\x92\xCF>\x9A\xC6\xCEwc\u0011\xE7ӱ\xBF\u0002B\u0006\u001A\xCC\xE8", :headers => { "X-Request-Id" => "af7074f9-6eeb-4ce6-9560-5f821fc36af8", "Accept" => "application/transit+msgpack", "Content-Type" => "application/transit+msgpack", "Authorization" => "Token eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7Im1hcmtldHBsYWNlSWQiOiJjNGIxYjVlYy0xYTg5LTExZTctOGEwNy0wMjQyYWMxMTAwMDMiLCJhY3RvcklkIjoiM2U5YWM2Y2UtNzc2My0xMWU3LWIxYmYtMDI0MjA2MWFjY2U4In0sImV4cCI6MTUwMTY2NjMwNX0.ekl9nuVdGgm3e7h_l50ftkUzNFK2t_BblPPoy33SRt8" }, :attempts => 3, :timeout => 5, :open_timeout => 2 }, :endpoint => :create_bookable, :opts => { :max_attempts => 3 }, :enter_queue => [], :leave_stack => [], :retry_queue => [ [0] ServiceClient::Middleware::HTTPClient, [1] ServiceClient::Middleware::EndpointMapper, [2] ServiceClient::Middleware::JwtAuthenticator, [3] ServiceClient::Middleware::ParamEncoder, [4] ServiceClient::Middleware::BodyEncoder, [5] ServiceClient::Middleware::Timing, [6] ServiceClient::Middleware::Logger, [7] ServiceClient::Middleware::Timeout, [8] ServiceClient::Middleware::RequestID, [9] ServiceClient::Middleware::Retry ], :started_at => 2017-08-02 14:56:45 +0530, :error => #<Faraday::TimeoutError>, :error_middleware => "ServiceClient::Middleware::HTTPClient", :error_stage => :enter, :duration => 5005.728403, :res => {...} } } Getting this error, please help.
{ :success => false, :error_msg => "An error occured during the middleware processing", :data => { :req => { :path => "/bookables/create", :method => :post, :params => {}, :body => "\x83\xAF~:marketplaceId\x92\xA3~#u\x92\xD3ı\xB5\xEC\u001A\x89\u0011\xE7ӊ\a\u0002B\xAC\u0011\u0000\u0003\xA7~:refId\x92\xA3~#u\x92ӭ\x82\x9B\xD8wd\u0011\xE7ӱ\xBF\u0002B\u0006\u001A\xCC\xE8\xAA~:authorId\x92\xA3~#u\x92\xCF>\x9A\xC6\xCEwc\u0011\xE7ӱ\xBF\u0002B\u0006\u001A\xCC\xE8", :headers => { "X-Request-Id" => "af7074f9-6eeb-4ce6-9560-5f821fc36af8", "Accept" => "application/transit+msgpack", "Content-Type" => "application/transit+msgpack", "Authorization" => "Token eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7Im1hcmtldHBsYWNlSWQiOiJjNGIxYjVlYy0xYTg5LTExZTctOGEwNy0wMjQyYWMxMTAwMDMiLCJhY3RvcklkIjoiM2U5YWM2Y2UtNzc2My0xMWU3LWIxYmYtMDI0MjA2MWFjY2U4In0sImV4cCI6MTUwMTY2NjMwNX0.ekl9nuVdGgm3e7h_l50ftkUzNFK2t_BblPPoy33SRt8" }, :attempts => 3, :timeout => 5, :open_timeout => 2 }, :endpoint => :create_bookable, :opts => { :max_attempts => 3 }, :enter_queue => [], :leave_stack => [], :retry_queue => [ [0] ServiceClient::Middleware::HTTPClient, [1] ServiceClient::Middleware::EndpointMapper, [2] ServiceClient::Middleware::JwtAuthenticator, [3] ServiceClient::Middleware::ParamEncoder, [4] ServiceClient::Middleware::BodyEncoder, [5] ServiceClient::Middleware::Timing, [6] ServiceClient::Middleware::Logger, [7] ServiceClient::Middleware::Timeout, [8] ServiceClient::Middleware::RequestID, [9] ServiceClient::Middleware::Retry ], :started_at => 2017-08-02 14:56:45 +0530, :error => #<Faraday::TimeoutError>, :error_middleware => "ServiceClient::Middleware::HTTPClient", :error_stage => :enter, :duration => 5005.728403, :res => {...} } }
Thanks
I have successfully setup the harmony API but i am not able to connect.
{ :success => false, :error_msg => "An error occured during the middleware processing", :data => { :req => { :path => "/bookables/create", :method => :post, :params => {}, :body => "\x83\xAF~:marketplaceId\x92\xA3~#u\x92\xD3ı\xB5\xEC\u001A\x89\u0011\xE7ӊ\a\u0002B\xAC\u0011\u0000\u0003\xA7~:refId\x92\xA3~#u\x92ӭ\x82\x9B\xD8wd\u0011\xE7ӱ\xBF\u0002B\u0006\u001A\xCC\xE8\xAA~:authorId\x92\xA3~#u\x92\xCF>\x9A\xC6\xCEwc\u0011\xE7ӱ\xBF\u0002B\u0006\u001A\xCC\xE8", :headers => { "X-Request-Id" => "af7074f9-6eeb-4ce6-9560-5f821fc36af8", "Accept" => "application/transit+msgpack", "Content-Type" => "application/transit+msgpack", "Authorization" => "Token eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7Im1hcmtldHBsYWNlSWQiOiJjNGIxYjVlYy0xYTg5LTExZTctOGEwNy0wMjQyYWMxMTAwMDMiLCJhY3RvcklkIjoiM2U5YWM2Y2UtNzc2My0xMWU3LWIxYmYtMDI0MjA2MWFjY2U4In0sImV4cCI6MTUwMTY2NjMwNX0.ekl9nuVdGgm3e7h_l50ftkUzNFK2t_BblPPoy33SRt8" }, :attempts => 3, :timeout => 5, :open_timeout => 2 }, :endpoint => :create_bookable, :opts => { :max_attempts => 3 }, :enter_queue => [], :leave_stack => [], :retry_queue => [ [0] ServiceClient::Middleware::HTTPClient, [1] ServiceClient::Middleware::EndpointMapper, [2] ServiceClient::Middleware::JwtAuthenticator, [3] ServiceClient::Middleware::ParamEncoder, [4] ServiceClient::Middleware::BodyEncoder, [5] ServiceClient::Middleware::Timing, [6] ServiceClient::Middleware::Logger, [7] ServiceClient::Middleware::Timeout, [8] ServiceClient::Middleware::RequestID, [9] ServiceClient::Middleware::Retry ], :started_at => 2017-08-02 14:56:45 +0530, :error => #<Faraday::TimeoutError>, :error_middleware => "ServiceClient::Middleware::HTTPClient", :error_stage => :enter, :duration => 5005.728403, :res => {...} } }
Getting this error, please help.Thanks