-
Notifications
You must be signed in to change notification settings - Fork 891
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
[database] FIREBASE WARNING: Invalid query string segment: #517
Comments
Hey there! I couldn't figure out what this issue is about, so I've labeled it for a human to triage. Hang tight. |
Hmmm this issue does not seem to follow the issue template. Make sure you provide all the required information. |
I'll take a look |
I have been seeing this too - the query has been running extremely slowly too. Could this be the cause of the slowdown? The query is
and the data in this query only contains 800bytes of data but is taking over 2 seconds to return? |
seeing this too unfortunately |
I've been getting this for a bit too on my server. What seems to be causing this? It also seems to cause some slowdowns as well. |
+1 |
1 similar comment
+1 |
+1 😦 |
I'm a Software Developer at Google and submitted another issue to investigate this problem a few hours ago. Sorry about the frustration, I wish I was familiar with this domain, and it probably won't help to submit more reports fyi. While a fix may have been made, it might not be present in npm or could have not actually fixed the problem. I will also consider contacting @tonymeng (made a change earlier) tomorrow if we don't hear a response, since this seems significant. |
+1 |
After talking with support this doesn't seem as serious as I thought. The message is just a warning and "shouldn't have any impacts on the function's overall processing." I thought it was preventing changes to functions, but after viewing the function source in the Cloud Console I see the deployments still succeed. I'll keep you updated if I learn anything else. The fix has not been released, but it has been made. |
All my functions seem to work fine, and it was not preventing that. This is not a critical bug, but it creates a lot of high level warnings that drown out the other logs. |
+1 |
My functions are working again and I was just unlucky with experiencing another problem causing my functions to fail at the exact same time as this warning. For anyone wanting to remove the warning, in case it has other associated problems, you can force a dependency of |
+1 |
1 similar comment
+1 |
Hi, thanks for the support. Is the solution would be to configure the functions/package.json file like that:
|
Why is this closed ? @tonymeng |
+1 I still have a lot of warning today. |
+1 |
2 similar comments
+1 |
+1 |
this issue has been auto-closed as the fix has been merged, it will be available in the next version of the sdk. as for what the issue is, there's a bug in parsing the databaseURL which causes the warning to be logged every time a new connection is made. It should not impact any part of the SDK or connectivity as the query string isn't currently being used for anything. |
+1 |
1 similar comment
+1 |
I have the same problem. Do you know when will fix this issue ? Thanks |
you can ignore it until next update...
|
+1 |
1 similar comment
+1 |
Hey y'all! Appreciate all the interest in having this resolved. As the fix has already been merged it'll be released in the next version of the SDK. If you are anxious for a workaround:
NOTE: The NPM canary tag is experimental, if you do opt for the second workaround, make sure you get back onto a mainline release ASAP |
how about 0.1.11-0 ? |
@kleeb That will also work, that is the next staged version and wasn't released when I wrote the above comment. I'll revise it 😄 |
Do you know when will be release the new version ? |
Same error here any idea? |
+1 |
3 similar comments
+1 |
+1 |
+1 |
what is the command to downgarde the firebase |
0.1.11 has just been released |
The warning still occurs on 0.1.11 version |
@kleeb can you please try clean installing your dependencies. I just tested this myself and it seems to be working. The behavior I found was the following:
|
finally fixed it with 0.1.11 version! it removed warning for me |
Warning has gone away completely on latest version.
|
@jshcrowthe I guess that firebase function cache didn't catch it minutes after the release. I redeployed right now and yes - now it is fixed. Thanks! |
- Instance of 'class' rather than 'className' in TaskList jsx - Added key to the tr and nested td in the map function that renders tasks - Removed re-base and did a fresh install with 'yarn remove re-base', 'yarn add re-base'. While still functional, old version of firebase was throwing console errors. (see firebase/firebase-js-sdk#517)
first run "npm uninstall @firebase/database" |
firebase-js-sdk/packages/database/src/core/util/libs/parser.ts
Line 54 in 5038cec
@tonymeng This warning now appears during
firebase.initializeApp(config)
even whereconfig.databaseURL
does not include anyns
query parameter.The text was updated successfully, but these errors were encountered: