GithubHelp home page GithubHelp logo

Bot not responded about gogram HOT 19 CLOSED

amarnathcjd avatar amarnathcjd commented on June 2, 2024
Bot not responded

from gogram.

Comments (19)

TAMILVIP007 avatar TAMILVIP007 commented on June 2, 2024

@khenopz16 oh gg thought i am the only one facing this issue. great to see someone with same issue

from gogram.

AmarnathCJD avatar AmarnathCJD commented on June 2, 2024

@khenopz16 Provide more details, bot hosted on vps?

from gogram.

khenopz16 avatar khenopz16 commented on June 2, 2024

Bot on vps, 4vcp 8gb ram

from gogram.

AmarnathCJD avatar AmarnathCJD commented on June 2, 2024

@khenopz16 Lemme look into it

from gogram.

itzrexmodz avatar itzrexmodz commented on June 2, 2024

@AmarnathCJD i will look into it too

from gogram.

AnjanaMadu avatar AnjanaMadu commented on June 2, 2024

@AmarnathCJD I'll too..

from gogram.

AmarnathCJD avatar AmarnathCJD commented on June 2, 2024

@AnjanaMadu Ok tq for your help and support 🥥

from gogram.

TAMILVIP007 avatar TAMILVIP007 commented on June 2, 2024

@AmarnathCJD iz okie bby. smd

from gogram.

AnjanaMadu avatar AnjanaMadu commented on June 2, 2024

@AmarnathCJD Gimme a bounty instead of 🥥

from gogram.

khenopz16 avatar khenopz16 commented on June 2, 2024

anyone has a solution, I have used the debug log level but I don't see any irregularities in the console everything is as normal but it still often doesn't respond.

from gogram.

AmarnathCJD avatar AmarnathCJD commented on June 2, 2024

@khenopz16 Is there a time period to this irresponsive ness?

from gogram.

khenopz16 avatar khenopz16 commented on June 2, 2024

I can't be sure, but if it doesn't respond, the bot will never respond again if it doesn't start.

from gogram.

khenopz16 avatar khenopz16 commented on June 2, 2024

Oh yeah, I've used a version of the program in the past, with the same bot and it was normal and never happened like this, this version is 80bad83

from gogram.

AmarnathCJD avatar AmarnathCJD commented on June 2, 2024

@khenopz16 Ok :)

from gogram.

AmarnathCJD avatar AmarnathCJD commented on June 2, 2024

@khenopz16 @Tamilvip07 do git differ and give output fast t.me/rosexchat

from gogram.

jMurad avatar jMurad commented on June 2, 2024

I have the same problem

from gogram.

RoseLoverX avatar RoseLoverX commented on June 2, 2024

@jMurad Can you send the exact code so I Can replicate it.

from gogram.

jMurad avatar jMurad commented on June 2, 2024

@RoseLoverX,

#main.go

package main

import (
	"fmt"

	"github.com/amarnathcjd/gogram/telegram"
)

const (
	appID    = 99999999
	appHash  = "asdasdasdasdasdasdasdasdasdasd"
	phoneNum = "+99999999999"
)

func main() {
	// Create a new client
	fmt.Println("telegram.NewClient")
	client, _ := telegram.NewClient(telegram.ClientConfig{
		AppID:         appID,
		AppHash:       appHash,
		LogLevel:      telegram.LogInfo,
		DeviceModel:   "Server2",
		StringSession: "1Bssadfadsfadsfadsf....asdfasdfasdf",

		// Uncomment this line to use string session
		// SessionFile:   "session.session", // To use session File.
	})

	// Connect to the server
	if err := client.Connect(); err != nil {
		panic(err)
	}

	// Authenticate the client using the bot token
	// This will send a code to the phone number if it is not already authenticated
	if _, err := client.Login(phoneNum); err != nil {
		panic(err)
	}

	fmt.Println("session: ", client.GetSessionID())
}

After three runs of the code I got this result:

        2024/01/07 13:23:45 gogram - mtproto - Info - Connecting to [149.154.167.50:443] - <TCPFull> ...
        2024/01/07 13:23:45 gogram - mtproto - Info - Connection to [149.154.167.50:443] - <TCPFull> established
        session:  6268263452837465723

, and after the fourth run it gave this:

        2024/01/07 13:23:45 gogram - mtproto - Info - Connecting to [149.154.167.50:443] - <TCPFull> ...
        2024/01/07 13:23:45 gogram - mtproto - Info - Connection to [149.154.167.50:443] - <TCPFull> established

the program is still not completed...

from gogram.

AmarnathCJD avatar AmarnathCJD commented on June 2, 2024

Maybe its due to DeviceModel Parameter, Im unable to reproduce the error, Ran like 50+ times, Possibly network issue

from gogram.

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.