apollo: Does not work with meteor "apollo" package

Get following error:

http://localhost:3000/graphql 405 (Method Not Allowed)
HTTPFetchNetworkInterface.fetchFromRemoteEndpoint @ VM8112:73
(anonymous) @ VM8112:90
localhost/:1 Fetch API cannot load http://localhost:3000/graphql. Response for preflight has invalid HTTP status code 405
vue-plugin.js?3c73:207 Error sending the query undefined TypeError: Failed to fetch

Using https://atmospherejs.com/meteor/apollo. Any idea for why the OPTION request needs to be made? Or is that the apollo client that is doing that?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 20 (9 by maintainers)

Most upvoted comments

This has been solved in the meantime, thanks for helping out

I’ll test it later today