I have created a cypress docker image which has all dependencies required to run my UI tests.
However when I am running my image in GitLab pipeline it gives following error:
As per error it looks like it is trying to download dependencies again though I have provided everything in Dockerfile and downloading during docker run is actually not required.
This is happening in GitLab pipeline only other wise Docker run is successfully running when executed outside GitLab pipeline. Requesting you support to identify and resolve the problem.
Can AnyCloud SDK (MQTT sample code)connect to Google Cloud Platform??
I am confused after studied GCP IoT Core guide information.
Should GCP iot device sdk need to port on PSoC 6 +WiFi platform??
I trying to connect to my my home router I follow the instructions on the GitHub readme.me
I'm getting the following error:
Function whd_wifi_join failed at line 1622 checkres = 33555456
Connection to Wi-Fi network failed with error code 0x2000400. Retrying in 5000 ms. Retries left: 119
my router is set to:Router Security as WPA2 Personal
The secrity type in the file configs/wifi_config.h is set as follows:
#define WIFI_SECURITY CY_WCM_SECURITY_WPA2_AES_PSK
here is the error in the terminal screen.
Could anyone give me some insight into what could be wrong?
Any help will be appreciated
Getting an error connecting to the WIFI
We have discovered a problem with the lwip library in ModusToolbox 2.0, 2.1, 2.2 and 2.3. It occurs when creating a new Wi-Fi project or updating the lwip library in an existing project. The problem is reported as a fatal error.
fatal: unable to access 'https://git.savannah.nongnu.org/git/lwip/': SSL certificate problem: certificate has expired
There is a defect in versions of OpenSSL prior to 1.1.0 which, as of September 30, causes web accesses with the Let's Encrypt intermediate certificate (Let's Encrypt R3) to fail. Let's Encrypt R3 contains signatures from two roots: DST Root CA X3 and ISRG Root X1. As explained by Let’s Encrypt (DST Root CA X3 Expiration), the former certificate has expired but the latter remains trusted. The defective versions of OpenSSL require both certificates to be trusted and erroneously deny the access.
OpenSSL 1.1.0 is used by the modus-shell utility on Windows hosts in all versions of ModusToolbox. The soon-to-be released ModusToolbox 2.4 shall include a newer version of OpenSSL to correct the problem.
To safely and reliably access lwip from ModusToolbox 2.3 and earlier, follow these steps to remove the expired certificate.
I have not been able to fix the error "MQTT connection failed with error code 0x8060009 ..."
I am implementing the mtb-example-anycloud-mqtt-client with the Mosquitto broker in MQTTS mode. I have tried it from a Raspberry Pi 3B +, Jetson nano, and an Ubuntu PC. No positive results.
If there is any way to implement it in non-secure mode that would also be helpful
I followed the instructions on Github .. I have created the keys and the TLS / SSL certificates. I have also adjusted the mosquitto.conf file as follows:
# Place your local configuration in /etc/mosquitto/conf.d/
# A full description of the configuration file is at
persistence_location / var / lib / mosquitto /
log_dest file /var/log/mosquitto/mosquitto.log
# Config file for mosquitto
# SSL settings
password_file / etc / mosquitto / passwd
Help me ... I really want to use Mosquitto in my home project I am using the CY8CKIT-062-WIFI-BT
I have the Modus ToolBox IDE updated in Version 2.31
I am trying to run on a local network with an unsecure connection to an MQTT broker.
The AnyCloud_MQTT_Client example fails to build if I change the MQTT_SECURE_CONNECTION to 0.
Is something else that needs to be changed besides this? It will fail to build even if I only change this one setting. I know that once it can build that I'll need to update the WiFi and Broker settings to operate it.
I am using MTB 2.3.1 and the AnyCloud_MQTT_Client latest-v3.X d0325cb. BSP CY8CKIT-062S2-43012
Here is the build error:
source/mqtt_client_config.c:118:38: error: conflicting types for 'security_info'
118 | struct cy_awsport_ssl_credentials_t *security_info = NULL;
In file included from source/mqtt_client_config.c:44:
./configs/mqtt_client_config.h:192:39: note: previous declaration of 'security_info' was here
192 | extern cy_awsport_ssl_credentials_t *security_info;
I am new in the world of BLE and I want to design a lite beacon device (with probably use of wifi on the future) based on the 4343W. For this reason I bought the prototype kit CY8CPROTO-062-4343W.
The software that I am using for test all kit functionalities is ModusToolBOX IDE and I have installed all the projects examples.
Until now, I have loaded and tested succesfully several examples on the board, as the BLE Battery Server and the Wifi Bluetooth Console.
The last example that I am trying to test is the Anycloud BLE Multi beacon but I can't see the Eddystone frames in any Beacon scanner installed on my android phone either on my PC (BeaconScope, Beacon Scanner, Bluetooth Beacon Interactor, etc...). I have tried to change the bluetooth configuration with the modustoolbox bluetooth configurator, I have mixed the program with other ones located on Github, but any effort is useless.
I have followed step by step the instructions of README.md. First of all I run the beacon scanner and then I reset the board to see in Hyperterminal what's going on: in all cases, the result is the same (please, see the attached image).
Please, could any one say to me what I am doing wrong or what configuration or code can I use to run properly the Multibeacon Example? Maybe are the apps that I am using for beacon scanning?
Many thanks in advance and best regards!
Hi, I created a new app using the anycloud wifi server template, and flashed it on both of my dev boards. I only changed the SSID and password variables.
Problem on my CY8CPROTO-062-4343w:
- After switching to the right wifi, I can open the website in my browser and play with the slider or capsense to change brightness. This works maybe 5-10 times, after that there is no change in the PWM value, and on serial I get the error message:
"Error: Updating event stream failed" What might be the reason for this?
Problem on my CY8Kit-062-Wifi-BT:
- I used the library manager to update the board type.
- Compiles without errors and flashes
- I get the message on the TFT and serial that the Wifi connection to my home network has been successful.
- After that message: Nothing, however I can see that the device acquired an IP address. Trying to open port 80 results in a "permission denied" error, so the networking seems to work but the server does not accept connections on port 80.
I am not very experienced in using Modus Toolbox and the whole PSoC ecosystem, so I bet that I configured something wrong. Anyone with ideas on how to approach debugging this? Does the code example runs stable on your end?
I am testing mqtt client and have some question.
1. How to get date time?
Using default code, i can connect to aws iot core. So it seems already get the date time from network.
How do i get it? I try Cy_RTC_GetDateAndTime() but i get 1970/1/1.
2. Keepalive failed after calling cyhal_system_deepsleep.
To save more power, i add a task checking a bool value(true after mqtt connect).
But after calling cyhal_system_deepsleep, mcu seems won't wakeup to send keepalive package.
How do i that mcu deepsleep and still sending keepalive package.