Comments (19)
@khenopz16 oh gg thought i am the only one facing this issue. great to see someone with same issue
from gogram.
@khenopz16 Provide more details, bot hosted on vps?
from gogram.
Bot on vps, 4vcp 8gb ram
from gogram.
@khenopz16 Lemme look into it
from gogram.
@AmarnathCJD i will look into it too
from gogram.
@AmarnathCJD I'll too..
from gogram.
@AnjanaMadu Ok tq for your help and support 🥥
from gogram.
@AmarnathCJD iz okie bby. smd
from gogram.
@AmarnathCJD Gimme a bounty instead of 🥥
from gogram.
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.
@khenopz16 Is there a time period to this irresponsive ness?
from gogram.
I can't be sure, but if it doesn't respond, the bot will never respond again if it doesn't start.
from gogram.
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.
@khenopz16 Ok :)
from gogram.
@khenopz16 @Tamilvip07 do git differ and give output fast t.me/rosexchat
from gogram.
I have the same problem
from gogram.
@jMurad Can you send the exact code so I Can replicate it.
from gogram.
#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.
Maybe its due to DeviceModel Parameter, Im unable to reproduce the error, Ran like 50+ times, Possibly network issue
from gogram.
Related Issues (20)
- How to get an id through an invite link on a channel or group HOT 2
- Still the same problem as before, MessagesCheckChatInvite HOT 4
- Need a little more help HOT 2
- About sending messages HOT 3
- BUG with GetDialog function HOT 3
- Desperately in Need of Documentation Support
- no channel with id ########## or missing from cache HOT 3
- [PHONE_CODE_INVALID] The provided phone code is invalid. (code 400) HOT 5
- Error start bot: sending MessagesStartBot: [BOT_INVALID] This is not a valid bot. (code 400) HOT 3
- sending MessagesGetBotCallbackAnswer: [DATA_INVALID] Encrypted data invalid. (code 400) HOT 3
- MessageMediaPoll Fails to Decode HOT 2
- Why is there no response when I execute the Connect method? HOT 14
- decoding unknown object HOT 6
- out of memory, program crash HOT 25
- StringSession Encode、Decode,Wrong appid HOT 7
- Cache writing files need to be locked
- no response channel found for messageId HOT 6
- Add Support for Calls HOT 2
- Imposible interface type convertion in GetFileLocation util
- 24/04/04 02:06:00 gogram - mtproto - error - decoding unknown object: processing item in container: unmarshalling response: decoding predicted object: decode registered object *objects.RpcResult: decode object: RpcResult.Obj: decode interface: EOF HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gogram.