Skip to content
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

Safari (macos) Invalid request error #539

Open
zygimantas opened this issue Jul 13, 2024 · 7 comments
Open

Safari (macos) Invalid request error #539

zygimantas opened this issue Jul 13, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@zygimantas
Copy link

Invalid Request in

macOS Safari Version 17.5
https://localhost:4200 and https://production
@nimiq/hub-api": "1.8.0"

The same error in both: checkout and chooseAddress

Fails on regular and incognito mode
Works on iOS Safari, works on Brave

Nothing interesting in console.

image image
@Albermonte
Copy link
Member

Can you share a minimal reproduction repo?

@zygimantas
Copy link
Author

I've identified the cause of the issue. It's in Safari settings.

Screenshot 2024-07-21 at 14 30 03

"Use advanced trancking and fingerprint protection" breaks the wallet.

@zygimantas
Copy link
Author

Reopening, just in case something can be done in wallet's implementation.

@zygimantas zygimantas reopened this Jul 21, 2024
@zygimantas
Copy link
Author

To make things worse, pinned tabs in safari also does not work with wallet with the same error, because, as I understand, Safari opens the wallet in a different tab and because of isolation, session storage is null.

@Albermonte
Copy link
Member

Not able to reproduce it, I have tried in testnet and everything is working as expected, pinnned tab included.
If you have a minimal reproduction repo would be helpful to debug since your issue might be related to localhost limitations

@zygimantas
Copy link
Author

I have made a short video of it happening in non local environment + testnet.
PS. What also may be useful - if you change settings in Safari, you must open a new tab to apply them.

nimiq-hub-bug.mp4

@Albermonte
Copy link
Member

Seems like it's only happening in POS Testnet, at least I cannot reproduce it in Mainnet or POW Testnet. Maybe @sisou knows more about it

@Albermonte Albermonte added the bug Something isn't working label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants