question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Migration error from disallow external

See original GitHub issue

https://github.com/feathersjs/feathers/issues/849

Was asked to repost this issue here.

After migration to feathers v3 we get error from Auth-management service.

Error: MethodNotAllowed(405): Provider ‘socketio’ can not call ‘create’. (disableMethod)

We use commonHooks.disallow(‘external’) for ‘all’ hooks.before.

Our service:

const authManagement = require('feathers-authentication-management');
const notifier = require('./notifier');
const configUser = require('../user/config');

module.exports = app => authManagement({
  notifier: notifier(app).notifier,
  service: configUser.namespace,
  identifyUserProps: ['username', 'email', 'phone'],
});

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:16 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
eddyystopcommented, Apr 13, 2018

Whenever the client uses feathers-authentication-management, a create call is made to its custom service on (default) path authManagement. You say you are disabling all external calls, so this one throws an error.

This has nothing to do with migrating to FeathersJS v3. It would not work in v2 either. You cannot disable its service on create.

0reactions
eddyystopcommented, Apr 18, 2018

Thanks for the update. This’ll be something I’ll ask when others run into issues. +1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot migration issues in Exchange hybrid
Troubleshoots issues with mailbox move in hybrid environment.
Read more >
Troubleshooting Common Cloud Migration Errors - BitTitan
Error #5: Your Migration Failed Checking These Credentials – Unable to Connect to the Remote Server · A firewall in the environment is...
Read more >
Troubleshooting errors and non-migrated entities with the Jira ...
Go to the boards mentioned in the error log · Click on Board → Configure · Under General and Filter → Edit Filter...
Read more >
Troubleshoot an AWS DMS Task That Failed With a Foreign ...
Resolution. To resolve this error, either: Disable foreign key constraints; Use Drop tables on target mode. Disable foreign key constraints.
Read more >
Data migration service error codes - Google Support
This error indicates one of the following issues: The service account running the Exchange Web Services (EWS) application pool is set up incorrectly....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found