Questions tagged [excon]

Excon is a usable, fast, and simple HTTP 1.1 library for Ruby.

Excon is a usable, fast, and simple HTTP 1.1 library for Ruby. It works great as a general HTTP(S) client and is particularly well suited to usage in API clients. The sources are placed at github.

28 questions
1
vote
1 answer

Gitlab Backup and "Unable to to verify certificate"

In our Ubuntu server, an ex-partner has installed our Gitlab. I have no experience with gitlab. Now, I want to create a backup. After running sudo gitlab-rake gitlab:backup:create I get the following error: Uploading backup archive to remote…
Tasos Anesiadis
  • 1,134
  • 1
  • 12
  • 37
1
vote
0 answers

Learning Ruby on rails and getting excon SSL errors

I have tried researching this, and have no idea where to even look in my application to fix this error. I have been taking a course on Udemy and I am trying to use Google Cloud storage to upload images. When I add an image into a new record and try…
Kenny
  • 74
  • 7
0
votes
1 answer

GoogleCalendarAPI to insert events giving Rails--[API Error]: --{:error=>["Excon::Error::Forbidden", "Expected([200]) <=> Actual(403 Forbidden)\n"]}

I have been using Google calendar API to insert events in user's calendar. I have written a code which takes csv(with approx 1000 rows) as an input with minimum required parameters to create events such as event_title, event_description, event_date…
0
votes
1 answer

API Requests not being sent in Production w/Excon Rails 6.0.0

I'm having an issue where my POST request with Excon gem is not being sent out in production, but works perfectly in development. In my logs, it shows Processing ServiceFormsControlller#run_background_check as HTML. I don't know exactly why this is…
valcod3r
  • 321
  • 4
  • 14
0
votes
1 answer

How can I force close excon connection when using chunked request

I am trying to read the first chunk of each image I am requesting to get its mime type and size which I'm able to do. However, when I use Connection#reset it doesn't kill the connection and keeps downloading next chunks. I am just wondering is it…
ahmed
  • 25
  • 5
0
votes
1 answer

Carrierwave upload to S3 fails, but curl works

I'm trying to upload images to S3 using Carrierwave (1.0.0 on Rails 4.2). I get 403 Access Denied. However, when I do a manual PUT request using curl, it works just fine. I have confirmed that Rails is reading my secrets correctly. All of this…
henrebotha
  • 1,244
  • 2
  • 14
  • 36
0
votes
0 answers

Error with Excon when uploading to rackspace with Fog

Very recently, uploading of files to Rackspace cloud has started erroring on my mac and one other mac in our office. The same code base works fine on Ubuntu servers and on a third mac in the office. The error reports an (Excon::Errors::SocketError)…
pvawser
  • 98
  • 1
  • 7
0
votes
1 answer

asset_sync/fog Unable to verify SSL certificate

I want to use the asset_sync gem to compile my Rails-assets locally and then upload them to my S3 bucket. But when I try to compile & upload them the rake task aborts because it's unable to verify the SSL-certificate. I'm struggling around for 3…
ofhouse
  • 3,047
  • 1
  • 36
  • 42
0
votes
1 answer

rails - excon gem dependency conflict between mandrill-api & heroku-api

I have some dependency conflict since I try to add mandrill-api. I've added the gem in my gemfile, but when I want to bundle install I've got this error : Bundler could not find compatible versions for gem "excon": In Gemfile: mandrill-api (>= 0)…
F4Ke
  • 1,631
  • 1
  • 20
  • 49
0
votes
1 answer

Ruby Excon SSL SocketError: read finished A

Using Ruby on Rails with Carrierwave + Fog, which relies on Excon to connect to S3. The Rails server is being run on AWS EC2. Most of the time, the Carrierwave uploader works fine, but often I get the following error and stack…
matkam
  • 175
  • 1
  • 6
0
votes
1 answer

excon gem dependency conflict between mandrill-api and fog. (Rails 3)

In my gemfile I have gem 'rails', '3.2.11' gem 'fog' gem 'mandrill-api' When I run bundle I receive this error Bundler could not find compatible versions for gem "excon": In Gemfile: mandrill-api (>= 0) ruby depends on excon (~> 0.15.4)…
wuliwong
  • 4,238
  • 9
  • 41
  • 69
0
votes
1 answer

How to map Amazon Products API to Rails?

I'm trying to fetch products from the Amazon Products API (using https://github.com/hakanensari/vacuum/) and display them in my Rails app. But how do I bring the product names and photos into my views? Currently getting: ActionView::Template::Error…
Mark Boulder
  • 13,577
  • 12
  • 48
  • 78
0
votes
2 answers

how can I resolve this gemfile conflict

I'm getting this error after bundle install. How can I fix it? Bundler could not find compatible versions for gem "excon": In Gemfile: locomotive-heroku (~> 0.0.2) ruby depends on excon (~> 0.9.4) ruby excon (0.20.0)
David West
  • 2,256
  • 6
  • 32
  • 62
1
2