Code Monkey home page Code Monkey logo

canonn-tools's People

Contributors

derrickmehaffy avatar hurix avatar nofoollikeone avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

canonn-tools's Issues

Codex Router Plotter broken - 408 timeout

Problem:

The tool isn't working, every startSystem, endSystem, and jumpRange combination ends in the same errors (shown below).

Example attempt:

Start System: Sol
End System: Jellyfish Sector ZE-A d0
Jump Range: 1000
URL: https://tools.canonn.tech/codexrouter/?startSystem=Sol&endSystem=Jellyfish+Sector+ZE-A+d0&jumpRange=1000

Errors:

At first it looks like the problem is with the request to https://us-central1-canonn-api-236217.cloudfunctions.net/get_codex_route/?startSystem=Sol&endSystem=Jellyfish%20Sector%20ZE-A%20d0&jumpRange=1000&limit=10000&offset=0 which lags, then eventually times out with a 408 status code. Before the timeout, the console only shows the error:

Unchecked runtime.lastError: The message port closed before a response was received.

Afterwords, we see a CORS and promise error (full errors shown below).

Screenshot:
image

Saved logs:

Navigated to https://tools.canonn.tech/codexrouter/?startSystem=Sol&endSystem=Jellyfish+Sector+ZE-A+d0&jumpRange=1000
Unchecked runtime.lastError: The message port closed before a response was received.
Unchecked runtime.lastError: The message port closed before a response was received.
Unchecked runtime.lastError: The message port closed before a response was received.
Unchecked runtime.lastError: The message port closed before a response was received.
Unchecked runtime.lastError: The message port closed before a response was received.
Unchecked runtime.lastError: The message port closed before a response was received.
Unchecked runtime.lastError: The message port closed before a response was received.
Unchecked runtime.lastError: The message port closed before a response was received.
tools.canonn.tech/:1 Access to XMLHttpRequest at 'https://us-central1-canonn-api-236217.cloudfunctions.net/get_codex_route/?startSystem=Sol&endSystem=Jellyfish%20Sector%20ZE-A%20d0&jumpRange=1000&limit=10000&offset=0' from origin 'https://tools.canonn.tech' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
spread.js:25          GET https://us-central1-canonn-api-236217.cloudfunctions.net/get_codex_route/?startSystem=Sol&endSystem=Jellyfish%20Sector%20ZE-A%20d0&jumpRange=1000&limit=10000&offset=0 net::ERR_FAILED 408
(anonymous) @ spread.js:25
e.exports @ spread.js:25
e.exports @ spread.js:25
Promise.then (async)
r.request @ spread.js:25
(anonymous) @ axios.min.js:477
reqSites @ ?startSystem=Sol&endSystem=Jellyfish+Sector+ZE-A+d0&jumpRange=1000:86
getSites @ ?startSystem=Sol&endSystem=Jellyfish+Sector+ZE-A+d0&jumpRange=1000:74
fetchCodexData @ ?startSystem=Sol&endSystem=Jellyfish+Sector+ZE-A+d0&jumpRange=1000:98
(anonymous) @ ?startSystem=Sol&endSystem=Jellyfish+Sector+ZE-A+d0&jumpRange=1000:125
(anonymous) @ ?startSystem=Sol&endSystem=Jellyfish+Sector+ZE-A+d0&jumpRange=1000:121
spread.js:25 Uncaught (in promise) Error: Network Error
    at e.exports (spread.js:25:1)
    at XMLHttpRequest.d.onerror (spread.js:25:1)
e.exports @ spread.js:25
d.onerror @ spread.js:25
await in d.onerror (async)
(anonymous) @ ?startSystem=Sol&endSystem=Jellyfish+Sector+ZE-A+d0&jumpRange=1000:125
(anonymous) @ ?startSystem=Sol&endSystem=Jellyfish+Sector+ZE-A+d0&jumpRange=1000:121

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.