Skip to content

Conversation

@justinpersaud
Copy link
Contributor

@justinpersaud justinpersaud commented Oct 20, 2025

Explanation of Change

Adding logging on socket timeouts, mainly the local port being used so that I can trace the connection via tcpdump

Related Issues

https://github.com/Expensify/Expensify/issues/544983

Deployment

  • I followed the steps in the README to ensure this PR is deployed properly

$pendingError = socket_get_option($this->socket, SOL_SOCKET, SO_ERROR);
$pendingErrorStr = $pendingError ? socket_strerror($pendingError) : 'none';

// Get socket buffer sizes to check for misconfigurations
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just confirming the socket is set with the values we expect it to be

@justinpersaud justinpersaud merged commit 9844fbb into main Oct 20, 2025
5 checks passed
@justinpersaud justinpersaud deleted the jpersaud_log_socket branch October 20, 2025 20:28
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

Successfully merging this pull request may close these issues.

3 participants