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
9 months ago
Hey, I'm not getting any CORS errors, can you check if the backend is returning any errors?
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?
9 months ago
Are you able to provide the docker-compose?
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/memgraphyou can remove it and then finish the setup from there.
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.
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?
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?
9 months ago
What browser are you using? And maybe it's your extensions?
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

9 months ago
and seems like your page is outdated, missing fields
😦 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).
it seems others have this issue; https://station.railway.com/questions/i-can-t-upgrade-to-hobby-b9ac985d
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.
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?
