ALL
Enable curl in PHP 8.1 with WAMP
Previous, we have completed installation of PHP 8 with WAMP(upgrade from PHP 5 to PHP 8). That was working fine until recently we noticed that curl_init() was not working during some code migration from PHP 5 to PHP 8, by checking, we found that the curl extension was not loaded correctly though the extension was enabled in php.ini.In this post, we would show how to enable curl in PHP 8 with WAMP. The PHP version we are using is PHP 8.1.31.To enable curl in PHP 8, we need to modify php.ini file, try to search for curl in php.ini, you should confirm that the curl extension is enabled.extension=...
914 0 WAMP SOLUTION CURL UNDEFINED TROUBLESHOOTING PHP 8 CURL_INIT
Introduction to the pwru Tool and a Case Study
pwru is one of the best tools for troubleshooting Linux network issues. The full name of pwru is Packet Where Are You?,How does it work?eBPF allows us to attach hooks to kernel functions. When a kernel function is executed, eBPF can define additional actions, such as recording the function and its parameters and then printing them out.When Linux starts, it generates /proc/kallsyms, a file that pwru reads to locate all functions related to skb (the data structure for network packets in the kernel). Then, pwru hooks into these functions. This allows eBPF to track the exact path a packet takes th...
601 0 NETWORK TROUBLESHOOTING EBPF PWRU CASE STUDY
The Pitfall of WebSocket Disconnections Caused by Browser Power-Saving Mechanisms
PrefaceRecently, while using WebSocket (WS) connections, we encountered frequent disconnection issues, occurring hundreds of times per day for a single user. Although using the auto-reconnect feature of socket.io allowed us to quickly restore connections after disconnections, it did not guarantee that every reconnection would successfully receive WS messages. Therefore, we conducted several investigations and tests.Ultimately, we identified the root cause of the issue: the browser's power-saving mechanism, which inadvertently became the culprit behind the problem.Overview of Browser Power-Savi...
WireGuard VPN Troubleshooting
When you are working as a network/cluster admin for you team to config the WireGuard VPN for other members, you may meet some of the problems below and these are the solution you can try to fix them.-----------------------------------------------------------------------------------------------------------Problem [1]: The WireGuard handshake request send from the client can be received from the server but the server's response was blocked at some where so the client can not receive server's response after you config multi layers of routing.Test Network Config (setup WireGuard on EXSI VM) :Solut...
6,529 0 VPN WIREGUARD TROUBLESHOOTING