bonjr
bonjr
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
honestly can't even remember the full adventure i went on... was exploring fly.io and back4app, eventually forced to learn dockerfile somewhere, and for some reason ended up coming back to Railway but then Railway used my dockerfile and i noticed it was no longer giving those other errors and that's basically where my msgs start
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
yeah i saw this setting after going the railway.json route i might delete the railway.json and go fix it up in the settings on railway instead but happy to report that after all this, it's finally working
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
i swear i can see the finish line now https://docs.railway.app/deploy/config-as-code
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
why is railway complaining 😭 😭 😭
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
i think it is? CMD ["java", "-jar", "/app/TokenBot_1_maven-1.0-SNAPSHOT-jar-with-dependencies.jar"]
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
i'm lost ChikaConfused what do i need to do?
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
isn't that where it's palced by default?
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
why does Railway hate me 🤣 it's right there!
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
um could you explain this? i know where the jar file is on my local machine, if i run that it will add something that will tell me where the jarfile is when it's built on Railway?
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
indeed.. currently trying to explicitly define it following this https://docs.railway.app/deploy/dockerfiles
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
yeah i'll try and do it real quick rn see how far i get
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
thanks for the help
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
hmm alright i'll try that
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
eh, i'm unfamiliar with it, any alternatives to railway?
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
messed around a bunch with dependencies, stackoverflow solutions, etc. all not working, still getting errors, but only when deployed... local is doing fine
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

SLF4J: Defaulting to no-operation (NOP) logger implementation

SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

SLF4J: Failed to load class "org.slf4j.impl.StaticMDCBinder".

SLF4J: Defaulting to no-operation MDCAdapter implementation.

SLF4J: See http://www.slf4j.org/codes.html#no_static_mdc_binder for further details.

Exception in thread "main" javax.security.auth.login.LoginException: The provided token is invalid!

at net.dv8tion.jda.internal.JDAImpl.verifyToken(JDAImpl.java:362)

at net.dv8tion.jda.internal.JDAImpl.login(JDAImpl.java:279)

at net.dv8tion.jda.internal.JDAImpl.login(JDAImpl.java:246)

at net.dv8tion.jda.api.JDABuilder.build(JDABuilder.java:1918)

at Main.main(Main.java:57)
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

SLF4J: Defaulting to no-operation (NOP) logger implementation

SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

SLF4J: Failed to load class "org.slf4j.impl.StaticMDCBinder".

SLF4J: Defaulting to no-operation MDCAdapter implementation.

SLF4J: See http://www.slf4j.org/codes.html#no_static_mdc_binder for further details.

Exception in thread "main" javax.security.auth.login.LoginException: The provided token is invalid!

at net.dv8tion.jda.internal.JDAImpl.verifyToken(JDAImpl.java:362)

at net.dv8tion.jda.internal.JDAImpl.login(JDAImpl.java:279)

at net.dv8tion.jda.internal.JDAImpl.login(JDAImpl.java:246)

at net.dv8tion.jda.api.JDABuilder.build(JDABuilder.java:1918)

at Main.main(Main.java:57)
and ofc the token will be invalid still because haven't figured out what is going on with the system.getenv()...
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
88 replies
RRailway
Created by bonjr on 8/25/2023 in #✋|help
Deployment and logging issues (Maven)
88 replies