-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Server Error. certificate has expired #2285
Comments
I'm having an issue with my ng add @angular/fire command and I think this might have something to do with it. below is a screenshot of me checking my login by running firebase login, it clearly says I'm logged in. then I run a deploy to firebase command and it says "🚨 You're not logged into Firebase. Logging you in..." Date: 2020-01-12T23:18:12.366Z - Hash: 0398eefc1b5a238b8b7e - Time: 37932ms Package Version@angular-devkit/architect 0.803.20 |
Edit, I changed the time on my system to before this started happening and it fixed the issue, how do I put the correct time on my system and still have angular/fire work? |
January 5th 2020 seems to be the last day that I can use the ng add @angular/fire command |
Guess we'll have to do it all manually then. Here's a little tutorial about how to make your Angular app into a PWA, then just host that on FIrebase, more lengthy but at least you learn more I guess ? |
Isn't Firebase Tools up to versions |
hmmmmm.... maybe I'm missing something; here is my firebase version, where does it say firebase is version 6.10.0? maybe @angular fire has a different version of firebase tools its using? |
From what I can tell from the package.json, yes. I can confirm I am having the same issue with From what I could gather from the the source code and behavior the issue seems to be coming from the this block of code for listing the projects, however I could be wrong. Given that it is pretty simple and it seems like this is a HTTPS cert expiring the only conclusion I could draw is maybe the older version of I did attempt for force the project to resolve a newer version of I would definitely like if someone took a look at this when they got a chance. It likely will be a quick fix of updating a package or cert somewhere given that just rolling back the clock makes it work correctly. |
the roll back the clock solution only works for a month or so, its says your credentials are no longer valid, anyone have anything new? |
I'm not super familiar with AngularFire but I'm pretty sure I found the issue. It's here: angularfire/src/schematics/utils.ts Line 7 in 5ccf5db
|
@mbleigh thanks! I'll get on that. |
Any update on fixing the issue? I was trying to get a small pwa ready to deploy on firebase but I also get the error: "Server Error. certificate has expired". Does anyone know a fix or workaround? I'm just starting with angular so I don't know too much about it yet :). |
try rolling your clock back to January 4th |
Just to be sure, you are talking to my os clock right ? So setting my windows clock back to January 4th? Or did you mean something else 😁. In that case I'd like to know how to do it. |
roll the os clock back to January 4th, use the ng add command, put it back on the right day; this stopped working for me but its possible that it works for you. |
So I did manage to install @angular/fire using your method, thanks a lot. I have no idea what happens here, do you know what is the issue? I am a bit lost here. I have the file firebaserc in my directory. Can you help me again? |
@AdrienVictor that 2nd issue appears to be a separate issue. Can you please open a new issue with reproduction steps? Edit: that appears to be a known issue (#2088) that was just fixed in PR #2279. The fix should be in the next release. |
I am experiencing the same issue, any updates? |
I uninstalled and reinstalled angular fire, the changes seem to be in the git repository but not in downloading when I run sudo npm install @angular/fire --save @jamesdaniels |
Sorry, got sidetracked working on the 6.0 rc; I'll get a patch out for the stable version. |
This has been fixed in |
worked for me |
** Screenshots **
Expected behavior
I am running ng add @angular/fire and it should let me select a project from my firebase projects
Actual behavior
the terminal is saying: Server Error. certificate has expired
The text was updated successfully, but these errors were encountered: