emeraldpay / emeraldpay/dshackle

MetaMask Support / HTTP OPTIONS Support

Open
#47 4 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Rust
Stars
350
Forks
57
PR merge metrics
No merged PRs in 30d

Description

It would appear that MetaMask is not compatible with `dshackle` either and I believe the root cause for that incompatibility is that `dshackle` does not support HTTP OPTIONS requests.

Request from the MetaMask Extension:
![image](https://user-images.githubusercontent.com/8877131/90687125-f9c60300-e231-11ea-84be-892270badca0.png)

You'll notice it's `/eth/` in the screenshot, but `/eth` doesn't work either (I was just testing)

The reply is a 404

I think the only way around this right now is to place `dshackle` behind a proxy like `haproxy` or `nginx` and force those to handle HTTP OPTIONS requests.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.