-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segementation faults on Apple MacBook Pro M1 #1139
Comments
As noted in the other post on this issue, this is indeed hitting the 30s timeout in the playwrite API https://playwright.dev/docs/api/class-page#page-wait-for-request. I was able to apply a patch locally and can confirm it fixes this issue:
I should add the steps to reproduce were to use the browser option to perform a login:
against an Okta instance. (Probably doesn't need to be okta specifically given the error.) |
Is there a fix for this?
|
I've created a pull request to apply my fix - a fixed 5m timeout: #1153 |
is this fixed in current build? artifacts.zip at bottom of https://github.com/Versent/saml2aws/actions/runs/6855210834?pr=1162 |
This was fixed |
Hiyas,
I've used homebrew to install saml2aws on an Apple MacBook Pro (M1 chip) and keep receiving the following segmentation fault:
`Using IdP Account default to access Browser ******************************************************
Authenticating as @****** ...
INFO[0001] opening browser URL="******************************************************" provider=browser
INFO[0002] waiting ... provider=browser
INFO[0032] clean up browser provider=browser
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x60 pc=0x104e1e8d8]
goroutine 1 [running]:
github.com/versent/saml2aws/v2/pkg/provider/browser.glob..func1({0x1054fcc98, 0x14000548000}, 0x140000b04d0)
github.com/versent/saml2aws/v2/pkg/provider/browser/browser.go:98 +0x1b8
github.com/versent/saml2aws/v2/pkg/provider/browser.(*Client).Authenticate(0x1400000e7c8, 0x140000b04d0)
github.com/versent/saml2aws/v2/pkg/provider/browser/browser.go:78 +0x214
github.com/versent/saml2aws/v2/cmd/saml2aws/commands.Login(0x14000020f00)
github.com/versent/saml2aws/v2/cmd/saml2aws/commands/login.go:105 +0x458
main.main()
github.com/versent/saml2aws/v2/cmd/saml2aws/main.go:191 +0x6ddc`
Is there anyway to remedy this? It was working fine on my old macbook which had intel hardware... do I have to build from scratch?
The text was updated successfully, but these errors were encountered: