Closed ashdam closed 2 months ago
Hello @ashdam,
We added functionality to support proxy for Edge Grpc client. For details, you can check PR and commit with new env variables on Edge side which would be included in 3.7.1.
If you have any issues or have further questions, please do not hesitate to contact us. We're here to help!
Thank you for your patience and understanding.
Thank you very much! My team will check it! Sorry for the delay I miss the reply notification :)
Component
Description Summary: We would like to know if http proxy is supported by TB Edge PE. Full detail
In order to unlock MY_COMPANY restrictions over the network. We are testing again some options on the proxy of MY_COMPANY since we got another software using grpc and it’s working fine and this got us confused and made us consider if we are configuring thingsboard correctly.
We got this error
User and password is ok because we have tested it with the other software.
We have configured the following: • Conf file with java parameters:
Here we tested different combinations: o export JAVA_OPTS="$JAVA_OPTS -Dhttp.proxyHost=XXXXXXXXXX -Dhttp.proxyPort=3128 -Dtb.proxy.user=XXXXXX -Dtb.proxy.password=YYYYYY -Dhttps.proxyHost=XXXXXXXXXX -Dhttps.proxyPort=3128” o export JAVA_OPTS="$JAVA_OPTS -Dhttp.proxyHost=XXXXXXXXXX -Dhttp.proxyPort=3128 -Dhttp.proxyUser=XXXXXX -Dhttp.proxyPassword=YYYYYY -Dhttps.proxyHost=XXXXXXXXXX -Dhttps.proxyPort=3128” o export JAVA_OPTS="$JAVA_OPTS -Dhttp.proxyHost=XXXXXX:YYYYYYY@XXXXXXXXXX -Dhttp.proxyPort=3128 -Dhttps.proxyHost=XXXXXX:YYYYYYY@XXXXXXXXXX -Dhttps.proxyPort=3128”
• Regular http_proxy environment variables bashrc and config file
Regarding the user (and password), after checking the code, we are not sure if using java standard parameter (-Dhttp.proxy.user) or should we use a different one (tb.proxy.user)
Environment
Disclaimer
We appreciate your contribution whether it is a bug report, feature request, or pull request with improvement (hopefully). Please comply with the Community ethics policy, and do not expect us to answer your requests immediately. Also, do not treat GitHub issues as a support channel.