Does Quectel's BG96 support HTTP(S) protocol? - gsm

In the official website's datasheet, it says it supports HTTP(s) but when I googled the specs, it says nothing about HTTP(s) but supports TCP,FTP etc

Yes, HTTP(S) is supported.
You can download the HTTP(S) AT command manual from here:
Quectel Technical Documents

Related

Firebase Cloud Functions for devices with old SSL/TLS

I have an IoT device that makes http requests to a Cloud Function. This works ok until I setup a custom domain in Firebase. From the error I get, it looks like the device only supports SSL2, SSL3 and TLS 1.0. Now I'm trying to figure out a solution.
What are the possible solutions for this? Can I "enforce" a SSL/TLS version in a Cloud Function? Maybe I have to put a load balancer in front of the cloud function that supports these old cryptographic protocols?
Thank for your help.
It's not possible to enforce the SSL/TLS version directly from the Cloud Functions.
Your best bet is to use the GCP Cloud Load Balancing where you can set the SSL version to older cyphers.
This can be done by creating a new Policy and set TLS 1.0 for Minimum TLS Version

How does a customer connect WKC (cloud) to their on-prem data sources?

Looking for documentation on our overall networking for WKC on Cloud in order to feel confident in its viability & security. Want to know all connectivity and networking options for WKC.
The recommended way is to use the IBM Cloud Secure Gateway service. WKC has direct support for it.
Here are the docs
for creating a connection.
Here are the docs
for configuring a secure gateway service.
Here are the docs
for all connections available out of the box in WKC.

How can I use nginx 1.9.5 as a reverse proxy with gRPC?

I want to
write my backend code with Java,
use HTTP/2 (NGINX 1.9.5 has been supported HTTP/2),
write a bidirectional stream to send data between client and server at any time.
gRPC seems to be the best choice and I want use NGINX as my reverse proxy and loading balancing, I could not find any documentation to figure out how to use NGINX with gRPC Java, does anyone know?
I saw the gRPC PHP has already supported NGINX: https://github.com/grpc/grpc/tree/master/src/php#use-the-grpc-php-extension-with-nginxphp-fpm
But I also saw there is an issue said it is in the process of submitting a 3rd party module in NGINX for gRPC support, and there is a ticket on NGINX means we can't write HTTP/2 NGINX proxy module for gRPC, and I also saw nginx does not support the full HTTP/2 specs, gRPC does not work through it
I'm confused about that, why do some posts say gRPC PHP works but in other posts it says it can't.
Not on nginx, but I just published a grpc-proxy written in Go. It's lightweight and configurable, and there is a docker image available.
Yeah, nowdays, gRPC/HTTP2 with or without TLS are indeed fully supported on NGINX, as long as you have version 1.13.9 (if you just install the docker image with either alpine or latest tags then it'll be the right version).
As of (at least) late 2020 there is full support for it. Here's a link to their official Documentation:
https://www.nginx.com/blog/nginx-1-13-10-grpc/

Play framework: Secure WebSocket (WSS)

I've read in this post (How to use TLS in Play!Framework WebSockets ("wss://")) that Play framework 2.x doesn't support Secure WebSocket. Someone suggests to use nginx proxy. I'm thinking about configuring Play to serve HTTPS (as described here: https://www.playframework.com/documentation/2.3.x/ConfiguringHttps).
Would this work with a WSS client endpoint and is this a correct approach?
Is there an alternative approach to nginx or https?
Yes, it does work i have tried it in play 2.1.4. Worked fine for me, but i have only tested it in google chrome and firefox.
Yes, the right approach is to run Play configured to run https (-Dhttps.port=9443) and then you can use wss://
Tested on Windows and Play 2.2.x

How do I test my TCP protocol app?

When creating apps that interface on various TCP protocols (apart from HTTP), we need to test our app and how it communicates with a real server.
Now typically with shared hosting you can't install any low level service to talk protocols like POP3, IMAP for email, SIP or XMPP and for instant messaging.
So are there "test" servers that exist (like example.com) that help you debug or test if you app is speaking that protocol correctly?
Or maybe its easy enough to install some email/IM protocol server on another local PC and then we can use Wireshark to test with that?
I think wireshark is probably your best bet. I have never heard of publicly available test servers, I would install a server on your LAN and use that for testing.
Windows Server comes with a built in SMTP server. Try here for some information
There is a list of XMPP servers here, I have personally used OpenFire on Windows.

Resources