-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
now v2 support #399
base: master
Are you sure you want to change the base?
now v2 support #399
Conversation
This pull request is automatically deployed with Now. |
I tried to deploy using your branch, the page load fines, however, the javascript fails to load |
Hi @guitcastro ; can you point me at a deployment? I will rerun mine as well over the coming days. |
Wondering if this has been resolved yet. Cloned and typed in now slackin.
Created a now.json file with "version": '2" but another message indicated there was already a now config in package.json. Can I do anything to hack this up and get it working? |
Nope. I opened the PR, worked for me (famous last words), @guitcastro pointed out an issue, but have not had time to come back to it. Will get to it.... |
Fix Git SSH URL
@chrismetz09 , how did you get the following:
There definitely is a |
@guitcastro I am seeing it now. It looks like not all of the
Or maybe it is, but is in the "5 output items hidden"? Not sure... |
No, it is. I just looked at the output, and see it under |
Phew. It had to do with the now-v2 routes (and docs that didn't make it easy to know that was how it worked). @guitcastro take another look please? |
For me it works like a charm 👍 |
Progress. Grabbed and deployed https://github.com/deitch/slackin/tree/now-v2. But then showing the feared "invalid domain for site key" message. Tried regenerating recaptcha sitekey and secrets but same result. Also seeing websocket handshake 400s in console. Guidance on how to resolve? In the meantime will keep looking at it. |
I am assuming the above are related but unsure. I didn't dig as deeply into the nitty-gritty of how it works under the covers (although it looks like it should be reasonably straightforward). @guitcastro do you know how to debug it? |
Well... it looks like now v2 does not yet support WebSockets. Search their spectrum support channels. It has been an open issue for 6 months. Any maintainers here have an alternative pattern? |
Confirming no Now v2 websockets support per https://spectrum.chat/zeit/now/slackin-not-working~3451a20c-90ba-45bb-8ec3-40157547b58b will now try IBM cloud and report back |
Deployed successfully on Heroku. For Now V2:
Error: found Alas it appears missing web sockets support problem persists. |
As discussed in #394 , you cannot use
now
version 2 to deploy with the current structure.This PR switches to
now
v2 support.