Arduino not working, help!

Im new, so sorry if this is the wrong category in the forum or any other problems I give you. Every time I try to open Arduino it just shows up in the menu bar then disappears (im on mac btw) no idea what to do, but I did get the error message from terminal. Here it is:

INFO[0000] using config from default: /Users/georgie/Library/Application Support/ArduinoCreateAgent/config.ini 
INFO[0000] additional config file not found in config.ini 
INFO[0000] Version:1.4.0                                
INFO[0000] Hostname: jorges-mbp-3.lan                   
INFO[0000] Garbage collection is on using Standard mode, meaning we just let Golang determine when to garbage collect. 
INFO[0000] You specified a serial port regular expression filter: usb|acm|com 
INFO[0000] the autostart file /Users/georgie/Library/LaunchAgents/ArduinoCreateAgent.plist already exists: nothing to do 
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:	export GIN_MODE=release
 - using code:	gin.SetMode(gin.ReleaseMode)

panic: bad origin: origins must contain '*' or include http://,https://

goroutine 7 [running]:
github.com/gin-contrib/cors.newCors({0x0, {0xc000131500, 0x33, 0x38}, 0x0, 0x0, {0xc00051a480, 0x4, 0x4}, 0x1, ...})
	/Users/runner/go/pkg/mod/github.com/gin-contrib/cors@v1.7.1/config.go:44 +0x2ab
github.com/gin-contrib/cors.New({0x0, {0xc000131500, 0x33, 0x38}, 0x0, 0x0, {0xc00051a480, 0x4, 0x4}, 0x1, ...})
	/Users/runner/go/pkg/mod/github.com/gin-contrib/cors@v1.7.1/cors.go:194 +0x39
main.loop()
	/Users/runner/work/arduino-create-agent/arduino-create-agent/main.go:381 +0x1759
created by main.main in goroutine 1
	/Users/runner/work/arduino-create-agent/arduino-create-agent/main.go:144 +0x9b
georgie@jorges-mbp-3 ~ % 

Hi @jorge_ramirez_123.

Did you intentionally modify the contents of Arduino Create Agent's config.ini file? The error indicates that an invalid value was added to the origins field in the file.

If you did intentionally modify it, you will need to correct the configuration. You can open the file in any text editor (e.g., TextEdit, which is installed by default).

If you didn't intentionally modify it, you can simply use Finder to delete the configuration file. Arduino Create Agent will automatically generate a new configuration file using the valid default configuration (which works for 99% of users) the next time you start Arduino Create Agent.


The file is at the following path on your hard drive:

/Users/georgie/Library/Application Support/ArduinoCreateAgent/config.ini 

:exclamation: The Library folder is hidden by default. You can make it visible by pressing the Command+Shift+. keyboard shortcut.



Please let me know if you have any questions or problems while following those instructions.

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