Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JReactive-8583 does not connect to my server #32

Open
JonathanUriel opened this issue Jul 26, 2017 · 1 comment
Open

JReactive-8583 does not connect to my server #32

JonathanUriel opened this issue Jul 26, 2017 · 1 comment

Comments

@JonathanUriel
Copy link

JonathanUriel commented Jul 26, 2017

JReactive-8583

Hi, I have a problem with my client, this does not go beyond step 16, I think that my problem is in my server, since the client connects to the server, but the server does not respond.

LOG
[INFO ] [26/07/2017 11:59:02,589] ClientJReactive8583#initCliente,54: paso01
[INFO ] [26/07/2017 11:59:02,670] ClientJReactive8583#initCliente,61: paso02
[INFO ] [26/07/2017 11:59:02,681] ClientJReactive8583#initCliente,64: paso03
[INFO ] [26/07/2017 11:59:02,683] ClientJReactive8583#initCliente,71: paso04
[INFO ] [26/07/2017 11:59:02,683] ClientJReactive8583#initCliente,73: paso05
[INFO ] [26/07/2017 11:59:02,685] ClientJReactive8583#initCliente,125: paso13
[INFO ] [26/07/2017 11:59:02,687] ClientJReactive8583#initCliente,127: paso14
76 [main] INFO Iso8583Client - Initializing
[INFO ] [26/07/2017 11:59:03,009] ClientJReactive8583#initCliente,129: paso15
[INFO ] [26/07/2017 11:59:03,009] ClientJReactive8583#initCliente,131: paso16
400 [main] INFO Iso8583Client - Connecting to /127.0.0.1:8082
400 [main] INFO Iso8583Client - Iso8583Client antes de connect , getSocketAddress=/127.0.0.1:8082
739 [nioEventLoopGroup-2-1] INFO Iso8583Client - Client is connected to /127.0.0.1:8082

I share the client and server source code to see if you can check my code and help me, to know what is my problem.

https://drive.google.com/open?id=0B8VKPXMT57DTdFZZX0RjVVVRaW8

Also inside each of these I leave a bash .bat to run the jars, only modify the routes inside the bash so that these run.

First execute the .bat that found in testServerJPOS and execute in cmd C:\Project_path\bat_run_server_jpos.bat to start the server.

After, to execute client, open the project in a IDE and run the client that found in the route src->mx.isban.iso8583.server.main->ClientJReactive8583.java

@JonathanUriel JonathanUriel changed the title How JReactive-8583 does not connect to my server Jul 26, 2017
@mrtechit
Copy link

Even i am facing this issue that the client does not send the message, however it is connected to the server.

The issue happens when client.connect("ip",port) is called and i believe a deadlock is created when it tries to
return connect(new InetSocketAddress(host, port));

This could be a bug in netty.

However, what i dont understand is that the IdleEventHandler works fine, and a n/w mgmt msg is sent based on the timeout and received at the listener.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants