Git Product home page Git Product logo

dynamon's Introduction

๐Ÿ‘‹๐Ÿ‘‹

dynamon's People

Contributors

demerjianm avatar deptno avatar newnok6 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dynamon's Issues

How to connect to aws dynamodb, not local

just get the latest version v0.3.11.
got v0.3.11 ๐Ÿ˜ˆ Ready to work, open http://localhost:5500
Have tried to set the terminal environment variables as you have instructed in #11 , but it doesn't work.

could you please advise how to configure the tool pointing to the aws server?
thanks

Object(...) is not a function

This error occur by dynamon command installed globally
not local

$ dynamon
v0.3.8 ๐Ÿ˜ˆ Ready to work, open http://localhost:5500
TypeError: Object(...) is not a function
at HomeComponent (/usr/local/lib/node_modules/dynamon/.next/server/static/uUQ9hmd2nmnBeuhEV7UcG/pages/index.js:3320:54)
at c (/usr/local/lib/node_modules/dynamon/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:28:496)
at Ga (/usr/local/lib/node_modules/dynamon/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:31:1)
at a.render (/usr/local/lib/node_modules/dynamon/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:36:367)
at a.read (/usr/local/lib/node_modules/dynamon/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:35:450)
at renderToString (/usr/local/lib/node_modules/dynamon/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:47:82)
at render (/usr/local/lib/node_modules/dynamon/node_modules/next-server/dist/server/render.js:39:16)
at renderPage (/usr/local/lib/node_modules/dynamon/node_modules/next-server/dist/server/render.js:96:16)
at Function.getInitialProps (/usr/local/lib/node_modules/dynamon/.next/server/static/uUQ9hmd2nmnBeuhEV7UcG/pages/_document.js:2086:25)
at Function._callee$ (/usr/local/lib/node_modules/dynamon/.next/server/static/uUQ9hmd2nmnBeuhEV7UcG/pages/_document.js:3004:59)
dynamon:backend/ws.js {"type":"ws connected"} +0ms
dynamon:backend/ws.js {"type":"add endpoint","payload":{"name":"Dynamon Local DB","region":"dynamon","endpoint":"http://localhost:8000"}} +2ms

ENETUNREACH Error when listing tables using assumed role

When selecting an AWS region, the following error is logged in the console, and no tables are listed:

(node:14168) UnhandledPromiseRejectionWarning: Error: connect ENETUNREACH 169.254.169.254:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1082:14)
(node:14168) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:14168) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

It appears that the app is trying to connect to the EC2 metadata service, but is failing due to the app not running on EC2.

Further investigation indicates that this error happens when trying to run dynamon with an assumed role from ~/.aws/config (I have set the env var AWS_PROFILE to the name of a profile which includes a source_profile and role_arn )

Any ideas why this isn't working?

Official Docker Image

Would be great to have an official Docker image to run dynamon. Are there plans to support it? Thanks.

TypeError: Cannot read property 'StreamEnabled' of undefined [dynamodb.ap-southeast-2.amazonaws.com]

version: v0.3.10
steps:

  1. Run Dynamon
  2. Go to localhost:5500
  3. Select Sydney Region
  4. Select table
  5. Page returns "An unexpected error has occurred."
define whitelist: persist
:5500/static/favicon.ico:1 Failed to load resource: the server responded with a status of 404 (Not Found)
index.js:1 dynamodb.ap-southeast-2.amazonaws.com
commons.2cab103e265499b54c5b.js:39 TypeError: Cannot read property 'StreamEnabled' of undefined
    at index.js:1
    at Ki (commons.2cab103e265499b54c5b.js:39)
    at commons.2cab103e265499b54c5b.js:39
    at bu (commons.2cab103e265499b54c5b.js:39)
    at Eu (commons.2cab103e265499b54c5b.js:39)
    at ua (commons.2cab103e265499b54c5b.js:39)
    at oa (commons.2cab103e265499b54c5b.js:39)
    at la (commons.2cab103e265499b54c5b.js:39)
    at It (commons.2cab103e265499b54c5b.js:39)
    at Cn (commons.2cab103e265499b54c5b.js:39)
qi @ commons.2cab103e265499b54c5b.js:39
main-98a56d9d517960d64d87.js:1 TypeError: Cannot read property 'StreamEnabled' of undefined
    at index.js:1
    at Ki (commons.2cab103e265499b54c5b.js:39)
    at commons.2cab103e265499b54c5b.js:39
    at bu (commons.2cab103e265499b54c5b.js:39)
    at Eu (commons.2cab103e265499b54c5b.js:39)
    at ua (commons.2cab103e265499b54c5b.js:39)
    at oa (commons.2cab103e265499b54c5b.js:39)
    at la (commons.2cab103e265499b54c5b.js:39)
    at It (commons.2cab103e265499b54c5b.js:39)
    at Cn (commons.2cab103e265499b54c5b.js:39)
(anonymous) @ main-98a56d9d517960d64d87.js:1

DynamoDB ์ ‘์†์‹œ ์ธ์ฆ์„œ ๋ชฉ๋ก ์ฐธ์กฐ ์œ„์น˜ ๋ฌธ์˜

  • I have searched the issues of this repository and believe that this is not a duplicate.

๋ฌธ์˜ ์‚ฌํ•ญ

macOS์—์„œ ์‚ฌ์šฉํ•˜๋Š” Dynamon์˜ ๊ฒฝ์šฐ DynamoDB Endpoint(dynamodb.ap-northeast-2.amazonaws.com)์— HTTPS ์•”ํ˜ธํ™” ํ†ต์‹  ์ ‘์† ์‹œ ์‹ ๋ขฐํ•˜๋Š” ์ธ์ฆ๊ธฐ๊ด€ ์ธ์ฆ์„œ ๋ชฉ๋ก์„ ์ฐธ์กฐํ•˜๋Š”์ง€ ์•Œ ์ˆ˜ ์žˆ์„๊นŒ์š”?

  • AWS-CLI์˜ ๊ฒฝ์šฐ /Library/Python/2.7/site-packages/botocore/vendored/requests/cacert.pem์„ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.
  • AWS Tookit์˜ ๊ฒฝ์šฐ์—๋Š” macOS: /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/security/cacerts, Ubuntu:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts ํŒŒ์ผ์„ ํ™•์ธํ•ด์„œ keytool์„ ์ด์šฉํ•ด์„œ ์›ํ•˜๋Š” ์ธ์ฆ์„œ๋ฅผ import ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

ํ•ด๋‹น ์ธ์ฆ์„œ ์œ„์น˜๋ฅผ ์ฐพ์œผ๋ ค๋Š” ์ด์œ ๋Š” dynamodb๋ฅผ ์ง์ ‘ ์ ‘์† ํ•˜์ง€ ์•Š๊ณ  ๊ฒฝ์œ ํ•ด์„œ ์ ‘์†ํ•˜๋ ค๊ณ  ํ•˜๋Š”๋ฐ ์ธ์ฆ์„œ ๋ชฉ๋ก์— ์ œ๊ฐ€ ๋งŒ๋“  ์ธ์ฆ์„œ๋ฅผ ์ถ”๊ฐ€ํ•ด์„œ ์‹ ๋ขฐํ•˜๋„๋ก ํ•˜๋ ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค.

๊ทธ๋ฆฌ๊ณ , dynamon ํ”„๋กœ๊ทธ๋žจ์ด ์–ด๋–ค ํŒŒ์ผ์— ์ ‘๊ทผํ•˜๋Š”์ง€ ํ™•์ธํ•˜๋Š” ๋ฐฉ๋ฒ•์ด ์žˆ์„๊นŒ์š”?
์˜ˆ๋ฅผ ๋“ค์–ด linux์—์„œ ์‚ฌ์šฉํ•˜๋Š” strace ๊ฐ™์€ ๋ช…๋ น์–ด๊ฐ€ macOS์—์„œ๋Š” ์—†๋”๋ผ๊ณ ์š”.
dtruss๋ผ๋Š” ๋ช…๋ น์–ด๋ฅผ ์ฐพ์•˜๋Š”๋ฐ ์ด๊ฑธ ์‚ฌ์šฉํ•ด๋„ ์–ด๋–ค ์ธ์ฆ์„œ ๋ชฉ๋ก ํŒŒ์ผ์„ ๋ณด๋Š”์ง€ ํ™•์ธํ•  ์ˆ˜ ์—†์—ˆ์Šต๋‹ˆ๋‹ค.

๊ธด๊ธ€ ์ฝ์–ด์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.

Expected Behavior

Current Behavior

Steps to Reproduce

Your Environment

Tech Version
OS version macOS High Sierra 10.13.6
Dynamon version 0.1.5

Make it possible to change the port of Local DynamoDB server

  • I have searched the issues of this repository and believe that this is not a duplicate. (no other issues at the moment)

This is an improvement for the existing functionality.

When trying to connect to the local DynamoDB server, there is an assumption that the server is running on port 8000. But the port Local DynamoDB server runs is configurable, thus this assumption is not always true.

Expected Behavior

It should be possible to change the port of the local DynamoDB server which Dynamon tries to connect to.

Current Behavior

It's not possible to configure this port.

Steps to Reproduce

  1. Start local DynamoDB server in a port other than 8000.
  2. Try to connect to it using Dynamon.

Your Environment

Tech Version
OS version Mac OS High Sierra 10.13.4
Dynamon version 0.1.5

Add support for multiple AWS profiles

  • [X ] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Current Behavior

Steps to Reproduce

Your Environment

Tech Version
OS version
etc

Expects Electron, Stuck in Intialization

Trying to run the app, electron fails to run.
My buddy and I both on different OS having the same issue attempting to run this web-app.
Tried install electron globally but to no avail.

screen shot 2018-10-23 at 10 29 59 pm

screen shot 2018-10-23 at 10 31 02 pm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.