Oliver_
Oliver_
RRailway
Created by Oliver_ on 2/1/2024 in #✋|help
Java server cant build
To compile or build Ive added javac StartServer.java and to start Ive added java StartServer.java. I get this now;
11 replies
RRailway
Created by Oliver_ on 2/1/2024 in #✋|help
Java server cant build
Would it be beneficial to use docker for example?
11 replies
RRailway
Created by Oliver_ on 2/1/2024 in #✋|help
Java server cant build
I usually compile using Intelij or terminal with Javac
11 replies
RRailway
Created by Oliver_ on 2/1/2024 in #✋|help
Java server cant build
11 replies
RRailway
Created by Oliver_ on 1/7/2024 in #✋|help
404 after redirected
Yes, I solved it, I was fetching a profile picture from spotify but it was null. Sorry for taking up your time
7 replies
RRailway
Created by Oliver_ on 1/6/2024 in #✋|help
Nixpacks build failed on frontend app
Thanks a lot!
17 replies
RRailway
Created by Oliver_ on 1/6/2024 in #✋|help
Nixpacks build failed on frontend app
It worked with using index.html instead
17 replies
RRailway
Created by Oliver_ on 1/6/2024 in #✋|help
Nixpacks build failed on frontend app
I think I have my backend on Railway, however I havent started connecting them, as Im using flask and cors
17 replies
RRailway
Created by Oliver_ on 1/6/2024 in #✋|help
Nixpacks build failed on frontend app
Thanks!
17 replies
RRailway
Created by Oliver_ on 5/24/2023 in #✋|help
WebSockets with Railway
Still trying to get the environment variable PORT to work
34 replies
RRailway
Created by Oliver_ on 5/24/2023 in #✋|help
WebSockets with Railway
This what I came up with when using maven: <httpConnector> <host>0.0.0.0</host> <port>${PORT}</port> </httpConnector>
34 replies
RRailway
Created by Oliver_ on 5/24/2023 in #✋|help
WebSockets with Railway
Copy that!
34 replies
RRailway
Created by Oliver_ on 5/24/2023 in #✋|help
WebSockets with Railway
34 replies
RRailway
Created by Oliver_ on 5/24/2023 in #✋|help
WebSockets with Railway
Alright no worries! Last dumb question then, is the environment variable PORT in railway and what you recommend having it as?
34 replies
RRailway
Created by Oliver_ on 5/24/2023 in #✋|help
WebSockets with Railway
How would I look for if maven i listening for 0.0.0.0 and the variable port?
34 replies
RRailway
Created by Oliver_ on 5/24/2023 in #✋|help
WebSockets with Railway
Btw I are really sorry I come across as stupid, but I am very new to hosting services and websockets
34 replies
RRailway
Created by Oliver_ on 5/24/2023 in #✋|help
WebSockets with Railway
This would be our maven POM: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>groupId</groupId> <artifactId>backend</artifactId> <version>1.0-SNAPSHOT</version> <build> <plugins>
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.4</version> <executions> <execution> <phase>package</phase> <goals><goal>copy</goal></goals> <configuration> <artifactItems> <artifactItem> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-runner</artifactId> <version>9.4.9.v20180320</version> <destFileName>jetty-runner.jar</destFileName> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> </plugins> </build> <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> </properties> <dependencies> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> <version>9.4.44.v20210927</version> </dependency> <dependency> <groupId>org.eclipse.jetty.websocket</groupId> <artifactId>websocket-server</artifactId> <version>9.4.44.v20210927</version> </dependency> <dependency> <groupId>org.eclipse.jetty.websocket</groupId> <artifactId>websocket-servlet</artifactId> <version>9.4.44.v20210927</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.8.9</version> </dependency> </dependencies> </project>
34 replies
RRailway
Created by Oliver_ on 5/24/2023 in #✋|help
WebSockets with Railway
Backend Deploy logs: 2023-05-24 19:56:43.320:INFO::main: Logging initialized @2009ms to org.eclipse.jetty.util.log.StdErrLog 2023-05-24 19:56:43.466:INFO:oejs.Server:main: jetty-9.4.9.v20180320; built: 2018-03-20T12:21:10Z; git: 1f8159b1e4a42d3f79997021ea1609f2fbac6de5; jvm 17.0.5+8-nixos 2023-05-24 19:56:43.705:INFO:oejs.Server:main: Started @2402ms
34 replies
RRailway
Created by Oliver_ on 5/24/2023 in #✋|help
WebSockets with Railway
Sure thing!
34 replies
RRailway
Created by Oliver_ on 5/24/2023 in #✋|help
WebSockets with Railway
We have a custom domain for the future
34 replies