ArduinoCreateAgent not finding Https certificate

Hello

I am developing on Ubuntu 22

I have installed the ArduinoCreateAgent and can see from its console the message "Could not find HTTPS certificate, Using plain HTTP only."

Right clicking on the agents icon displays a menu but the "create and install HTTPS certificate" item s disabled.

I can see lots of the following errors in the web studio console
GET https://localhost:8992/info net::ERR_CONNECTION_REFUSED

And occasionally the following message
Access to fetch at 'http://127.0.0.1:8991/info' from origin 'https://create.arduino.cc' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Private-Network' header was present in the preflight response for this private network request targeting the local address space.

I have tried reinstalling, rebooting etc, but am stuck on this.

Thanks

It might be a problem with your firewall. Can you check your iptables or ufw configuration?

For testing purposes you can flush your iptables configuration

sudo iptables -F

It's not a destructive command, as you iptables configuration will be restored after the next reboot.

tried flushing the iptables

tried switching off the ufw service

Still ended up with the service using plain HTTP

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.