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

It won't start the server webclient #501

Closed
MiChaelinzo opened this issue Oct 1, 2020 · 3 comments
Closed

It won't start the server webclient #501

MiChaelinzo opened this issue Oct 1, 2020 · 3 comments

Comments

@MiChaelinzo
Copy link

Describe the bug
Serve web client won't start and just stuck

To Reproduce
./phoneinfoga serve & sudo ./phoneinfoga serve

Expected behavior
start the server webclient etc.

Screenshots (optional)
phoneinfoga

Desktop (please complete the following information):
Linux 5.8.0-amd64 #1 SMP Debian 5.8.10 (2020-09-22) x86_64 GNU/Linux
[i] PhoneInfoga v2.3.0
[i] Coded by Sundowndev https://github.com/sundowndev/PhoneInfoga
downloaded from https://github.com/sundowndev/PhoneInfoga/releases v2.3.2

  • Go exact version (if running it with Go) (run go version)

Additional context

~$ ./phoneinfoga serve
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.

[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:   export GIN_MODE=release
 - using code:  gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /api/                     --> gopkg.in/sundowndev/phoneinfoga.v2/api.healthHandler (3 handlers)
[GIN-debug] GET    /api/numbers              --> gopkg.in/sundowndev/phoneinfoga.v2/api.getAllNumbers (3 handlers)
[GIN-debug] GET    /api/numbers/:number/validate --> gopkg.in/sundowndev/phoneinfoga.v2/api.validate (4 handlers)
[GIN-debug] GET    /api/numbers/:number/scan/local --> gopkg.in/sundowndev/phoneinfoga.v2/api.localScan (4 handlers)
[GIN-debug] GET    /api/numbers/:number/scan/numverify --> gopkg.in/sundowndev/phoneinfoga.v2/api.numverifyScan (4 handlers)
[GIN-debug] GET    /api/numbers/:number/scan/googlesearch --> gopkg.in/sundowndev/phoneinfoga.v2/api.googleSearchScan (4 handlers)
[GIN-debug] GET    /api/numbers/:number/scan/ovh --> gopkg.in/sundowndev/phoneinfoga.v2/api.ovhScan (4 handlers)
[GIN-debug] GET    /icon.svg                 --> gopkg.in/sundowndev/phoneinfoga.v2/api.registerClientRoute.func1 (3 handlers)
[GIN-debug] GET    /css/bootstrap-vue.min.css --> gopkg.in/sundowndev/phoneinfoga.v2/api.registerClientRoute.func1 (3 handlers)
[GIN-debug] GET    /                         --> gopkg.in/sundowndev/phoneinfoga.v2/api.registerClientRoute.func1 (3 handlers)
[GIN-debug] GET    /img/logo.36eb3a60.svg    --> gopkg.in/sundowndev/phoneinfoga.v2/api.registerClientRoute.func1 (3 handlers)
[GIN-debug] GET    /css/bootstrap.min.css    --> gopkg.in/sundowndev/phoneinfoga.v2/api.registerClientRoute.func1 (3 handlers)
[GIN-debug] GET    /js/chunk-vendors.c7e6278a.js.map --> gopkg.in/sundowndev/phoneinfoga.v2/api.registerClientRoute.func1 (3 handlers)
[GIN-debug] GET    /js/app.3080d73c.js       --> gopkg.in/sundowndev/phoneinfoga.v2/api.registerClientRoute.func1 (3 handlers)
[GIN-debug] GET    /js/chunk-vendors.c7e6278a.js --> gopkg.in/sundowndev/phoneinfoga.v2/api.registerClientRoute.func1 (3 handlers)
[GIN-debug] GET    /js/app.3080d73c.js.map   --> gopkg.in/sundowndev/phoneinfoga.v2/api.registerClientRoute.func1 (3 handlers)
^C
~$ sudo ./phoneinfoga serve
[sudo] password for user: 
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.

[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:   export GIN_MODE=release
 - using code:  gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /api/                     --> gopkg.in/sundowndev/phoneinfoga.v2/api.healthHandler (3 handlers)
[GIN-debug] GET    /api/numbers              --> gopkg.in/sundowndev/phoneinfoga.v2/api.getAllNumbers (3 handlers)
[GIN-debug] GET    /api/numbers/:number/validate --> gopkg.in/sundowndev/phoneinfoga.v2/api.validate (4 handlers)
[GIN-debug] GET    /api/numbers/:number/scan/local --> gopkg.in/sundowndev/phoneinfoga.v2/api.localScan (4 handlers)
[GIN-debug] GET    /api/numbers/:number/scan/numverify --> gopkg.in/sundowndev/phoneinfoga.v2/api.numverifyScan (4 handlers)
[GIN-debug] GET    /api/numbers/:number/scan/googlesearch --> gopkg.in/sundowndev/phoneinfoga.v2/api.googleSearchScan (4 handlers)
[GIN-debug] GET    /api/numbers/:number/scan/ovh --> gopkg.in/sundowndev/phoneinfoga.v2/api.ovhScan (4 handlers)
[GIN-debug] GET    /css/bootstrap-vue.min.css --> gopkg.in/sundowndev/phoneinfoga.v2/api.registerClientRoute.func1 (3 handlers)
[GIN-debug] GET    /js/app.3080d73c.js       --> gopkg.in/sundowndev/phoneinfoga.v2/api.registerClientRoute.func1 (3 handlers)
[GIN-debug] GET    /                         --> gopkg.in/sundowndev/phoneinfoga.v2/api.registerClientRoute.func1 (3 handlers)
[GIN-debug] GET    /img/logo.36eb3a60.svg    --> gopkg.in/sundowndev/phoneinfoga.v2/api.registerClientRoute.func1 (3 handlers)
[GIN-debug] GET    /css/bootstrap.min.css    --> gopkg.in/sundowndev/phoneinfoga.v2/api.registerClientRoute.func1 (3 handlers)
[GIN-debug] GET    /js/app.3080d73c.js.map   --> gopkg.in/sundowndev/phoneinfoga.v2/api.registerClientRoute.func1 (3 handlers)
[GIN-debug] GET    /js/chunk-vendors.c7e6278a.js --> gopkg.in/sundowndev/phoneinfoga.v2/api.registerClientRoute.func1 (3 handlers)
[GIN-debug] GET    /js/chunk-vendors.c7e6278a.js.map --> gopkg.in/sundowndev/phoneinfoga.v2/api.registerClientRoute.func1 (3 handlers)
[GIN-debug] GET    /icon.svg                 --> gopkg.in/sundowndev/phoneinfoga.v2/api.registerClientRoute.func1 (3 handlers)

@sundowndev
Copy link
Owner

sundowndev commented Oct 1, 2020

Hi, according to the logs it seems to not have any problem. Did you try curl -L -X GET localhost:5000 ?

http://localhost:5000/ should serve the web client.

@MiChaelinzo
Copy link
Author

Hi, the logs according to the logs it seems to not have any problem. Did you try curl -L -X GET localhost:5000 ?

http://localhost:5000/ should serve the web client.

Thanks, in the late version it usually say link/localhost: port address is ready etc. I thought I'm stuck on loading, And also I forgot the port address of the server webclient.

Can we also change the ip or port address when doing server webclient?

@sundowndev
Copy link
Owner

Can we also change the ip or port address when doing server webclient?

Yes, phoneinfoga serve -p 8080

Read https://sundowndev.github.io/PhoneInfoga/usage/#launch-web-client-rest-api

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

No branches or pull requests

2 participants