-
Notifications
You must be signed in to change notification settings - Fork 1.2k
502 Bad Gateway, 0.32.3 #1682
Comments
#1476 I think may need to be reopened. This problem seems to be growing. I cannot access anything on the IPFS network this morning through my app. None of the bootstrap nodes will connect. |
ping @ipfs/infrastructure any ideas about this? I know it's not super helpful but if you have a mission critical app you should consider setting up your own bootstrap node(s). |
@alanshaw I was considering that but unsure of how well that is supported. Should I remove all default at runtime and add my own or is there a more persisted way of accomplishing this? I currently have logic such as this in a
Should I just expand on this and manually remove all default and then manually add my won each time? |
I believe I have fixed the servers with the 502 errors and have a mitigation to prevent this particular issue from happening again. I'm going to close this as resolved, but feel free to keep commenting if you need to relay more information. |
Actually, I'm still seeing it on some of the machines, reopened for now. |
Alright, we should be good here. Re-open if you see this again. |
Still see the following (and no connectivity):
I am using version 0.32.3 with default bootstrap config After your reply here, I cleared browser cache, refreshed a few times and continue to see these errors and cannot access any data. Until this morning, I have always seen these errors but have stil been able to connect somehow. |
@lifeBCE Can you run |
Ah, I see that it's failing sporadically. I'm taking a look. |
@kyledrake Running that curl yields the response list of refs without error. I have checked my production deployment and it is working great again, no errors. My local dev (localhost:3000) still has the intermittent issues but it will at least get some blocks through now. Looks like node0 will fail and node1 won't and then vise versa. Sometimes both still but all of this seems to only be in local dev. UPDATE: |
Thanks for your help @kyledrake |
Hi, I seem to have the same issue I am working with js-ipfs, creating a node and using add to push to the network. |
To anyone experiencing these issues still I would echo @alanshaw above in pointing your app at your own node for hash references. The default config for the ipfs-go node has the proper config for CORS support out of the box.
This is how I accomplished this. I could not find it covered very well in any docs so I went to the code and found that you can pass the constructor an options hash with preload config. Your node's API interface (default 5001) will need to be accessible. Also, any time you make any changes to the IPFS package/instance config, blow away your browser cache. This includes adding or removing bootstrap nodes as well. |
I implemented your idea of passing options to the constructor, but allowing CORS:
Thank you for helping me, I am very new and found it very satisfiying to fix the issue. |
Are there any free or paid preload node services available ? We are building some prototype and need a quick solution |
Version:
0.32.3
Platform:
All (Latest FF and Chome on Mac OS X, Latest FF and Chrome on Android)
Subsystem:
Type:
Bug
Severity:
High
Description:
I get hundreds of these errors in the console when the node is just running. I also get the CORS issues and the preload stuff as well in this version but I don't think this is the same issue. This happens so often I have had to modify the config of the embedded node on startup and disable certain nodes though the problem changes from node to node so I am regularly re-adding and ignoring different bootstrap nodes.
Steps to reproduce the error:
The text was updated successfully, but these errors were encountered: