lynn
lynn
Explore posts from servers
RRailway
Created by lynn on 3/26/2024 in #✋|help
Incoming request routing with RAILWAY_DEPLOYMENT_OVERLAP_SECONDS
I see that the description of this env variable is How long the old deploy will overlap with the newest one being deployed, its default value is 20. Example: 0 Let's say that I have this set to 120. During those 120 seconds of overlap, do requests go to the new or old instance at say, the 60 second mark? I did some searching around and see that there may be a 15 second delay due to dns/http proxy switching, but wasn't able to find a definitive answer.
5 replies
CDCloudflare Developers
Created by lynn on 2/13/2024 in #workers-help
Bug after upgrading to wrangler 3.28.1
After upgrading wrangler from 3.28.0 -> 3.28.1, I run into this: Error: Cannot find module 'worker/node_modules/miniflare/dist/src/index.js'. Please verify that the package.json has a valid "main" entry Manually checking that folder shows that the dist folder is missing. Upon downgrading to 3.28.0, it properly shows up again. Is this a known issue?
4 replies
RRailway
Created by lynn on 2/10/2024 in #✋|help
glibc missing from deployment
I have a simple fastapi python server running on railway, that uses libreoffice in headless mode to convert a docx to a pdf. I keep on running into an error on api invocation that tells me
/usr/lib/libreoffice/program/soffice.bin: /nix/store/wprxx5zkkk13hpj6k1v6qadjylh3vq9m-gcc-11.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/libreoffice/program/libmergedlo.so)

/usr/lib/libreoffice/program/soffice.bin: /nix/store/wprxx5zkkk13hpj6k1v6qadjylh3vq9m-gcc-11.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/libreoffice/program/libuno_cppu.so.3)
/usr/lib/libreoffice/program/soffice.bin: /nix/store/wprxx5zkkk13hpj6k1v6qadjylh3vq9m-gcc-11.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/libreoffice/program/libmergedlo.so)

/usr/lib/libreoffice/program/soffice.bin: /nix/store/wprxx5zkkk13hpj6k1v6qadjylh3vq9m-gcc-11.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/libreoffice/program/libuno_cppu.so.3)
I've ensured that they're installed with my deployment config
"nixpacksPlan": {
"phases": {
"setup": {
"aptPkgs": [
"...",
"libreoffice",
"libstdc++6"
],
"nixPkgs": [
"...",
"glibc"
]
}
}
},
"nixpacksPlan": {
"phases": {
"setup": {
"aptPkgs": [
"...",
"libreoffice",
"libstdc++6"
],
"nixPkgs": [
"...",
"glibc"
]
}
}
},
I did see in another thread that setting nixpacks to 1.15.0 could help, but neither the latest (no version specified) nor 1.15.0 work for this issue. Project ID: 11af6aaa-78aa-4cb0-bf8b-a5e6dfafc4b9 Any help would be greatly appreciated 🙏
27 replies