ipfs/js-ipfs

preload fails

pgte opened this issue · 5 comments

pgte commented

Using the js-ipfs (v0.31.1) file api, I create a couple of files and an enclosing folder.
I try loading the resulting hash through the gateway and the gateway times out.

Logs:

:3000/static/js/0.chunk.js:262276 Swarm listening on /dns4/ws-star2.sjc.dwebops.pub/tcp/443/wss/p2p-websocket-star/ipfs/Qmd3X3X1pGuH4Jw3twaoNWmT4Dm8wT6VgmgyoRZkBtyVgP
:3000/static/js/0.chunk.js:33701 jsipfs:preload https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmXfwsGskGFr8pj1rgxQ95y48gUdNHEZ7xLW1pagNgTVWj +0ms
:3000/static/js/0.chunk.js:33701 jsipfs:preload https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmZV9KZR4PDNqS4Y3NiB1KQ55qoFG1m3HHTpdm4cARYAHV +52ms
:3000/static/js/0.chunk.js:33701 jsipfs:preload https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmRrueqoWRTYEJddQFwPLzMoxmjJrSCfFd7XeQY3QysZ4U +8ms
:3000/static/js/0.chunk.js:33701 jsipfs:preload https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmRrueqoWRTYEJddQFwPLzMoxmjJrSCfFd7XeQY3QysZ4U +4ms
:3000/static/js/0.chunk.js:33701 jsipfs:preload https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmRrueqoWRTYEJddQFwPLzMoxmjJrSCfFd7XeQY3QysZ4U +2ms
:3000/static/js/0.chunk.js:33701 jsipfs:preload https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmZV9KZR4PDNqS4Y3NiB1KQ55qoFG1m3HHTpdm4cARYAHV +4ms
:3000/static/js/0.chunk.js:33701 jsipfs:preload https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmXfwsGskGFr8pj1rgxQ95y48gUdNHEZ7xLW1pagNgTVWj +1ms
:3000/static/js/0.chunk.js:33701 jsipfs:preload https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmWDXjuuANK4jKvoUr39beXxMr1bTj3e26Wgy4yj7WhRSg +5ms
:3000/static/js/0.chunk.js:33701 jsipfs:preload https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmViiTeGuovNw3Zgvo1zqnxyHvAuATECFjNMJVTqzs8eks +1ms
:3000/static/js/0.chunk.js:33701 jsipfs:preload https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmNqQHECap6Xd7Jw1uJ9BqxqcJZr6FU5cyD97k9tFPig44 +0ms
:3000/static/js/0.chunk.js:33701 jsipfs:preload https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmR8ogCfwPpyoLKkwnM8L5AzoKWydYds943Ywor7vDsVM5 +1ms
2refs:1 Failed to load resource: the server responded with a status of 504 (Gateway Time-out)
:3000/#/w/markdown/HR4AnGvvV9BvsPZAmmQ3vFr8TjRdFiNU3HyVwWGwKzCi/4XTTMBn6eyM3bd5V6aVCFYVS4wLvv34HxH4EoJWUukSCRtDRj-K3TgTvjZD9tRzh93gUqu5NdhQYNAXQtk3nV6Rcuy3rDmkoP76Ns7ji8PTdMZCsgnjkR4in4LfRJJVuVb7jqTVjV8yDam9u5Vxq5Z1qmokUgFq6iifgvrQwrDcGeHdBA5guugaAC9:1 Failed to load https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmXfwsGskGFr8pj1rgxQ95y48gUdNHEZ7xLW1pagNgTVWj: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 504. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
browser.js:133 jsipfs:preload https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmXfwsGskGFr8pj1rgxQ95y48gUdNHEZ7xLW1pagNgTVWj +1m
2refs:1 Failed to load resource: the server responded with a status of 504 (Gateway Time-out)
:3000/#/w/markdown/HR4AnGvvV9BvsPZAmmQ3vFr8TjRdFiNU3HyVwWGwKzCi/4XTTMBn6eyM3bd5V6aVCFYVS4wLvv34HxH4EoJWUukSCRtDRj-K3TgTvjZD9tRzh93gUqu5NdhQYNAXQtk3nV6Rcuy3rDmkoP76Ns7ji8PTdMZCsgnjkR4in4LfRJJVuVb7jqTVjV8yDam9u5Vxq5Z1qmokUgFq6iifgvrQwrDcGeHdBA5guugaAC9:1 Failed to load https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmRrueqoWRTYEJddQFwPLzMoxmjJrSCfFd7XeQY3QysZ4U: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 504. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
2refs:1 Failed to load resource: the server responded with a status of 504 (Gateway Time-out)
:3000/#/w/markdown/HR4AnGvvV9BvsPZAmmQ3vFr8TjRdFiNU3HyVwWGwKzCi/4XTTMBn6eyM3bd5V6aVCFYVS4wLvv34HxH4EoJWUukSCRtDRj-K3TgTvjZD9tRzh93gUqu5NdhQYNAXQtk3nV6Rcuy3rDmkoP76Ns7ji8PTdMZCsgnjkR4in4LfRJJVuVb7jqTVjV8yDam9u5Vxq5Z1qmokUgFq6iifgvrQwrDcGeHdBA5guugaAC9:1 Failed to load https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmZV9KZR4PDNqS4Y3NiB1KQ55qoFG1m3HHTpdm4cARYAHV: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 504. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
browser.js:133 jsipfs:preload https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmRrueqoWRTYEJddQFwPLzMoxmjJrSCfFd7XeQY3QysZ4U +62ms
browser.js:133 jsipfs:preload https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmZV9KZR4PDNqS4Y3NiB1KQ55qoFG1m3HHTpdm4cARYAHV +2ms
2refs:1 Failed to load resource: the server responded with a status of 504 (Gateway Time-out)
:3000/#/w/markdown/HR4AnGvvV9BvsPZAmmQ3vFr8TjRdFiNU3HyVwWGwKzCi/4XTTMBn6eyM3bd5V6aVCFYVS4wLvv34HxH4EoJWUukSCRtDRj-K3TgTvjZD9tRzh93gUqu5NdhQYNAXQtk3nV6Rcuy3rDmkoP76Ns7ji8PTdMZCsgnjkR4in4LfRJJVuVb7jqTVjV8yDam9u5Vxq5Z1qmokUgFq6iifgvrQwrDcGeHdBA5guugaAC9:1 Failed to load https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmWDXjuuANK4jKvoUr39beXxMr1bTj3e26Wgy4yj7WhRSg: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 504. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
browser.js:133 jsipfs:preload https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmWDXjuuANK4jKvoUr39beXxMr1bTj3e26Wgy4yj7WhRSg +27ms
2refs:1 Failed to load resource: the server responded with a status of 504 (Gateway Time-out)
:3000/#/w/markdown/HR4AnGvvV9BvsPZAmmQ3vFr8TjRdFiNU3HyVwWGwKzCi/4XTTMBn6eyM3bd5V6aVCFYVS4wLvv34HxH4EoJWUukSCRtDRj-K3TgTvjZD9tRzh93gUqu5NdhQYNAXQtk3nV6Rcuy3rDmkoP76Ns7ji8PTdMZCsgnjkR4in4LfRJJVuVb7jqTVjV8yDam9u5Vxq5Z1qmokUgFq6iifgvrQwrDcGeHdBA5guugaAC9:1 Failed to load https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmViiTeGuovNw3Zgvo1zqnxyHvAuATECFjNMJVTqzs8eks: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 504. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
browser.js:133 jsipfs:preload https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmViiTeGuovNw3Zgvo1zqnxyHvAuATECFjNMJVTqzs8eks +7ms
2refs:1 Failed to load resource: the server responded with a status of 504 (Gateway Time-out)
:3000/#/w/markdown/HR4AnGvvV9BvsPZAmmQ3vFr8TjRdFiNU3HyVwWGwKzCi/4XTTMBn6eyM3bd5V6aVCFYVS4wLvv34HxH4EoJWUukSCRtDRj-K3TgTvjZD9tRzh93gUqu5NdhQYNAXQtk3nV6Rcuy3rDmkoP76Ns7ji8PTdMZCsgnjkR4in4LfRJJVuVb7jqTVjV8yDam9u5Vxq5Z1qmokUgFq6iifgvrQwrDcGeHdBA5guugaAC9:1 Failed to load https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmNqQHECap6Xd7Jw1uJ9BqxqcJZr6FU5cyD97k9tFPig44: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 504. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
browser.js:133 jsipfs:preload https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmNqQHECap6Xd7Jw1uJ9BqxqcJZr6FU5cyD97k9tFPig44 +210ms
2refs:1 Failed to load resource: the server responded with a status of 504 (Gateway Time-out)
:3000/#/w/markdown/HR4AnGvvV9BvsPZAmmQ3vFr8TjRdFiNU3HyVwWGwKzCi/4XTTMBn6eyM3bd5V6aVCFYVS4wLvv34HxH4EoJWUukSCRtDRj-K3TgTvjZD9tRzh93gUqu5NdhQYNAXQtk3nV6Rcuy3rDmkoP76Ns7ji8PTdMZCsgnjkR4in4LfRJJVuVb7jqTVjV8yDam9u5Vxq5Z1qmokUgFq6iifgvrQwrDcGeHdBA5guugaAC9:1 Failed to load https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmR8ogCfwPpyoLKkwnM8L5AzoKWydYds943Ywor7vDsVM5: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 504. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
browser.js:133 jsipfs:preload https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmR8ogCfwPpyoLKkwnM8L5AzoKWydYds943Ywor7vDsVM5 +60s
2refs:1 Failed to load resource: the server responded with a status of 504 (Gateway Time-out)
:3000/#/w/markdown/HR4AnGvvV9BvsPZAmmQ3vFr8TjRdFiNU3HyVwWGwKzCi/4XTTMBn6eyM3bd5V6aVCFYVS4wLvv34HxH4EoJWUukSCRtDRj-K3TgTvjZD9tRzh93gUqu5NdhQYNAXQtk3nV6Rcuy3rDmkoP76Ns7ji8PTdMZCsgnjkR4in4LfRJJVuVb7jqTVjV8yDam9u5Vxq5Z1qmokUgFq6iifgvrQwrDcGeHdBA5guugaAC9:1 Failed to load https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmRrueqoWRTYEJddQFwPLzMoxmjJrSCfFd7XeQY3QysZ4U: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 504. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
browser.js:133 jsipfs:preload https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmRrueqoWRTYEJddQFwPLzMoxmjJrSCfFd7XeQY3QysZ4U +60ms
2refs:1 Failed to load resource: the server responded with a status of 504 (Gateway Time-out)
:3000/#/w/markdown/HR4AnGvvV9BvsPZAmmQ3vFr8TjRdFiNU3HyVwWGwKzCi/4XTTMBn6eyM3bd5V6aVCFYVS4wLvv34HxH4EoJWUukSCRtDRj-K3TgTvjZD9tRzh93gUqu5NdhQYNAXQtk3nV6Rcuy3rDmkoP76Ns7ji8PTdMZCsgnjkR4in4LfRJJVuVb7jqTVjV8yDam9u5Vxq5Z1qmokUgFq6iifgvrQwrDcGeHdBA5guugaAC9:1 Failed to load https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmRrueqoWRTYEJddQFwPLzMoxmjJrSCfFd7XeQY3QysZ4U: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 504. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
browser.js:133 jsipfs:preload https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmRrueqoWRTYEJddQFwPLzMoxmjJrSCfFd7XeQY3QysZ4U +7ms
2refs:1 Failed to load resource: the server responded with a status of 504 (Gateway Time-out)
:3000/#/w/markdown/HR4AnGvvV9BvsPZAmmQ3vFr8TjRdFiNU3HyVwWGwKzCi/4XTTMBn6eyM3bd5V6aVCFYVS4wLvv34HxH4EoJWUukSCRtDRj-K3TgTvjZD9tRzh93gUqu5NdhQYNAXQtk3nV6Rcuy3rDmkoP76Ns7ji8PTdMZCsgnjkR4in4LfRJJVuVb7jqTVjV8yDam9u5Vxq5Z1qmokUgFq6iifgvrQwrDcGeHdBA5guugaAC9:1 Failed to load https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmZV9KZR4PDNqS4Y3NiB1KQ55qoFG1m3HHTpdm4cARYAHV: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 504. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
browser.js:133 jsipfs:preload https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmZV9KZR4PDNqS4Y3NiB1KQ55qoFG1m3HHTpdm4cARYAHV +21ms
2refs:1 Failed to load resource: the server responded with a status of 504 (Gateway Time-out)
:3000/#/w/markdown/HR4AnGvvV9BvsPZAmmQ3vFr8TjRdFiNU3HyVwWGwKzCi/4XTTMBn6eyM3bd5V6aVCFYVS4wLvv34HxH4EoJWUukSCRtDRj-K3TgTvjZD9tRzh93gUqu5NdhQYNAXQtk3nV6Rcuy3rDmkoP76Ns7ji8PTdMZCsgnjkR4in4LfRJJVuVb7jqTVjV8yDam9u5Vxq5Z1qmokUgFq6iifgvrQwrDcGeHdBA5guugaAC9:1 Failed to load https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=QmXfwsGskGFr8pj1rgxQ95y48gUdNHEZ7xLW1pagNgTVWj: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 504. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
browser.js:133 jsipfs:preload https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmXfwsGskGFr8pj1rgxQ95y48gUdNHEZ7xLW1pagNgTVWj +12ms
2preload-browser.js:15 GET https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmXfwsGskGFr8pj1rgxQ95y48gUdNHEZ7xLW1pagNgTVWj 504 (Gateway Time-out)
preload @ preload-browser.js:15
retry @ preload.js:55
retryAttempt @ retry.js:145
setTimeout (async)
(anonymous) @ retry.js:147
:3000/#/w/markdown/HR4AnGvvV9BvsPZAmmQ3vFr8TjRdFiNU3HyVwWGwKzCi/4XTTMBn6eyM3bd5V6aVCFYVS4wLvv34HxH4EoJWUukSCRtDRj-K3TgTvjZD9tRzh93gUqu5NdhQYNAXQtk3nV6Rcuy3rDmkoP76Ns7ji8PTdMZCsgnjkR4in4LfRJJVuVb7jqTVjV8yDam9u5Vxq5Z1qmokUgFq6iifgvrQwrDcGeHdBA5guugaAC9:1 Failed to load https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmXfwsGskGFr8pj1rgxQ95y48gUdNHEZ7xLW1pagNgTVWj: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 504. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
browser.js:133 jsipfs:preload:error TypeError: Failed to fetch +0ms
2preload-browser.js:15 GET https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmRrueqoWRTYEJddQFwPLzMoxmjJrSCfFd7XeQY3QysZ4U 504 (Gateway Time-out)
preload @ preload-browser.js:15
retry @ preload.js:55
retryAttempt @ retry.js:145
setTimeout (async)
(anonymous) @ retry.js:147
:3000/#/w/markdown/HR4AnGvvV9BvsPZAmmQ3vFr8TjRdFiNU3HyVwWGwKzCi/4XTTMBn6eyM3bd5V6aVCFYVS4wLvv34HxH4EoJWUukSCRtDRj-K3TgTvjZD9tRzh93gUqu5NdhQYNAXQtk3nV6Rcuy3rDmkoP76Ns7ji8PTdMZCsgnjkR4in4LfRJJVuVb7jqTVjV8yDam9u5Vxq5Z1qmokUgFq6iifgvrQwrDcGeHdBA5guugaAC9:1 Failed to load https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmRrueqoWRTYEJddQFwPLzMoxmjJrSCfFd7XeQY3QysZ4U: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 504. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
browser.js:133 jsipfs:preload:error TypeError: Failed to fetch +50ms
2preload-browser.js:15 GET https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmZV9KZR4PDNqS4Y3NiB1KQ55qoFG1m3HHTpdm4cARYAHV 504 (Gateway Time-out)
preload @ preload-browser.js:15
retry @ preload.js:55
retryAttempt @ retry.js:145
setTimeout (async)
(anonymous) @ retry.js:147
:3000/#/w/markdown/HR4AnGvvV9BvsPZAmmQ3vFr8TjRdFiNU3HyVwWGwKzCi/4XTTMBn6eyM3bd5V6aVCFYVS4wLvv34HxH4EoJWUukSCRtDRj-K3TgTvjZD9tRzh93gUqu5NdhQYNAXQtk3nV6Rcuy3rDmkoP76Ns7ji8PTdMZCsgnjkR4in4LfRJJVuVb7jqTVjV8yDam9u5Vxq5Z1qmokUgFq6iifgvrQwrDcGeHdBA5guugaAC9:1 Failed to load https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmZV9KZR4PDNqS4Y3NiB1KQ55qoFG1m3HHTpdm4cARYAHV: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 504. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
browser.js:133 jsipfs:preload:error TypeError: Failed to fetch +14ms
preload-browser.js:15 Cross-Origin Read Blocking (CORB) blocked cross-origin response https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmZV9KZR4PDNqS4Y3NiB1KQ55qoFG1m3HHTpdm4cARYAHV with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.
preload @ preload-browser.js:15
retry @ preload.js:55
retryAttempt @ retry.js:145
setTimeout (async)
(anonymous) @ retry.js:147
2preload-browser.js:15 GET https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmWDXjuuANK4jKvoUr39beXxMr1bTj3e26Wgy4yj7WhRSg 504 (Gateway Time-out)
preload @ preload-browser.js:15
retry @ preload.js:55
retryAttempt @ retry.js:145
setTimeout (async)
(anonymous) @ retry.js:147
:3000/#/w/markdown/HR4AnGvvV9BvsPZAmmQ3vFr8TjRdFiNU3HyVwWGwKzCi/4XTTMBn6eyM3bd5V6aVCFYVS4wLvv34HxH4EoJWUukSCRtDRj-K3TgTvjZD9tRzh93gUqu5NdhQYNAXQtk3nV6Rcuy3rDmkoP76Ns7ji8PTdMZCsgnjkR4in4LfRJJVuVb7jqTVjV8yDam9u5Vxq5Z1qmokUgFq6iifgvrQwrDcGeHdBA5guugaAC9:1 Failed to load https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmWDXjuuANK4jKvoUr39beXxMr1bTj3e26Wgy4yj7WhRSg: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 504. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
browser.js:133 jsipfs:preload:error TypeError: Failed to fetch +76ms
2preload-browser.js:15 GET https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmViiTeGuovNw3Zgvo1zqnxyHvAuATECFjNMJVTqzs8eks 504 (Gateway Time-out)
preload @ preload-browser.js:15
retry @ preload.js:55
retryAttempt @ retry.js:145
setTimeout (async)
(anonymous) @ retry.js:147
:3000/#/w/markdown/HR4AnGvvV9BvsPZAmmQ3vFr8TjRdFiNU3HyVwWGwKzCi/4XTTMBn6eyM3bd5V6aVCFYVS4wLvv34HxH4EoJWUukSCRtDRj-K3TgTvjZD9tRzh93gUqu5NdhQYNAXQtk3nV6Rcuy3rDmkoP76Ns7ji8PTdMZCsgnjkR4in4LfRJJVuVb7jqTVjV8yDam9u5Vxq5Z1qmokUgFq6iifgvrQwrDcGeHdBA5guugaAC9:1 Failed to load https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmViiTeGuovNw3Zgvo1zqnxyHvAuATECFjNMJVTqzs8eks: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 504. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
browser.js:133 jsipfs:preload:error TypeError: Failed to fetch +1ms
2preload-browser.js:15 GET https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmNqQHECap6Xd7Jw1uJ9BqxqcJZr6FU5cyD97k9tFPig44 504 (Gateway Time-out)
preload @ preload-browser.js:15
retry @ preload.js:55
retryAttempt @ retry.js:145
setTimeout (async)
(anonymous) @ retry.js:147
:3000/#/w/markdown/HR4AnGvvV9BvsPZAmmQ3vFr8TjRdFiNU3HyVwWGwKzCi/4XTTMBn6eyM3bd5V6aVCFYVS4wLvv34HxH4EoJWUukSCRtDRj-K3TgTvjZD9tRzh93gUqu5NdhQYNAXQtk3nV6Rcuy3rDmkoP76Ns7ji8PTdMZCsgnjkR4in4LfRJJVuVb7jqTVjV8yDam9u5Vxq5Z1qmokUgFq6iifgvrQwrDcGeHdBA5guugaAC9:1 Failed to load https://node1.preload.ipfs.io/api/v0/refs?r=true&arg=QmNqQHECap6Xd7Jw1uJ9BqxqcJZr6FU5cyD97k9tFPig44: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 504. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
browser.js:133 jsipfs:preload:error TypeError: Failed to fetch +129ms

Screenshot:

peerpad

Does your node have a custom bootstrap list? The preload nodes won’t be able to get the content unless you are connected to them.

'/dns4/node0.preload.ipfs.io/tcp/443/wss/ipfs/QmZMxNdpMkewiVZLMRxaNxUeZpDUb34pWjZ1kZvsd16Zic',

pgte commented

I don't have a custom bootstrap list, but it looks like he somehow the default config is not being mixed with my saved config.

Anyway, I've added these to the mix, and it looks the same as before:

peerpad

Anything else I can do on my end to help investigate further?

Where can I run this code - is it just peerpad/master?

pgte commented

Solved this by enabling the Bootstrap discovery and setting up the default bootstrap nodes.
@alanshaw thanks for your help!