Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-3509

CORS issue when trying to use HTTP in singlenode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: Configuration
    • Labels:
      None
    • Story Points:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      When I'm trying to send a json object to spring-xd I get the following error even though I opened up requests to allow all.

      XMLHttpRequest cannot load http://localhost:9000/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access.

      Config:
      spring:
      profiles: singlenode
      xd:
      transport: local
      ui:
      allow_origin: "*"

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hillert Gunnar Hillert
              Reporter:
              imorti Ian Mortimer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: