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

Updating ~/.dclinfo "contentUrl" field doesn't seem to work #766

Open
jacobkrieg10 opened this issue Jul 14, 2022 · 0 comments
Open

Updating ~/.dclinfo "contentUrl" field doesn't seem to work #766

jacobkrieg10 opened this issue Jul 14, 2022 · 0 comments

Comments

@jacobkrieg10
Copy link

I have a scene that I have downloaded from a content server in order to study and play with. When I checked the developer tools console in my browser I have noticed that it makes some requests to the Catalyst content server and the content server is not configured correctly i.e. the requests are executed on the URL the scene server starts on i.e. http://127.0.0.1:8001:

enter image description here

Also the Catalyst configuration uses that URL:

enter image description here

I have installed and ran a functioning local content server on localhost:80 i.e. performing a GET request on e.g. http://127.0.0.1:80/content/contents/QmZVFx2QLX7J6MNWUGgkwRezoZdqPjn1wyR6j93Zt1G2GJ(which gets the file corresponding to a hash used in the scene) works successfully. So I would want to use http://127.0.0.1:80/ instead of http://127.0.0.1:8001 as my content server.

I have read in the decentraland-cli repository README.md that you can use the CONTENT_URL environment variable or contentUrl key in ~/.dclinfo.
I have to set the content server url with both the environment variable and ~/.dclinfo config file. This is my ~/.dclinfo config:

{
  "userId": "525195ce-7db7-486f-8f8b-40c1342c74ae",
  "trackStats": true,
  "contentUrl": "http://127.0.0.1:80/"
}

and the CONTENT_URL variable is also set:

$ echo $CONTENT_URL 
http://127.0.0.1:80/

$ dcl start --skip-build
[HPM] Proxy created: /  -> https://peer.decentraland.org/
[HPM] Proxy created: /  -> https://peer.decentraland.org/

Preview server is now running

  Available on:

    http://127.0.0.1:8001?position=26%2C128&SCENE_DEBUG_PANEL
    http://192.168.2.223:8001?position=26%2C128&SCENE_DEBUG_PANEL
    http://172.16.0.1:8001?position=26%2C128&SCENE_DEBUG_PANEL
    http://172.21.0.1:8001?position=26%2C128&SCENE_DEBUG_PANEL

  Details:


Press CTRL+C to exit

Acquiring comms connection.

but the Catalyst configuration still doesn't change on the dcl started scene:

enter image description here

Can I change the Catalyst configuration content server URL on a dcl start ran scene?
Can someone point me into the right direction?

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

No branches or pull requests

1 participant