In my project I have a python application running on my server and a node js application. My python application is permanently listening to a socket from a external website and casting data to my database format. And my node js app is listening to clients and acting as an api. My node app is actually mirroring data from python app to clients within a socket connection. Due to a weird problem a can't decode messages between py and node app. I have spend days and many solutions and decoding algorithms but i couldn't fix it.
So i need to know if you guys have any idea about my problem or if you guys know how can I create a costume socket connection library in java script.