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

V1 - Unable to create base path mapping for 'xxx.xxx.com': Base path already exists for this domain name #644

Open
talaikis opened this issue Nov 29, 2024 · 2 comments
Labels

Comments

@talaikis
Copy link

talaikis commented Nov 29, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Bug Report

Error Description

Multiple errors with serverless-domain-manager v8.0.0 and serverless 4.4.13:

V1 - Unable to create base path mapping for 'xxx.xxx.com':
Base path already exists for this domain name
Section content for "Serverless Domain Manager" was already set

Command Run

serverless deploy (over compose)

Console Output

Domain Manager Configuration
Replace this with your own serverless.yml file (anonymized, of course) to help us better resolve your issue.

custom:
  customDomain:
    domainName: xxx.xxx.com
    stage: dev
    basePath: dev
    certificateName: *.xxx.com
    createRoute53Record: false
    endpointType: 'regional'
    securityPolicy: tls_1_2

Versions

  • Domain Manager version(s): 8.0.0
  • Node/npm version: 22
  • Serverless Version: 4.4.13
  • Lambda Code JS

Possible Solution

  • doiwngrade serverless to v3. i.e. plugin v8 works fines with serverless v3

Additional context/Screenshots

@talaikis talaikis added the bug label Nov 29, 2024
@talaikis talaikis changed the title V1 - Unable to create base path mapping for 'api4.weido.app': Base path already exists for this domain name V1 - Unable to create base path mapping for 'xxx.xxx.com': Base path already exists for this domain name Dec 11, 2024
@babay123
Copy link

babay123 commented Jan 6, 2025

The issue occurs when two or more services are deployed at the same time. However, if you deploy them one by one, it works fine.

@abiencourt
Copy link

Thanks @babay123 when setting dependsOn on my serverless-compose.yml to create a dependency between each services using this plugin it works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants