Hi, I'm using a docker version of PodFetch, together with postgres database on Synology NAS and I'm trying to synchronize progress of AntennaPod podcasts. Synchronization fails from AntennaPod's perspective and in PodFetch logs I see the following:
podfetch_1 | Connecting to postgresql://<redacted>
podfetch_1 | thread 'actix-rt|system:0|arbiter:2' panicked at 'Unable to insert episode: DatabaseError(Unknown, "value too long for type character varying(255)")', src/gpodder/episodes/episodes.rs:90:22
I did a little wireshark investigation of communication between AntennaPod and PodFetch and at one point AntennaPod sends the following json (prettified here):
as you see, the "episode" field is an entry with 319 characters, and all text columns in "episodes" table are created as varchar(255).
I've never used diesel so I don't know where it should be changed. One thing which I'd like to point though is that "episode" field contains URLs and according to this stackoverflow question the maximum length of URL is de facto 2000 characters.
Describe the bug
Hi, I'm using a docker version of PodFetch, together with postgres database on Synology NAS and I'm trying to synchronize progress of AntennaPod podcasts. Synchronization fails from AntennaPod's perspective and in PodFetch logs I see the following:
I did a little wireshark investigation of communication between AntennaPod and PodFetch and at one point AntennaPod sends the following json (prettified here):
This is episode of "99% Invisible" podcast, which has the following RSS feed: https://feeds.simplecast.com/BqbsxVfO
as you see, the "episode" field is an entry with 319 characters, and all text columns in "episodes" table are created as varchar(255).
I've never used diesel so I don't know where it should be changed. One thing which I'd like to point though is that "episode" field contains URLs and according to this stackoverflow question the maximum length of URL is de facto 2000 characters.
Reproduction
as above
System Info
Used Package Manager
n/a
Validations