Giter Club home page Giter Club logo

Comments (10)

rabilrbl avatar rabilrbl commented on August 29, 2024

Don't provide JIOTV_CREDENTIALS_PATH and JIOTV_DNS as you're using default values.

Run it like ./jiotv_go-v0.5.8-linux-arm64 ":8080"

After executing like this, if you are facing problem, send logs from terminal with appropriate screenshots

from jiotv_go.

krz123 avatar krz123 commented on August 29, 2024

Screenshot_20230907-201934

from jiotv_go.

rabilrbl avatar rabilrbl commented on August 29, 2024

@krz123

Scroll up and send full ss

from jiotv_go.

rabilrbl avatar rabilrbl commented on August 29, 2024

@krz123 If possible, you can continue to discuss at telegram support group https://telegram.me/jiotv_go_chat

from jiotv_go.

rabilrbl avatar rabilrbl commented on August 29, 2024

As per @krz123 Sent SS on telegram, the issue is related to fatal error: concurrent map iteration and map write as in screenshot below

SS1 SS2
photo_2023-09-07_20-52-31 photo_2023-09-07_20-52-31 (2)

from jiotv_go.

rabilrbl avatar rabilrbl commented on August 29, 2024

The issue is related to GIN, check open issue gin-gonic/gin#3387

The issue should be solved when migrating to go fiber #30

from jiotv_go.

rabilrbl avatar rabilrbl commented on August 29, 2024

As it turns out, I frankly have no idea, what's causing concurrent map iteration. Mostly It is related to updating and deleting header in net/http request in /render.m3u8 route. I can push a fix using mutex. But for the moment I am planning to change to fasthttp as we have gofiber migration upcoming.

from jiotv_go.

dheerajv4855 avatar dheerajv4855 commented on August 29, 2024

gin, gofiber is just routing framework so we cannot say this issue wont come with gofiber migration
for now
i have code fix related to mutex and that is working fine

from jiotv_go.

rabilrbl avatar rabilrbl commented on August 29, 2024

@dheerajv4855 As mentioned in your PR.

gofiber is built on top of fasthttp, similar to gin built on top net/http, hence fasthttp is an alternative to net/http, So i migrated from net/http to fasthttp. fasthttp performs well on concurrency. But net/http is better with standards, which is not relevant in our small application.

from jiotv_go.

rabilrbl avatar rabilrbl commented on August 29, 2024

Fixed in #30

from jiotv_go.

Related Issues (20)

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.