Specifying communication protocols

I am trying to document the communication between two existing systems that today is pretty bad Specified. I wonder if there is any standard or best practice to document network communication...

Why doesn't my HTTPS connection use TLS?

I hope you'll excuse my bad / poor english. I'm pretty sure it's a quite naïve question, but I need to be fixed about it. I'm running an application on a JBOSS AS 7 server, and I enabled HTTPS...

Use ProtoBuff.Net to receive multiple types of Objects over Socket

I'm implementing a custom protocol that will be used by two apps to send various commands to each other (including file transfers i.e. large binary data chunks). After much deliberation, I think...

Glassfish concurrency, tuning, performance

I have a glassfish server with the following configuration in cluser tcp - Thread Pool Size ( 200 ) Acceptor Threads ( 5 ) Xmx ( 3048m ) Xms ( 1024m ) Protocols->http-listener-1->HTTP ( Max...

android videoview stream - struggling to get it running smoothly

So I have an IP camera that outputs a video stream I can connect to via the rtsp protocol. I want to display this in my android application, so I've set up a videoview using the following...

Video stream lag and disconnect with videoview using ip camera stream

So I have an IP camera that outputs a video stream I can connect to via the rtsp protocol. I want to display this in my android application, so I've set up a videoview using the following...

Effects processor: Thoughts about software architecture, choice of programming language, API

I'm currently working on a project where a major element is a piece of software that can do signal processing in real-time. The basic idea/concept is the following. Audio data is captured...

Can't Instantiate Obj C Class in Swift in spite of working bridging header

I'm working on pulling a single objective c class into swift. I've got my bridging header working just fine- Xcode is even suggesting the obj c class's name when I type it. I've even managed to...

Neo4j over bolt protocol has very high latency

I'm using Neo4j for a project using the official Neo4j driver for .NET found here: https://www.nuget.org/packages/Neo4j.Driver This driver works over the bolt protocol, my assumption being that a...

Creating a more reusable UITableView subclass with default behaviour

Many of my tableViews need a method wich loads in more data when the last cell is displayed on the screen. To avoid implementing the same method 100s of times, I decided to make my own base...

Robust Serial Protocol with Auto Retransmit questions

long time reader, first time poster. I have a serial link between a sensor and a base station via bluetooth. The bluetooth link is incredibly unreliable and drops packets like you wouldnt believe....

Kubernetes client-python creating a service error

I am trying to create a new service for one of my deployments named node-js-deployment in GCE hostes Kubernetes Cluster I followed the Documentation to create_namespaced_service This is the...

Protocol to Hang up from browser on any softphone

I am using self developed CTI system and trying to integrate with softphone. Currently I have integrated with AGEphone (https://www.ageet.com/home-en) however, the quality of the sound is pretty...

PHP and python thrift

I am new into thrift apache. I am using the API edenremote. When thrift call the function readMessageBegin it goes into loop and i receive no response and request is going on Please help me how to...

I2C tools, i2cdetect and i2cset works perfectly, but i2cget returns 'read failed'

I am pretty new to I2C protocol, but I managed to write to my device. I bought the ADV7630 evaluation board, which is an HDMI switch controlled by I2C. I can write to registers using I2c, also...

Bad chunk-size in HTTP response: Net/HTTP/Methods.pm line 542

Questions that pose a similar problem: https://stackoverflow.com/questions/24537420/issues-with-lwp-when-using-http-1-1-bad-chunk-size-truncated-responses. I am using the Perl module...

Trying to get authorization token from url works in browser, but not in WebRequest

I'm working on setting up an authorized restful request and I'm having a hell of a time getting a valid response back. If I paste the request URL into a browser(Firefox Quantum and Chrome) I can...

Connecting Nginx and Django

This is my first time working in Nginx. I know that in order to connect Django and Nginx easily I require uWSGI. Setup uWSGI: I think my uWSGI setup was completely fine, I've used it to run my...

How to reduce boilerplate currently necessary for serialization

Our software is abstracting away hardware, and we have classes that represent this hardware's state and have lots of data members for all properties of that external hardware. We need to regularly...

getting ftp return code 530 (not logged in) in welcome banner before paramiko tries to authenticate

I am writing a python script using paramiko to automate a daily download from a remote ftp host. The script connects successfully but then says the banner is bad and quits. It disconnects before...

How to make flex-wrap balance its wrapped items?

I am making a responsive layout, and on smaller screens a sidebar <ul> is turning into a display: flex with flex-wrap: wrap and the items styled with flex-grow: 1. This looks fine most of the...

Continuous Server Client Communication via sockets or callbacks

SO, I wish to ask something I cannot get my head around. For example I have an application which is required to track APPLICATION_1 location and the location is being updated at Firebase RealTime...

Taking the value on didSelectItemAt for indexPath and add it to a delegate / protocol to populate a header cell

Using protocol / delegate & retrieve the data from didSelectItemAt (collectionViews). // This class have the data // WhereDataIs: UICollectionViewController override func collectionView(_...

OpenID Connect: inconsistent refresh token behaviour between different Identity Providers

I'm implementing a Service Provider and currently observing inconsistent behaviour by different Identity Providers, regarding getting refresh tokens. I'm going to attach my Service Provider golang...

Kubernetes Google OAuth2 Sign In

I'm trying to figure this out for a while and can't seem to find an answer anywhere. Maybe someone here will have an idea. I have deployed an application on Kubernetes Cluster (in GCP). The...

Can't get samba to share folder with AD users

I have an AD server running on server 2019. I just setup a linux box and configured samba for some reason i can't get getent group "domain admins" to show anything. if i do getent passwd...

python-gnupg vs forked python-gnupg

I am trying to use the forked version of python-gnupg: https://pypi.org/project/gnupg/ rather than the original: https://pypi.org/project/python-gnupg/ When I install "gnupg" to my conda...

What could be different in https implementation for python vs nodejs?

I am trying to figure out one weird issue. I have working python code which I want to translate to NodeJS. Python code very simple and works: import requests LOGIN_URL =...

Slow Loris in Netty as a client or server

I'm still pretty new to netty so please bare with me. There seems to be plenty of questions asking why a specefic netty implementation is slow and how to make it faster. But my use case is a bit...

Communication speed over USB (PC/Arduino) using SerialPort in C# seems to "clip"

Prepare for a lengthy explanation - sorry. I'm building an application in C#, using Visual Studio 2019, that will communicate with some Arduino MEGA 2560 R3 devices. The connection is through USB...