Skip to content
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

Papercups down on Heroku - node 18 #1024

Open
durdevic opened this issue Jun 5, 2024 · 12 comments
Open

Papercups down on Heroku - node 18 #1024

durdevic opened this issue Jun 5, 2024 · 12 comments
Labels
bug Something isn't working

Comments

@durdevic
Copy link

durdevic commented Jun 5, 2024

First of, thanks for keeping this repo available for all of us, I appreciate it a lot!

Quick question for some of the maintainers, would it be possible to update the code to be able to be deployed on heroku-20, since the heroku-18 is depricated. Also for a possible redeploy on app.papercups.io

https://help.heroku.com/X5OE6BCA/heroku-18-end-of-life-faq

I tried building my own version but I also got an error there and not sure how to move forward from there.

Any help would be amazing 🎉

@durdevic durdevic added the bug Something isn't working label Jun 5, 2024
@ericdude4
Copy link

Any update here? Papercups down on my app :(

@durdevic
Copy link
Author

I moved to crisp.chat

If ppcups is back I'll think about switching back, but can't wait for that.

They made a great work, great that it lasted for so long for free

@ronaldsantos97s
Copy link

I noticed Papercups is down on my app too. I'd love for a redeploy on app.papercups.io
image (15)

Do you know if we can self-host Papercups such that we don't need to ping Papercup's servers? If so, are there any requirements to self-host?

Thank you!

@Demoxing
Copy link

I noticed Papercups is down on my app too. I'd love for a redeploy on app.papercups.io image (15)

Do you know if we can self-host Papercups such that we don't need to ping Papercup's servers? If so, are there any requirements to self-host?

Thank you!

Same issue. Isn't it possible to host it ourselves? What kind of FOSS project is this if we have to rely on them for their service? Have you found any solution?

@identang
Copy link

identang commented Jul 4, 2024

I noticed Papercups is down on my app too. I'd love for a redeploy on app.papercups.io image (15)

Do you know if we can self-host Papercups such that we don't need to ping Papercup's servers? If so, are there any requirements to self-host?

Thank you!

Yeah, Papercups is also down on my app. I wish I can get it back as soon as possible. It would be great if we can self-host it.

@michalkow
Copy link

I knew Papercups was abandoned as a project, but I did not realize that React (Native) widgets depend on chat-widget.papercups.io domain...
Is there a way to just point to the self-hosted domain for the widgets as well?
Is the chat-widget.papercups.io down temporarily or did it shut down for good this time?

@durdevic
Copy link
Author

durdevic commented Jul 5, 2024

Guys already wrote in the README file,

Papercups is in maintenance mode. This means there won't be any major new features in the near future. We will still accept pull requests and conduct major bug fixes

So either someone picks this up or it's gone.

Nice of them that they left it open, big appreciation for that tbh

@johncadengo
Copy link

@durdevic completely understood, but what I think people were hoping for was this:

We will still [...] conduct major bug fixes

I think it's reasonable to see that if the project stops working, it's a bug.

@durdevic
Copy link
Author

durdevic commented Jul 5, 2024

Fair, but the message is from Jan 2022, so 2 years ago.

If your project failed and you needed to move on, I think it takes a huge chunk of your painful heart to still maintain something that doesn't bring you anything in that moment, at least would be for me.

Simply I understand the guys, thus, if something happens nice, regardless, I'm grateful for what they did so far.

@michalkow
Copy link

OK, I figured out how to self-host the chat widget iframe. If you get Failed to load: chat-widget.papercups.io here are the steps you need to take (requires a Vercel account):

  1. Fork this repo: https://github.com/papercups-io/chat-window
  2. Create new Vercel project from the git repo you just forked
  3. Add NODE_OPTIONS=--openssl-legacy-provider to Environment Variables in project Settings
  4. (Re)deploy from the git repo
  5. Grab the domain URL assigned to you by Vercel and add it as iframeUrlOverride parameter to your ChatWidget component.

@0x2b3bfa0
Copy link

Successfully deployed on Heroku following #1024 (comment), but also had to patch papercups-io/chat-window@0732357/package.json:10 like this:

-     "start": "next start -p 8080"
+     "start": "next start -p $PORT"

@identang
Copy link

identang commented Jul 8, 2024

OK, I figured out how to self-host the chat widget iframe. If you get Failed to load: chat-widget.papercups.io here are the steps you need to take (requires a Vercel account):

  1. Fork this repo: https://github.com/papercups-io/chat-window
  2. Create new Vercel project from the git repo you just forked
  3. Add NODE_OPTIONS=--openssl-legacy-provider to Environment Variables in project Settings
  4. (Re)deploy from the git repo
  5. Grab the domain URL assigned to you by Vercel and add it as iframeUrlOverride parameter to your ChatWidget component.

We didn't get 404 error anymore after deploying the code to Vercel and adding the link to iframeUrlOverride param. However, we ran into an errorError: An account token is required to render the Papercups chat widget! even we double checked we put the token as a param. Does anyone have the same issue here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants