TimSamshuijzen / iotaproxy

A simple proxy server for the IOTA tangle network, supporting the attachToTangle command (PoW).
GNU General Public License v3.0
43 stars 18 forks source link

Response for preflight has invalid HTTP status code 400 #11

Open jacovanc opened 6 years ago

jacovanc commented 6 years ago

Originally got this error when trying to connect to the iota proxy from javascript:

Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP status code 400. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Then after installing Allow-Control-Allow-Origin for chrome (after some googling), the error changes to:

Response for preflight has invalid HTTP status code 400

stevendeboer commented 6 years ago

I'm having the same issue right now. Has anyone found a solution for this?