Can't submit new post

Hi lemmy.world folks,

I'm having an issue creating a new post in !selfhosted@lemmy.world.

  1. Cross-instance posting from my home instance (https://szmer.info) only creates a post in my home instance's view of @lemmy.world. After 10 hours the post still doesn't appear on @lemmy.world.
  2. I've created a local (@lemmy.world) account and tried again - but then the Submit button spins forever. The post doesn't appear in the community.
  3. Using the "Photon" UI I get an error pop-up saying simply "couldnt_create_post".

To the best of my knowledge I'm not banned.

Do you know what coud be going on and how could I regain my ability to post?

9 points · 6 comments · view on lemmy.world

6 Comments

maf@lemmy.world · 5 pts · 2y (5 replies)

I think I've found the issue. So I've found out that Lemmy has a 200 character limit for titles. My post had 198 characters:

I’ve just released Gatekeeper 1.6.0. It’s a single executable that turns any Linux machine into a home gateway. Now with realtime traffic graphs, LAN autoconfiguration, full cone NAT & better looks.

Removing the word "just" at the beginning brought the total character count to "193":

I’ve released Gatekeeper 1.6.0. It’s a single executable that turns any Linux machine into a home gateway. Now with realtime traffic graphs, LAN autoconfiguration, full cone NAT & better looks.

And the post got created successfully :)

I think something might have prevented lemmy.world from accepting the 198-character title but worked with 193-character one. This doesn't happen on my home instance, running lemmy 0.18.1 but happens on @lemmy.world, running 0.18.5.

maf@lemmy.world · 3 pts · 2y

Ah, I've found the issue. The ampersand character in the title was escaped to HTML entity (&), which bumped the title length above the limit. I noticed this after posting the shorter title & trying to change it back.

Vorticity@lemmy.world · 3 pts · 2y (2 replies)

Since you investigated and found a workaround maybe it would be worth submitting an issue to the Lemmy GitHub repo.

maf@lemmy.world · 4 pts · 2y (1 reply)
quinten@lemmy.world · 1 pts · 2y

<3

TheGreenGolem@lemm.ee · 1 pts · 2y

I think titles would be more on to the point than being about 200 chars long.