Comments (10)
I'll look into it.
from phoenix-chat-example.
I changed the secret through Github secrets and re-ran the job to re-deploy, shouldn't it have worked?
from phoenix-chat-example.
@LuchoTurtle do you have access to the authdemo
app on Fly.io and the phoenix-chat
to debug this? π
If not, please LMK and I will add you. (sorry I don't have Fly.io open right now to check ...)
from phoenix-chat-example.
Thanks. I think it will make sense to get this working before
doing the update #149
to ensure that we know it's working. π
from phoenix-chat-example.
Tried changing the auth_api_key
secret but it didn't work.
https://github.com/dwyl/phoenix-chat-example/actions/runs/4028445385/jobs/7024474099
from phoenix-chat-example.
Can't replicate the issue. It works on localhost.
Imma keep trying
from phoenix-chat-example.
Fly.io
logs show the following.
GET / > auth_client_id: 88SwQE3rB7oiK3HFgeZSmscEU4C2ggqraUCyyxepZi8xj5WLzBBR, msg: auth_client_id: 88SwQE3rB7oiK3HFgeZSmscEU4C2ggqraUCyyxepZi8xj5WLzBBR is not valid index in auth controller, referer: https://phoenix-chat.fly.dev/ person:6
from phoenix-chat-example.
Trying to get https://github.com/dwyl/auth to work but no luck. Even after setting up the ADMIN_EMAIL
env, I keep getting this error:
** (ArgumentError) construction of binary failed: segment 2 of type 'binary': expected a binary but got: nil
from phoenix-chat-example.
Sorry, I should have been clearer. It's just the key that is invalid. This is a 1 minute fix:
Goto: https://authdemo.fly.dev/apps/10 and copy the AUTH_API_KEY
variable.
Then following the instructions in: https://fly.io/docs/reference/secrets/ run the command:
flyctl secrets set AUTH_API_KEY=88Sabcdetc./88Setc./authdemo.fly.dev
Output:
Release v20 created
==> Monitoring deployment
Logs: https://fly.io/apps/phoenix-chat/monitoring
1 desired, 1 placed, 1 healthy, 0 unhealthy [health checks: 1 total, 1 passing]
--> v20 deployed successfully
Working:
phx-chat-auth-working.mov
But that UI bug at the bottom of the page is bugging me: #151 Please fix! π
from phoenix-chat-example.
Changing the secret on GitHub
will only affect the CI
; the key will not be deployed/updated to Fly.io
.
Invalid client_id
just means the AUTH_API_KEY
is invalid.
So updating it on Fly.io
was my logical/immediate response.
from phoenix-chat-example.
Related Issues (20)
- update readme links
- update links
- [CHORE] The walkthrough appears to be outdated (v1.6.14) HOT 3
- [Video Review] Letβs Build a Real Time Chat Application with Elixir and Phoenix HOT 3
- Add `Tailwind CSS` β¨ HOT 12
- Chore: Migrate demo app from Heroku to Fly.io HOT 2
- Chore: Remove `swoosh` from phoenix chat example [not used/needed]
- Bug: `/login` Internal Server Error HOT 7
- Chore: Comprehensively Update this Tutorial to `Phoenix v1.7` HOT 1
- UI Bug: Message input field overlaps last message in thread
- Github action "deploy" failed HOT 9
- [Bug] Footer is not sticky to the bottom HOT 1
- "Extension" : channels for Real-time API backend. HOT 1
- Update to Phoenix v1.6 HOT 8
- mix setup fails on node 16.3 HOT 4
- Heroku Build/Start Failing HOT 13
- Order messages by date HOT 3
- Guest messages are not saved in Postgres HOT 2
- Add Dependabot to Update Dependencies
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phoenix-chat-example.