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

Props tuncated issue #460

Open
rajesh8614 opened this issue Apr 24, 2020 · 7 comments
Open

Props tuncated issue #460

rajesh8614 opened this issue Apr 24, 2020 · 7 comments

Comments

@rajesh8614
Copy link

Using docker latest image

> [email protected] start /usr/src/app
> node server.js

Connected to management console @ 10.x.1.253:7505
Connected to management console @ 10.x.1.61:7506
props truncated ROUTING_TABLE   192.168
props truncated ROUTING_TABLE   192.168
props truncated ROUTING_TABLE   192.168
props truncated ROUTING_TABLE   192.168
props truncated ROUTING_TABLE   192.168
props truncated ROUTING_TABLE   192.168

@AuspeXeu
Copy link
Owner

Maybe @KarlStraussberger can help with this.

@KarlStraussberger
Copy link
Contributor

Works as disigned. I don't know why the socket read returns before the end of the message but otherwise the application aborts in an exception.

It may be caused by openvpn itself because I observe similar issues in syslog as well. It can be a multithreading issue inside openvpn.

@eJc2
Copy link

eJc2 commented Apr 29, 2020

Hi, i have the same issue

Attaching to openvpn-status
openvpn-status |
openvpn-status | > [email protected] start /usr/src/app
openvpn-status | > node server.js
openvpn-status |
openvpn-status | Connected to management console @ xxx.xxx.xxx.xxx:9994
openvpn-status | props truncated ROUTING_TABLE 172.16.1.5
openvpn-status | props truncated ROUTING_TABLE 172.16.1.5

This is the log on openvpn side:

Apr 29 16:48:58 rc02 openvpn[16028]: MANAGEMENT: CMD 'status 3'
Apr 29 16:48:58 rc02 openvpn[16028]: SCHEDULE: schedule_find_least NULL
Apr 29 16:48:58 rc02 openvpn[16028]: EP_CTL fd=10 rwflags=0x0002 ev=0x00000004 arg=0x00000004
Apr 29 16:48:58 rc02 openvpn[16028]: EP_WAIT[0] rwflags=0x0002 ev=0x00000004 arg=0x00000004
Apr 29 16:48:58 rc02 openvpn[16028]: SCHEDULE: schedule_find_least NULL
Apr 29 16:48:58 rc02 openvpn[16028]: EP_CTL fd=10 rwflags=0x0001 ev=0x00000001 arg=0x00000004
Apr 29 16:49:03 rc02 openvpn[16028]: EP_WAIT[0] rwflags=0x0001 ev=0x00000001 arg=0x00000004
Apr 29 16:49:03 rc02 openvpn[16028]: MULTI: REAP range 96 -> 112
Apr 29 16:49:03 rc02 openvpn[16028]: MANAGEMENT: CMD 'status 3'
Apr 29 16:49:03 rc02 openvpn[16028]: SCHEDULE: schedule_find_least NULL
Apr 29 16:49:03 rc02 openvpn[16028]: EP_CTL fd=10 rwflags=0x0002 ev=0x00000004 arg=0x00000004
Apr 29 16:49:03 rc02 openvpn[16028]: EP_WAIT[0] rwflags=0x0002 ev=0x00000004 arg=0x00000004
Apr 29 16:49:03 rc02 openvpn[16028]: SCHEDULE: schedule_find_least NULL
Apr 29 16:49:03 rc02 openvpn[16028]: EP_CTL fd=10 rwflags=0x0001 ev=0x00000001 arg=0x00000004
Apr 29 16:49:08 rc02 openvpn[16028]: EP_WAIT[0] rwflags=0x0001 ev=0x00000001 arg=0x00000004
Apr 29 16:49:08 rc02 openvpn[16028]: MULTI: REAP range 112 -> 128

Any hint?

@KarlStraussberger
Copy link
Contributor

On our side socket.read returns too early so the remaining details are added to the next call. I do not know why this happens and when it startet. I just managed to stabilize the script. Maybe somebody can see the error already.

@eJc2
Copy link

eJc2 commented Apr 30, 2020

thanks for reply, so openvpn responds too slow?

@KarlStraussberger
Copy link
Contributor

Maybe, as soon as we know the reason, we can think about a solution.

@eJc2
Copy link

eJc2 commented Apr 30, 2020

ok, thanks for your help

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

4 participants