Arduino IDE falied to connect Blynk USB - arduino-uno

Im using Arduino IDE to connect blink cloud with my Smartphone, but when I run the tools> Blynk > Run USB script I receive the flowing message:
socat[11716] E SSL_connect(): error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed

I find how to solve this problem (Only for studies propose). In Arduino Home folder, I go to libraries->Blynk->scripts, I open the blynk-ser.sh in a text editor and search for line when socat is used, i find this
socat $GEN_ATTR "$FROM_ATTR" "$TO_ATTR"
So, I change to
socat $GEN_ATTR "$FROM_ATTR" "$TO_ATTR",verify=0
This issue is because in the certs folder client.pem is missing, I dont find how to generate this, but, I avoid ssl validation for the connection.
WARN: DO NOT USE THIS TIP IN PRODUCTION, BECAUSE YOU WILL MAKE YOUR PROJECT UNSAFE

Related

Kubernetes on Windows Error: Unable to connect to the server: dial tcp some ip

I have downloaded Docker and then enabled Kubernetes on the Desktop. When I execute 'Kubectl version' command on the PowerShell it says:
kubectl : Unable to connect to the server: dial tcp : connectex:
A connection attempt failed because the connected party did not properly respond
after a period of time, or established connection failed because connected host has
failed to respond.
At line:1 char:1
kubectl version
The same issue started to occur today when I run anything related to kubectl on Windows. However, it previously worked fine. Maybe there are some recent updates in Windows/Docker.
UPD
Actually, my network sharing options were reset for some reasons. Please try the solution described below (works for me)
SOLUTION:
Check your Network and Sharing settings:
Control Panel > Network and Sharing > [YOUR_NETWORK] (For me it's my Wi-Fi connection) > Properties > Sharing
On the Sharing tab make sure that you have all checkboxes checked and that you selected the correct virtual network in the "Home network connection" field. If not, please use the correct one.

Could not resolve com.android.tools.build:gradle:2.2.1 ionic 2 application

Hi I am trying to build an application handed over to me by another developer.
When I do ionic build android
I get an error:
Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.1/gradle-2.2.1.pom'.
Connect to 192.168.1.1:808 [/192.168.1.1] failed: Connection timed out: connect
I think the IP address highlighted in bold is the main problem.
My Router Ip address is 192.168.0.1 where can I change this setting so that the gradle files are downloaded properly.

Visual studio apache cordova remote ios connection hostanme/ip does not match issue

I use Visual Studio Apache Cordova for a hybrid application. I try to connect a Mac computer using remote connection. I made settings correctly. A few days ago, ip address of Mac computer has changed. And ı can not connect Mac computer with remote connection. It gives below error:
Error: An error occurred uploading to the build server https://192.168.95.26:3000/cordova: Error: Hostname/IP doesn't match certificate's altnames: "IP: 192.168.95.12 is not in the cert's list , 192.168.95.87"
Try to do following steps.
First on Mac terminal give this command
remotebuild --secure false
Then find the IP address of the Mac.
Go to the Tools->Options of visual studio
In the Options dialog box, open Tools for Apache Cordova, and then choose iOS Configuration.
Give the IP of Mac in Host and Port as 3000. Then put secure mode to false
More details could be found from this link https://taco.visualstudio.com/en-us/docs/ios-guide/
Error: An error occurred uploading to the build server https://192.168.95.26:3000/cordova: Error: Hostname/IP doesn't match certificate's altnames: "IP: 192.168.95.12 is not in the cert's list , 192.168.95.87"
It is a known issue. When the IP address changed, the previously generated certificate become invalid. You can fix this by following steps:
Stop the remote agent on your Mac.
In terminal run remotebuild certificates reset.
In terminal run remotebuild certificates generate.
Change the VS remote build configurations in VS.
For details, you can refer to Possible issue 2: The host name or IP address of your Mac has changed.

netbeans create .new file instead of overwrite it

I'm tring to work on php project using NetBeans v8.1 with remote server connection.
I've tried active mode but when saving the file it gives me this error:
I won't open a connection to 192.168.1.100 (only to 197.133.xxx.xx)
So I changed the connection mode to passive mode.
When I try to save the file to upload, a new file created on the server directory with .new extension (ex. index.php.new) and it's empty, and Netbeans gives me this error:
Upload files on save failed.
For the information: My FTP encryption: "Explicit FTP using TLS"
And when I Press on "Test Connection", it gives me "connection succeeded"
Screenshot of the connection
Any Help will be appreciated.
I just had the same issue and it appears to be a server communication issue using TLS in passive mode.
Try ticking the box "Encrypt Only Authentication Process" - did the trick for me :)

XCode5 bot fails with SVN of sourcerepo.com : error validating server certificate

I use sourcerepo.com as SVN server. My XCode5 bot complains : error validating server certificate for "https://myproject.sourcerepo.com:443"
- the certificate is not issued by a trusted authority. Use the fingerprint etc....
How can I make my XCode Server accept this svn server and retrieve sources ?
thanks for your advice
Frank
Verify why the certificate is untrusted. (E.g., is it a self-signed certificate?)
Start Terminal and run svn info https://myproject.sourcerepo.com:443/<path-to-repository>. Accept the certificate permanently when prompted.
I found a way to make it work from the Xcode 5 release notes:
https://developer.apple.com/library/ios/releasenotes/developertools/rn-xcode/xc5_release_notes/xc5_release_notes.html
Communicating with a remote SVN repository over HTTPS can fail with an
error similar to “Error validating server certificate for server
name.” Edit the file
/Library/Server/Xcode/Config/xcsbuildd.plist
and change the TrustSelfSignedSSLCertificates key from false to true.
Then, from a Terminal window, run:
sudo killall xcsbuildd
I did exactly the above. To edit the file you actually need to
sudo vi /Library/Server/Xcode/Config/xcsbuildd.plist
After restarting the build daemon I was able to get my Xcode bot to checkout the sources from the remote repository and perform the integration. Hope this helps!

Resources