Comments (4)
Yes, new maintainers just came on board. We are working through the issues now. Also, please try the new release 1.2.1.
from dynamoid.
I am also experiencing this error but in a slightly more bizarre circumstance. When I have my Rails app and DynamoDB local running in a docker-compose cluster, everything works great. I'm able to save and query for objects in DynamoDB just fine. When I run the Rails app in Docker but run DynamoDB in a separate VM or locally on my laptop, even though I am able to telnet to the right port on the host machine from Docker, I get this error. I also get it if DynamoDB local isn't running.
The swallowing of exceptions most definitely needs to get fixed on the concurrent-ruby side of things, but I suspect something else might be going on here. It takes nearly 5 minutes to time out, too, so this has been really hard to figure out.
This issue has been open for over a month now. Is anyone actively developing Dynamoid still?
from dynamoid.
Currently I reproduce meaningful Seahorse::Client::NetworkingError
exception (dynamoid-2.0.0
).
.../ruby/2.4.0/net/http.rb:906:in `rescue in block in connect': Failed to open TCP connection to localhost:3000 (Connection refused - connect(2) for "localhost" port 3000) (Seahorse::Client::NetworkingError)
@pboling Maybe we need to wrap it with Dynamoid
's exception like Dynamoid::Errors::NetworkError
Script to reproduce
require 'aws-sdk'
require 'dynamoid'
Aws.config.update({
region: 'us-west-2',
credentials: Aws::Credentials.new('REPLACE_WITH_ACCESS_KEY_ID', 'REPLACE_WITH_SECRET_ACCESS_KEY'),
})
Dynamoid.configure do |config|
config.endpoint = 'http://localhost:3000'
end
class Document
include Dynamoid::Document
end
Document.create_table
from dynamoid.
I think we should allow the underlying transport errors to bubble up. 👍
from dynamoid.
Related Issues (20)
- Dym
- Support segment/total_segments for scans HOT 1
- `key:` with number type -> type mismatch HOT 7
- Any chance to cut a more recent release? HOT 4
- Calling first modifies the original variable HOT 4
- How to use condition expressions in a query? HOT 6
- Coveralls is dead and is holding back simplecov version
- Bad Badge Anchor HOT 1
- how to set a GSI for condition ? HOT 1
- Update GSI the existing table HOT 3
- filter expression with or? HOT 2
- Conditional updates are incorrect in README HOT 2
- undefined method `symbolize_keys' when saving dynamo model HOT 2
- Field adapters no longer work (v3.9.0) HOT 6
- Updating an attribute that is a key of a GSI to `nil` (3.9.0) HOT 3
- Conditional update array element HOT 1
- Batching with more than 1000 doesn't have any effect? HOT 5
- Case where updating array/map fields does not work HOT 3
- Idea: "ActiveDocument" HOT 3
- has_one doesn't allow custom foreign_key HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dynamoid.