docker-compose import fails with fetch failed
sri-thorobid
PROOP

9 months ago

Access to fetch at 'https://backboard.railway.com/graphql/internal?q=dockerComposeImport' from origin 'https://railway.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

I see this error when i drag and drop a docker-compose file.

33 Replies

sri-thorobid
PROOP

9 months ago

9bd02477-e5c7-44d8-b264-47e91ab4562f


9 months ago

Hey, I'm not getting any CORS errors, can you check if the backend is returning any errors?


sri-thorobid
PROOP

9 months ago

got an error
Request URL
https://backboard.railway.com/graphql/internal?q=dockerComposeImport
Request Method
POST
Status Code
403 Forbidden
Referrer Policy
strict-origin-when-cross-origin


9 months ago

Is there any response body?


sri-thorobid
PROOP

9 months ago

nope failed to load response body


9 months ago

Are you able to provide the docker-compose?


sri-thorobid
PROOP

9 months ago

yep sure


sri-thorobid
PROOP

9 months ago

services:
  memgraph:
    image: memgraph/memgraph-mage:latest
    container_name: memgraph-mage
    volumes:
      - mg_lib:/var/lib/memgraph
      - mg_log:/var/log/memgraph
    ports:
      - "7687:7687"
      - "7444:7444"
    healthcheck:
      test: ["CMD-SHELL", "echo 'RETURN 0;' | mgconsole || exit 1"]
      interval: 10s
      timeout: 5s
      retries: 3
      start_period: 0s
    environment:
      - MEMGRAPH_USER=testuser123
      - MEMGRAPH_PASSWORD=asdfnafwelbfnluwaefbca1234
    command: ["--log-level=TRACE"]

  lab:
    image: memgraph/lab:latest
    container_name: memgraph-lab
    ports:
      - "3000:3000"
    depends_on:
      - memgraph
    environment:
      - QUICK_CONNECT_MG_HOST=memgraph
      - QUICK_CONNECT_MG_PORT=7687

volumes:
  mg_lib:
  mg_log:
  mg_etc:

9 months ago

it's likely that Cloudflare is blocking this as the payload, you would want to deploy this manually.


9 months ago

also, the lines causing problems seems to be the following ones:

    volumes:
      - mg_lib:/var/lib/memgraph
      - mg_log:/var/log/memgraph

you can remove it and then finish the setup from there.


sri-thorobid
PROOP

9 months ago

ah it seems i cannot have multiple volumes tied to one service?


9 months ago

no, you can't but as Brody said Cloudflare firewall is not allowing your import


9 months ago

probably because it thinks it's a malicious payload by looking at the paths


9 months ago

hmm seems like it allows one volume path, maybe it's Railway actively not allowing the volume?


9 months ago

anyway, hope that helps.


sri-thorobid
PROOP

9 months ago

thanks. it seems there is an issue for me to upgrade to hobby/pro to get more hardware to run, running into memory issues for both memgraph / neo4j.


9 months ago

Can you explain it better, you're getting issues when trying to upgrade to the Hobby plan?


sri-thorobid
PROOP

9 months ago

yep i click upgrade but the field in which i can put my credit card is not available.


9 months ago

What exactly happens? Are you able to provide a screenshot?


sri-thorobid
PROOP

9 months ago

1385084600451072000


sri-thorobid
PROOP

9 months ago

the card location and button is not usable for me.


9 months ago

What browser are you using? And maybe it's your extensions?


sri-thorobid
PROOP

9 months ago

im trying from incognito and saml tracer is the only extension i have. i thought about that but no luck. its chrome.


9 months ago

hmmm i've no issues here

1385085009475666000


9 months ago

and seems like your page is outdated, missing fields


sri-thorobid
PROOP

9 months ago

😦 i have another account on hobby tier but i want to put my new work on company card and i cant upgrade


9 months ago

I really don't know what could be, are you able to try on another device or even another ISP? (LTE would be an option).


sri-thorobid
PROOP

9 months ago


sri-thorobid
PROOP

9 months ago

🤞 i can really use the increase in capcity of memory and storage 😄


9 months ago

Can you try it? If not, I'm going to wait a response from the team.


9 months ago

Also, if you're able to see any errors on console/network that might indicate this.


sri-thorobid
PROOP

9 months ago

hmm interesting if i create a new team with a card i can do that but i cant seem to upgrade my current workspace from hobby to pro


9 months ago

that's great info, can you add that to the thread you mentioned?


Loading...