wevm / frog

Framework for Farcaster Frames 🐸
https://frog.fm
Other
423 stars 97 forks source link

Image created using node frog template cannot be validated nor casted in warpcast #291

Closed roberpkr closed 6 months ago

roberpkr commented 6 months ago

Describe the bug

Warpcast validation is errored:

19:21:01 validateFrameEmbed 400 - Frame image error: Invalid ContentType: 'text/html; charset=UTF-8'. Total 1235ms

If you try to cast it directly , the image can not be loaded

image

Link to Minimal Reproducible Example

http://65.108.227.172:3000

Steps To Reproduce

npm init frog -- -t node In the project, npm run serve Server is running in port 3000 -> http://65.108.227.172:3000/ ( i am going to try to keep it up for testing purposes) Go to https://warpcast.com/~/developers/frames?url=http%3A%2F%2F65.108.227.172%3A3000 and try to verify it Cannot cast it image

Config node : v.18.14.1 { "name": "try7frognode", "private": true, "type": "module", "scripts": { "dev": "frog dev", "serve": "tsx src/index.tsx" }, "dependencies": { "@hono/node-server": "^1", "hono": "^4", "frog": "latest" }, "devDependencies": { "@types/node": "^20.11.17", "tsx": "^3.12.2" } }

Frog Version

0.8.7

TypeScript Version

3.12.2

Check existing issues

Anything else?

I started using 0.8.5 and i could not cast any frame yet. Last version, 0.8.7,has the same behaviour. Thank you!

dalechyn commented 6 months ago

https://warpcast.com/dalechyn.eth/0xfdfa889b

dalechyn commented 6 months ago

@roberpkr, I'm closing this issue as it might be WC bug itself, back when I tested your URL all the meta tags were accessible.

https://warpcast.com/dalechyn.eth/0xfdfa889b

Let's try getting a response from FC team. At the meantime, I'd advise to somehow not use port in your frame url.