Error with M1 Apple Silicon and wp_mail

Q: Date/Time this occurred (Provide your time zone also)
A:
GMT+1 02/08/2022

Q: DevKinsta Version
A:
Version 2.1.0 (2.1.0.1899)

Q: OS Version
A:
11.2.3 (20D91)

Q: Docker Desktop Version
A:
3.5.2 66501

Q: Were any error codes or messages observed? If so, what were they?
A:

wp> wp_mail('email@example.com', 'test', 'test')
runtime: failed to create new OS thread (have 2 already; errno=22)
fatal error: newosproc

runtime stack:
runtime.throw(0x6b2000, 0x9)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/panic.go:530 +0x90
runtime.newosproc(0xc820026000, 0xc820035fc0)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/os1_linux.go:149 +0x18c
runtime.newm(0x715c28, 0x0)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/proc.go:1513 +0x135
runtime.main.func1()
	/usr/local/Cellar/go/1.6/libexec/src/runtime/proc.go:125 +0x2c
runtime.systemstack(0x7f3300)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/asm_amd64.s:291 +0x79
runtime.mstart()
	/usr/local/Cellar/go/1.6/libexec/src/runtime/proc.go:1048

goroutine 1 [running]:
runtime.systemstack_switch()
	/usr/local/Cellar/go/1.6/libexec/src/runtime/asm_amd64.s:245 fp=0xc820020770 sp=0xc820020768
runtime.main()
	/usr/local/Cellar/go/1.6/libexec/src/runtime/proc.go:126 +0x62 fp=0xc8200207c0 sp=0xc820020770
runtime.goexit()
	/usr/local/Cellar/go/1.6/libexec/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8200207c8 sp=0xc8200207c0
=> bool(false)

Q: Detailed Description of the Problem
A:
A default DevKinsta/Wordpress installation does not send emails to Mailhog. Mailhog is running, but no email are received. Tested both in the admin interface and WPCLI.

Sorry for the wait here, @Marek_Maurizio . We’re currently reviewing this and will get back to you shortly!

1 Like

Thank you @michael. My knowloedge of Docker is very limited, so forgive me if I am mistaken, but I guess a version of the docker images compiled for the arm64 architecture would prevent this error and bring better performances too. Right now I got this message.

Any news on that?
I used the system for a while developing a website and the email sending problem seems to be the only problem i got for now.

I’m sorry for the wait here @Marek_Maurizio . There does appear to be a bug with M1 machines at the moment that our developers are looking into.

1 Like

Hi @Marek_Maurizio. We just released DevKinsta 2.3.0. Could you give this a test and let me know if this issue continues? Thank you again.