-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Immediate upload failure (something went wrong page) #1513
Comments
I have this exact same issue both running as a normal npm app and as a container. |
OK. I found a solution. Open server/config.js in any editor and change this line:
|
It worked for me |
Me too - How'd you find the fix? Someone else posted a new 401 error with that as an ENV variable. Couldn't find it in the docs, but I'm sure that's just b/c i'm skimming. It also makes sense since they're changing how the service can be used to mandate auth... |
Well, let me explain, take a look at this code where the 401 error occurs: |
With you - except where I saw the error in my console was...I think storage.js or something weird, leading me to think it was some undocumented storage req. I also could be remembering wrong so will have to play a bit later... You just tried to submit something and then watched the console? In any event...thank you! |
I looked at the network activity and saw the 401 error |
Thanks @okyanusoz! Excited to try it out. |
I tried setting the environment variable FXA_REQUIRED to |
I got this up and running fairly quickly from the docs and insight from https://ahmedmusaad.com/self-hosting-firefox-send/, however, when it comes to uploading documents, it instantly fails to the /error page as soon as I click upload - all other file stats display correctly. My hunch is that it's storage related, though tmk I thought it was suppose to default to local storage. All seems fine except for the upload portion.
This is what the web console shows:
TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at Object.pruneTokens (storage.js:213) at new <anonymous> (storage.js:38) at Object.<anonymous> (storage.js:228) at o (bootstrap:63) at Module.<anonymous> (metrics.js:1) at o (bootstrap:63) at Module.<anonymous> (app.f2f95a8e.js:29) at o (bootstrap:63) at Object.<anonymous> (app.f2f95a8e.js:29) pruneTokens @ storage.js:223
My Env:
Any ideas? Permissions Related? I can't locate a log file, so if someone could point that out as well, that'd be awesome.
Thanks in advance!
The text was updated successfully, but these errors were encountered: