v11 telemetry improvements discussion
Posted
#9880
(In Topic #3452)

Site director

Learn about how we're improving v11's telemetry so automatic errors reported can be fixed quickly
Hello everyone!You may or may not know that we have changed how telemetry works in v11 compared to v10. For those who don't know, telemetry is the system / process where a Composr website automatically forwards errors encountered (and basic statistics) to the Composr homesite for review by the core developers. There are two settings you can control on your site whether or not it does this.
In version 10, telemetry was e-mail based. When your site encountered an error, it would send an email to a special address which was monitored by an automated tool. The automated tool would parse the sent message and appropriately organize it so the developers can be made aware of issues people are encountering. I cannot speak on the effectiveness of this system because it was entirely run by Chris Graham. As far as I know, it was not very effective especially with organization and communication back to the webmaster of the site which sent the error in the first place.
The system has been changed in version 11. E-mails are becoming a less reliable means to transmit telemetry information. As spam attacks grow, more webhosts are denying the ability to send e-mails, and more e-mail providers are getting strict on spam filtering. For this reason, v11 (as of alpha1) will now transmit telemetry information via web API calls. There are a couple challenges with doing this though:
- If Composr is in a dire state, using heavy libraries like CURL is just asking for more problems (and PHP does not have a reliable native HTTP solution).
- Our solution: raw fsock requests will be used
- Some of the error messages may contain very sensitive information like full server file paths and POSTed data in web forms. This shouldn't be transmitted raw as an attacker could snatch it.
- Our solution: v11 will require PHP's libsodium (which should be available by default as of PHP 7) and will ship with a public key. It will use the public key to encrypt what it sends to the Composr homesite. And the Composr homesite will use the public/private key pair to decrypt it. Only the core developers will have access to the private key. And a new public/private key pair will be rotated on every minor release of Composr for extra security.
Please let me know any thoughts you may have to this new system. So far, it has already helped me fix a few unreported v11 bugs.
Be aware this is not a replacement for reporting bugs to the tracker. And not all errors will get auto-reported. Always report things to the tracker if you believe it is a bug. That way the developers can better communicate with you on the issue, and you can be awarded points for your report (which may put you on the community stars page).
Attached are a couple screenshots.



Last edit: by Patrick Schmalstig
- Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
- Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
- Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
- Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
- Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Posted

Site director




- Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
- Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
- Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
- Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
- Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Posted

Site staff

1 guest and 0 members have just viewed this.