So I was trying to use the PPP session rather then the message router so I could send http requests directly from my Pi. When I open a session with hologram.network.connect(timeout=300) its works perfect.
I then do a hologram.network.disconnect() after the request is sent. Then the script sleeps for x minutes before doing the same process in a loop. My script runs hologram.network.getConnectionStatus() to check to make sure the session is not active. The script will return 0 for disconnected, and try to connect. It will then fail and state that pppd session is already active on process number xxxx in the error when it bombs.
In between the first and second loop of the script, if I run “sudo ps -A | grep pppd” the pppd session will show "pppd ". As soon as the script bombs out it disappears, and I can run it again for one loop. It works fine if I just run it once every time like a cron job, but its a background service that runs continuously.
Tested on Jessie running the python2 sdk, and Buster running the python3 sdk