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

Deployment Failures #97

Closed
thebeanogamer opened this issue May 8, 2020 · 2 comments · Fixed by #115
Closed

Deployment Failures #97

thebeanogamer opened this issue May 8, 2020 · 2 comments · Fixed by #115
Assignees
Labels
bug Something isn't working

Comments

@thebeanogamer
Copy link
Owner

  Error --------------------------------------------------
 
  Error: Error: Unable to setup base domain mappings for beano.dev
      at ServerlessCustomDomain.<anonymous> (/home/vsts/work/1/s/node_modules/serverless-domain-manager/dist/index.js:142:27)
      at Generator.throw (<anonymous>)
      at rejected (/home/vsts/work/1/s/node_modules/serverless-domain-manager/dist/index.js:5:65)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
 
     For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.
 
  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com
 
  Your Environment Information ---------------------------
     Operating System:          linux
     Node Version:              12.16.3
     Framework Version:         1.70.0
     Plugin Version:            3.6.11
     SDK Version:               2.3.0
     Components Version:        2.30.10

Fixes once after deleting the domain and running serverless create_domain. Need to confirm if CloudFormation will be rolling-back automatically or just pushing ahead. Should run a debug deploy.

@thebeanogamer thebeanogamer self-assigned this May 8, 2020
@thebeanogamer thebeanogamer added the bug Something isn't working label May 8, 2020
@thebeanogamer
Copy link
Owner Author

Debug run

2020-05-08T16:43:49.4095669Z Serverless: [AWS apigatewayv2 200 0.348s 0 retries] getApiMappings({ DomainName: 'beano.dev' })
2020-05-08T16:43:49.4173213Z Serverless: [AWS apigateway undefined 0.007s 0 retries] updateBasePathMapping({
2020-05-08T16:43:49.4176793Z   basePath: '',
2020-05-08T16:43:49.4181681Z   domainName: 'beano.dev',
2020-05-08T16:43:49.4182412Z   patchOperations: [
2020-05-08T16:43:49.4183489Z     { op: 'replace', path: '/basePath', value: '(none)' },
2020-05-08T16:43:49.4184229Z     [length]: 1
2020-05-08T16:43:49.4184712Z   ]
2020-05-08T16:43:49.4185045Z })
2020-05-08T16:43:49.4185868Z Serverless Domain Manager: Error: beano.dev:  UriParameterError: Expected uri parameter to have length >= 1, but found "" for params.basePath
2020-05-08T16:43:49.4187176Z Serverless Domain Manager: Error: beano.dev:  Error: Error: beano.dev: Unable to update basepath mapping.

UriParameterError: Expected uri parameter to have length >= 1, but found "" for params.basePath
Hmmm

@thebeanogamer
Copy link
Owner Author

Appears to be a known issue amplify-education/serverless-domain-manager#332

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

Successfully merging a pull request may close this issue.

1 participant