Coder Social home page Coder Social logo

Comments (1)

ramaraosrikakulapu avatar ramaraosrikakulapu commented on August 14, 2024 1

Yes. Below is the scenario we tested -

  • Ran the Server and Gateway in an EC2 linux instance in Power VPC
  • Ran the Client agents in other EC2 windows instance in same VPC and able to make successful connection.
  • Installed MySql workbench on client machine and tested the connection with test credentials and got "Login failed with Authentication" as expected

Here are the logs noticed from server -

[EC Server] 2019/12/16 20:16:27 [server has been successfully created for clientId#r1WSuO with bindId#LFZHpVMhtg]
 [EC Server] 2019/12/16 20:16:27 [gateway connection{host=wss://ec-gateway.power.ge.com/agent, session=pX4axlC2Ye,gatewayId=0e:c5:3d:65:0c:c1} established for client# r1WSuO with bindId#LFZHpVMhtg, to VLAN address: 127.0.0.1:7979 if -vln is enabled.]
 [EC Server] 2019/12/16 20:16:27 [websocket is found in the pool for clientId#r1WSuO]
 [EC Server] 2019/12/16 20:16:27 [successful added resource (pnmyrolp2168powerautomationeco.cwpud1qjgyfa.us-east-1.rds.amazonaws.com:3306) for clientId#r1WSuO with bindId#LFZHpVMhtg]
 [EC Server] 2019/12/16 20:16:27 [session# pX4axlC2Ye created. client has been picked from the pool. Beginning two-way piping.]
 [EC Server] 2019/12/16 20:16:27 [connection has been picked up and removed from the pool with bindId#LFZHpVMhtg]
 [EC Server] 2019/12/16 20:16:27 [EOF occurred in tcp server reading. (session# pX4axlC2Ye  bind# LFZHpVMhtg )]
 [EC Server] 2019/12/16 20:16:27 [exception occurred in wsocket client reading. err: read tcp 10.229.253.91:43442->10.229.229.30:443: use of closed network connection  (session# pX4axlC2Ye  bind# LFZHpVMhtg )]
 [EC Server] 2019/12/16 20:16:27 [session#: pX4axlC2Ye has been deleted.]
 [EC Server] 2019/12/16 20:16:35 [client#r1WSuO requests connection with the bind id#HUk2TcqBCF.]
 [EC Debug] 2019/12/16 20:16:35 []interface {}=>[map[a1:b4 a2:HUk2TcqBCF a4:r1WSuO a5:0e:c5:3d:65:0c:c1:0] map[0e:c5:3d:65:0c:c1:0:0xc000139a40] "gwKey" 0e:c5:3d:65:0c:c1:0]
 [EC Debug] 2019/12/16 20:16:35 []interface {}=>[[0e:c5:3d:65:0c:c1:0]]
 [EC Server] 2019/12/16 20:16:35 [server has been successfully created for clientId#r1WSuO with bindId#HUk2TcqBCF]
 [EC Server] 2019/12/16 20:16:35 [gateway connection{host=wss://ec-gateway.power.ge.com/agent, session=wmFfTNG3SE,gatewayId=0e:c5:3d:65:0c:c1} established for client# r1WSuO with bindId#HUk2TcqBCF, to VLAN address: 127.0.0.1:7979 if -vln is enabled.]
 [EC Server] 2019/12/16 20:16:35 [websocket is found in the pool for clientId#r1WSuO]
 [EC Server] 2019/12/16 20:16:35 [successful added resource (pnmyrolp2168powerautomationeco.cwpud1qjgyfa.us-east-1.rds.amazonaws.com:3306) for clientId#r1WSuO with bindId#HUk2TcqBCF]
 [EC Server] 2019/12/16 20:16:35 [session# wmFfTNG3SE created. client has been picked from the pool. Beginning two-way piping.]
 [EC Server] 2019/12/16 20:16:35 [connection has been picked up and removed from the pool with bindId#HUk2TcqBCF]
 [EC Debug] 2019/12/16 20:16:35 []interface {}=>[{"glist":{"0e:c5:3d:65:0c:c1:0":{"gtwId":"0e:c5:3d:65:0c:c1","zone":"6d24c74c-98cf-459b-bf5d-6846dd61b3c5","refId":"0","timeCreated":1576527266935,"active":true,"CFRoutingURL":"","CFURL":"ws://ec-gateway.power.ge.com/agent"}},"data":"jMvdtPxGIeCOHC98RqvOHVAlXXrkidC6wLlNTMv9vhSsyVjM0TS3W4gStg5fsYGt5fL4KDBTt59JvI2McPO6Ugt9q4Z0CGx53NbBdG/A6tdgM0fKaeiTZovkvsaoD5d+C8kq4vcxal8f4DTtBjZtY4yejLGKFIj3HLIl3dLxQ5ORXIdxkNI2bR7n3t0UmcBoNlnTdZN6qX+9gvsLNo8bsvYabE3AXaR/MdFtDHfK+kuQDCErADHDtnuZf8IZE1G04B9Ym0iTwAzQ5I/BzXouk8kQBGv79ILLWOtA+f3yeD5jiqs29fNqb8o7SqPZ9ZQ0EmIPKiUztStuccwLmeFeyQ=="}]

from sdk.

Related Issues (20)

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.