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

CPE is disconnecting from Talaria due to receiving a zero-byte packet #467

Open
chaitanyasingla-dt opened this issue Sep 6, 2024 · 2 comments
Assignees

Comments

@chaitanyasingla-dt
Copy link
Contributor

chaitanyasingla-dt commented Sep 6, 2024

We've observed an issue where, after a PPPoE reset, the CPE establishes a successful connection with Talaria but disconnects immediately. This occurs because the CPE receives a zero-byte packet from Talaria, which triggers a specific logic in the CPE that terminates the connection. However, the CPE reconnects with Talaria without any further connection breaks, and everything works smoothly after that. The issue lies in identifying the source and reason for the zero-byte packet being sent from Talaria.

cc: @Sachin4403 @schmidtw

@denopink denopink self-assigned this Sep 10, 2024
@shilpa24balaji
Copy link

shilpa24balaji commented Sep 19, 2024

@schmidtw
From CPE side we see this log for the zero bytes packet in nopoll
We want to know the logs that can be seen in talaria when the websocket close from the CPE is received and the log where the close reason code 1000 and close message from CPE like system_restarting is seen.

PARODUS.INFO [tid=9585] PARODUS: cloud_status set as online after successful connection
PARODUS.INFO [tid=9585] PARODUS: ../../git/src/nopoll_conn.c:3321 === START: conn-id=9 (errno=0, session: 7, conn->handshake_ok: 1, conn->pending_ssl_accept: 0) ===
PARODUS.INFO [tid=9585] PARODUS: ../../git/src/nopoll_conn.c:598 SSL closed on SSL_read
PARODUS.ERROR [tid=9585] PARODUS: ../../git/src/nopoll_conn.c:2612 conn receive zero bytes, errno=0 (Success)
PARODUS.ERROR [tid=9585] PARODUS: ../../git/src/nopoll_conn.c:2619 received connection close while reading from conn id 9 (errno=0 : Success) (11, 11, 4), shutting down connection..
PARODUS.INFO [tid=9585] PARODUS: ../../git/src/nopoll_conn.c:2104 shutting down connection id=9 (session: 7, role: client)
PARODUS.INFO [tid=9585] PARODUS: Reconnect detected, setting default Reconnect reason SSL_Socket_Close

@ctorrao
Copy link

ctorrao commented Sep 20, 2024

Like we talked yesterday try to test if this patch solve this issue: xmidt-org/webpa-common#439

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