Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evrima server not returning databug: something is not working #521

Closed
bilal-the-dev opened this issue Jan 29, 2024 · 13 comments
Closed

Evrima server not returning databug: something is not working #521

bilal-the-dev opened this issue Jan 29, 2024 · 13 comments
Labels

Comments

@bilal-the-dev
Copy link

Describe the bug
Fetching the data for evrima server but it returning error Failed all 2 attempts
*Steps To Reproduce

import { GameDig } from "gamedig";

async function test() {
	
	GameDig.query({
		type: "tie",
		// type: "theisle",
		// host: "104.206.80.154:14110",
		address: "104.206.80.154",
		port: "14100",
		// rawRules: true,
	})
		.then((state) => {
			console.log(state);
		})
		.catch((error) => {
			console.log(`Server is offline, error: ${error}`);
		});

}

test();

Expected behavior
Well, i am testing three the isle servers they work fine. But for evrima, its returning the error. I see in the docs its supported.

@bilal-the-dev bilal-the-dev changed the title Evrime server not returning databug: something is not working Evrima server not returning databug: something is not working Jan 29, 2024
@CosminPerRam
Copy link
Member

Hello, could you provide the servers you tested and failed? I see you've written an example code for theisle while having problems for envirma, right?
Also, it would be useful to add the debug logs via the debug: true option (or --debug in CLI).

@guilhermewerner
Copy link
Contributor

With port 14100 it worked normally:
image

@bilal-the-dev
Copy link
Author

The isle servers i tested and they work: 104.206.80.154:14010, 104.206.80.154:14210
The evrima server i tested and dont work: 104.206.80.154:14100
the logs
Q#0 Starting Q#0 Protocol: theisleevrima Q#0 Options: { socketTimeout: 2000, attemptTimeout: 10000, maxRetries: 1, stripColors: true, portCache: true, noBreadthOrder: false, ipFamily: 0, port: 14110, protocol: 'theisleevrima', type: 'tie', address: '104.206.80.154', debug: true } Q#0 Requesting client access token ... Q#0 POST: https://api.epicgames.dev/auth/v1/oauth/token Q#0 https://api.epicgames.dev/auth/v1/oauth/token HTTP--> (node:10036) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit (Use node --trace-warnings ... to show where the warning was created) Q#0 Query failed with error RequestError: Timeout awaiting 'request' for 2000ms at ClientRequest.<anonymous> (file:///C:/Users/My%20Pc/Desktop/djs/node_modules/got/dist/source/core/index.js:792:61) at Object.onceWrapper (node:events:627:26) at ClientRequest.emit (node:events:524:35) at TLSSocket.socketErrorListener (node:_http_client:495:9) at TLSSocket.emit (node:events:512:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) at Timeout.timeoutHandler [as _onTimeout] (file:///C:/Users/My%20Pc/Desktop/djs/node_modules/got/dist/source/core/timed-out.js:42:25) at listOnTimeout (node:internal/timers:575:11) at process.processTimers (node:internal/timers:514:7) Q#1 Starting Q#1 Protocol: theisleevrima Q#1 Options: { socketTimeout: 2000, attemptTimeout: 10000, maxRetries: 1, stripColors: true, portCache: true, noBreadthOrder: false, ipFamily: 0, port: 14110, protocol: 'theisleevrima', type: 'tie', address: '104.206.80.154', debug: true } Q#1 Requesting client access token ... Q#1 POST: https://api.epicgames.dev/auth/v1/oauth/token Q#1 https://api.epicgames.dev/auth/v1/oauth/token HTTP--> (node:10036) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit Q#1 Query failed with error RequestError: Timeout awaiting 'request' for 2000ms at ClientRequest.<anonymous> (file:///C:/Users/My%20Pc/Desktop/djs/node_modules/got/dist/source/core/index.js:792:61) at Object.onceWrapper (node:events:627:26) at ClientRequest.emit (node:events:524:35) at TLSSocket.socketErrorListener (node:_http_client:495:9) at TLSSocket.emit (node:events:512:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) at Timeout.timeoutHandler [as _onTimeout] (file:///C:/Users/My%20Pc/Desktop/djs/node_modules/got/dist/source/core/timed-out.js:42:25) at listOnTimeout (node:internal/timers:575:11) at process.processTimers (node:internal/timers:514:7) Server is offline, error: Error: Failed all 2 attempts

@podrivo
Copy link
Contributor

podrivo commented Jan 29, 2024

It worked for me on port 14100.

gamedig --type tie 104.206.80.154:14100 --pretty

{
  "name": "New Beginnings Spiro",
  "map": "Isla_Spiro",
  "raw": {
    "deployment": "6db6bea492f94b1bbdfcdfe3e4f898dc",
    "id": "8c040f7845824ae68ee7314a1e9f5d8c",
    "bucket": "<None>:<None>:<None>",
    "settings": {
      "maxPublicPlayers": 115,
      "allowInvites": true,
      "shouldAdvertise": true,
      "allowReadById": true,
      "allowJoinViaPresence": true,
      "allowJoinInProgress": true,
      "allowConferenceRoom": false,
      "checkSanctions": false,
      "allowMigration": false,
      "rejoinAfterKick": "",
      "platforms": null
    },
    "totalPlayers": 0,
    "openPublicPlayers": 115,
    "publicPlayers": [],
    "started": true,
    "lastUpdated": "2024-01-29T16:55:26.388Z",
    "attributes": {
      "SERVERNAME_s": "New Beginnings Spiro",
      "PASSWORD_s": "Password",
      "QUEUE_ENABLED_b": false,
      "SERVER_VERSION_s": "0.11.59.04",
      "PASSWORD_ENABLED_b": false,
      "QUEUE_PORT_s": "14102",
      "ADDRESS_s": "104.206.80.154",
      "__EOS_BLISTENING_b": true,
      "MAP_NAME_s": "Isla_Spiro",
      "ADDRESSBOUND_s": "0.0.0.0:14100",
      "IP_s": "104.206.80.154",
      "__EOS_BUSESPRESENCE_b": false,
      "DISCORD_s": "https://discord.gg/KPtBfwD7qw",
      "OFFICIAL_b": false
    },
    "owner": "Client_xyza7891gk5PRo3J7G9puCJGFJjmEguW",
    "ownerPlatformId": null
  },
  "maxplayers": 115,
  "numplayers": 0,
  "players": [],
  "bots": [],
  "queryPort": 14100,
  "connect": "104.206.80.154:14100",
  "ping": 0
}

@guilhermewerner
Copy link
Contributor

It looks like you are using the wrong port, 14110 not 14100.

@bilal-the-dev
Copy link
Author

With port 14100 it worked normally: image

Apparently, it doesnt seem to work for me. Niether the command line
Uploading Capture.PNG…

@bilal-the-dev
Copy link
Author

Damn, bro what the hell

I was breaking my head literally, i tried with multiple ports probaly that consfused everything thanks guys

@CosminPerRam
Copy link
Member

So you've solved this? Good to close?

@podrivo
Copy link
Contributor

podrivo commented Jan 29, 2024

Glad it's working! (:

@bilal-the-dev
Copy link
Author

there's actually some problem , it worked once now its giving the same error again.

@podrivo
Copy link
Contributor

podrivo commented Jan 29, 2024

Just tried multiple times and it worked on all attempts.
I've used this command, with port 14100:

gamedig --type tie 104.206.80.154:14100

@bilal-the-dev
Copy link
Author

Q#0 Starting Q#0 Protocol: theisleevrima Q#0 Options: { socketTimeout: 2000, attemptTimeout: 10000, maxRetries: 1, stripColors: true, portCache: true, noBreadthOrder: false, ipFamily: 0, port: 14100, protocol: 'theisleevrima', type: 'tie', address: '104.206.80.154', debug: true } Q#0 Requesting client access token ... Q#0 POST: https://api.epicgames.dev/auth/v1/oauth/token Q#0 https://api.epicgames.dev/auth/v1/oauth/token HTTP--> (node:16124) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit (Usenode --trace-warnings ...to show where the warning was created) Q#0 Query failed with error RequestError: Timeout awaiting 'request' for 2000ms at ClientRequest.<anonymous> (file:///C:/Users/My%20Pc/Desktop/djs/node_modules/got/dist/source/core/index.js:792:61) at Object.onceWrapper (node:events:627:26) at ClientRequest.emit (node:events:524:35) at TLSSocket.socketErrorListener (node:_http_client:495:9) at TLSSocket.emit (node:events:512:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) at Timeout.timeoutHandler [as _onTimeout] (file:///C:/Users/My%20Pc/Desktop/djs/node_modules/got/dist/source/core/timed-out.js:42:25) at listOnTimeout (node:internal/timers:575:11) at process.processTimers (node:internal/timers:514:7) Q#1 Starting Q#1 Protocol: theisleevrima Q#1 Options: { socketTimeout: 2000, attemptTimeout: 10000, maxRetries: 1, stripColors: true, portCache: true, noBreadthOrder: false, ipFamily: 0, port: 14100, protocol: 'theisleevrima', type: 'tie', address: '104.206.80.154', debug: true } Q#1 Requesting client access token ... Q#1 POST: https://api.epicgames.dev/auth/v1/oauth/token Q#1 https://api.epicgames.dev/auth/v1/oauth/token HTTP--> (node:16124) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit Q#1 Query failed with error RequestError: Timeout awaiting 'request' for 2000ms at ClientRequest.<anonymous> (file:///C:/Users/My%20Pc/Desktop/djs/node_modules/got/dist/source/core/index.js:792:61) at Object.onceWrapper (node:events:627:26) at ClientRequest.emit (node:events:524:35) at TLSSocket.socketErrorListener (node:_http_client:495:9) at TLSSocket.emit (node:events:512:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) at Timeout.timeoutHandler [as _onTimeout] (file:///C:/Users/My%20Pc/Desktop/djs/node_modules/got/dist/source/core/timed-out.js:42:25) at listOnTimeout (node:internal/timers:575:11) at process.processTimers (node:internal/timers:514:7) Server is offline, error: Error: Failed all 2 attempts
Could it be an IP problem?

@bilal-the-dev
Copy link
Author

Yups, its an IP problem. I just tried on vps and it works. Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants