prince2k3
prince2k3
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
Still ...I appreciate the help and the fast response
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
It is ... I was able to get the error message from a small code update I added
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
Plus I think the build should have failed otherwise before being deployed
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
Yeah I was able to see that things were still working when deployed and the other API endpoints still functioned.
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
Discord thru an error like it didn't upload my message with the Dockerfile
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
Are you seeing that message I posted?
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
Attached is the Dockerfile Vapor generates
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
Following up here. Turns out the Dockerfile installs Swift 5.8 and that is working fine. I’ve been able to use the other api endpoints I have with no issues. The issue was just that one endpoint which I was able to figure out a way to get the error/reason it fails. Recap ... * If you are using Dockerfile to deploy, it should use the version of Swift within it if you have it building the toolchain. * If not using Dockerfile, natively Swift 5.4.2 is supported. * If Swift version is not the issues. Check the code and make sure Error handling logs the error or returns the error to your client.
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
Giving this a try and then I'll make a feedback too
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
Alright!
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
I think I'll need to make a .swift-version file
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
but I'm referencing that in the Package.swift file
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
just 5.8
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
Would it be a feature request to get the swift version updated from Nix the link with the code SwiftProvider.rs, pointed out by someone from the channel, shows that it can support up to 5.8.
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
I haven't finished reading it
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
Will do! I found a thread on the Vapor discord talking about the 5.4.2 and some Nix pack thing
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
That actually looks like that best place to start. I'll give this a look more intensely. Thanks!
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
Definitely! I'll look into that as well
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
Does the version matter with Docker?
56 replies
RRailway
Created by prince2k3 on 9/13/2023 in #✋|help
Experiencing crash with no output for the reason of the crash.
5.8
56 replies