Please use the thread below to discuss the related blog post:
Hi, How to open the grafana.ini file to config the snmp ? Best regards
My provider does not support http as a target, only https. How do I fix this in the docker-compose.yml file?
@cjlfilm what do you mean? what address is the problem?
Well. The part where you fill in the target, http://whateverdevicehere.balena-devices.com/:8080 ?
I may only use https url’s. Not http url’s.
Yes @cjlfilm the port 8080 doesn’t go through SSL. Did you try to add https
?
Can you try to use the port 443 maybe instead of the 8080?
Right now I’ve modiefied the composer file to use 443 instead of 8080:
connector:
image: balenablocks/connector:raspberrypi3
restart: always
labels:
io.balena.features.balena-api: ‘1’
privileged: true
environment:
- ‘ENABLE_EXTERNAL_HTTP_LISTENER=1’
ports:
- “443”
Hope that will work.
So far, no luck… Also, just changing to 443 would be strange, since that port is also used to connect to the device itself over https (to login or view the dashboard etc.).
Edit:
Did some research, 80/8080 for http, 443/8443 for https. I’ll try 8443 instead.
Edit edit:
Setting any other port is not accepted. Checked telegraph.conf on the connector and it simply overrides my port setting (8443) with 8080. Even changing telegraph.conf results in an error “Settings file not found or not in proper format. Rewriting default settings to: /root/.balena/balena.cfg” and replaces my setting (8443) with 8080. Is there any way to get around this hardcoded misery?
@cjlfilm what LNS do you use?
The device public URL only supports the port 80 and 8080. Is the LNS something local?
LNS is local. Weird that a more secure protocol is not supported. I suspect more and more providers will someday avoid http in the future.
@cjlfilm what LNS do you use? Chirpstack? can you use a local ip address there?
LNS is provided by KPN-Orange. Can’t use a local ip, since local ip addresses aren’t forwarded over the internet.
Is it possible to add other weather stations and process everything with the same Raspberry Pi?
Sure @agentil i don’t see why this is not possible. Just add a new device in the TTN application and redirect the data to the device. Maybe you will need to change some parts of the grafana dashboard, but should be usable!