Verify Internet Connection Error
Successfully registered application commands.
Bot Started.
2023-06-02T18:17:11.550Z ERROR [hero-core/lib/Tab] BrowserEngine.Tab.crashed {
context: { tabId: 1, sessionId: 'fVtw15f7Z9SmoBUjA6Bvj' },
sessionId: 'fVtw15f7Z9SmoBUjA6Bvj',
sessionName: 'default-session'
} Error: Page crashed - killed by Chrome with code 9
at Page.onTargetKilled (/app/node_modules/core/lib/Page.ts:566:14)
at BrowserContext.targetKilled (/app/node_modules/core/lib/BrowserContext.ts:276:20)
at Browser.onTargetCrashed (/app/node_modules/core/lib/Browser.ts:349:17)
at DevtoolsSession.emit (node:events:513:28)
at DevtoolsSession.emit (/app/node_modules/commons/lib/TypedEventEmitter.ts:136:18)
at DevtoolsSession.onMessage (/app/node_modules/core/lib/DevtoolsSession.ts:102:12)
at Connection.onMessage (/app/node_modules/core/lib/Connection.ts:83:23)
at processImmediate (node:internal/timers:468:21)
2023-06-02T18:17:11.593Z ERROR [hero-core/connections/ConnectionToHeroClient] ConnectionToClient.HandleRequestError {
context: {},
sessionId: 'fVtw15f7Z9SmoBUjA6Bvj',
sessionName: 'default-session'
} Error: Target for command not available (FrameEnvironment)
at new CommandRunner (/app/node_modules/core/lib/CommandRunner.ts:16:13)
at ConnectionToHeroClient.executeCommand (/app/node_modules/core/connections/ConnectionToHeroClient.ts:240:27)
at ConnectionToHeroClient.handleRequest (/app/node_modules/core/connections/ConnectionToHeroClient.ts:65:25)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Prizepicks - Unable to fetch, please verify your internet connection.
2023-06-02T18:17:39.646Z ERROR [hero-core/connections/ConnectionToHeroClient] ConnectionToClient.HandleRequestError {
sessionId: 'fVtw15f7Z9SmoBUjA6Bvj',
sessionName: 'default-session'
} Error: Target for command not available (Tab)
context: {},
at new CommandRunner (/app/node_modules/core/lib/CommandRunner.ts:16:13)
at ConnectionToHeroClient.executeCommand (/app/node_modules/core/connections/ConnectionToHeroClient.ts:240:27)
at ConnectionToHeroClient.handleRequest (/app/node_modules/core/connections/ConnectionToHeroClient.ts:65:25)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Prizepicks - Unable to fetch, please verify your internet connection.
2023-06-02T18:18:10.137Z ERROR [hero-core/connections/ConnectionToHeroClient] ConnectionToClient.HandleRequestError {
context: {},
sessionId: 'fVtw15f7Z9SmoBUjA6Bvj',
sessionName: 'default-session'
} Error: Target for command not available (Tab)
at new CommandRunner (/app/node_modules/core/lib/CommandRunner.ts:16:13)
at ConnectionToHeroClient.executeCommand (/app/node_modules/core/connections/ConnectionToHeroClient.ts:240:27)
at ConnectionToHeroClient.handleRequest (/app/node_modules/core/connections/ConnectionToHeroClient.ts:65:25)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at runMicrotasks (<anonymous>)
Prizepicks - Unable to fetch, please verify your internet connection.
2023-06-02T18:18:40.627Z ERROR [hero-core/connections/ConnectionToHeroClient] ConnectionToClient.HandleRequestError {
context: {},
sessionId: 'fVtw15f7Z9SmoBUjA6Bvj',
sessionName: 'default-session'
} Error: Target for command not available (Tab)
at new CommandRunner (/app/node_modules/core/lib/CommandRunner.ts:16:13)
at ConnectionToHeroClient.executeCommand (/app/node_modules/core/connections/ConnectionToHeroClient.ts:240:27)
at ConnectionToHeroClient.handleRequest (/app/node_modules/core/connections/ConnectionToHeroClient.ts:65:25)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
29 Replies
Project ID:
86d80cd8-7d21-4368-a342-4fc1d8b87270
project id:86d80cd8-7d21-4368-a342-4fc1d8b87270
what are you trying to fetch
updated lines from com
prizepicks.com
are you using their api?
yes
the deployment crashes
can you show me your package.json?
{
"name": "moneyalertz",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@discordjs/rest": "^1.3.0",
"@ulixee/execute-js-plugin": "^2.0.0-alpha.11",
"@ulixee/hero": "^2.0.0-alpha.11",
"@ulixee/server": "^2.0.0-alpha.11",
"axios": "^0.27.2",
"discord.js": "^14.6.0",
"error-to-json": "^2.0.0",
"firebase": "^9.12.1",
"format-duration": "^2.0.0",
"google-spreadsheet": "^3.3.0",
"pg": "^8.8.0",
"sequelize": "^6.25.3",
"shelljs": "^0.8.5"
}
}
is this a public api
like with public documentation
No they put it up on github
who's they
prizepicks
link please
They took it down I guesse
GitHub
GitHub - ortizjs/JurassicPPP: PrizePicks API Assessment
PrizePicks API Assessment. Contribute to ortizjs/JurassicPPP development by creating an account on GitHub.
this is not official
sorry you wont be able to use that on railway, that scrapes prizepicks, web scrapping is not allowed on railway as stated by TOS
I am using the api they posted but i guess they removed the repo
from my limited research i can not find an offical public api from prizepicks, but id like to be proven wrong.
so as it stands you wont be able to host an app that uses data from prizepicks on railway, sorry for any inconveniences
I've spoken to @Angelo about this lol
From what I understand I am good
hes good
oh im sorry about that, i was just going off what the tos says
can you give me the api domain so i can run some tests?
okay i will get back to you on this
thank you
prizepicks seems to be blocking requests coming from railway, or at the very least requests not made by a web browser
https://utilities.up.railway.app/request-test?url=https://api.prizepicks.com/leagues
try to spoof your api calls to look like a request that a web browser would make, otherwise theres not much we can do for you here and you would have to get in contact with prizepicks
Thank you
highly suggest copying the curl coming from a websites devtools and pasting it in postman to spoof the api calls