PokemonGoBot icon indicating copy to clipboard operation
PokemonGoBot copied to clipboard

No info in web UI

Open WillemSV opened this issue 10 years ago • 7 comments

Description: I can't get any data to load in web UI in Chrome/Firefox/Safari on mac.

Steps to reproduce:

  1. Start bot
  2. Open UI

Expected behavior: Info in the UI

Actual behavior: All boxes stay empty

Stacktrace (If it's a crash): This is the error I'm getting in console multiple times

"A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://localhost:8000' is therefore not allowed access. The credentials mode of an XMLHttpRequest is controlled by the withCredentials attribute."

Version: 0.5.0-alpha 4

Operating System: OSX 10.11.1

Java version: java version "1.8.0_101" Java(TM) SE Runtime Environment (build 1.8.0_101-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

WillemSV avatar Aug 02 '16 21:08 WillemSV

Is your bot running normally as well?

TheWayAway avatar Aug 02 '16 21:08 TheWayAway

@TheWayAway Yup no issues at all

WillemSV avatar Aug 02 '16 21:08 WillemSV

Do you have any other bots or maps running that might be conflicting with the port or something?

itsavirusforyou avatar Aug 02 '16 21:08 itsavirusforyou

Nope

WillemSV avatar Aug 02 '16 21:08 WillemSV

Editing comments seems broken on my mobile client: http://pogo.abb.ink/0.5.0-alpha4/map.html

jabbink avatar Aug 02 '16 21:08 jabbink

That did the trick. It works now

WillemSV avatar Aug 02 '16 21:08 WillemSV

@TheWayAway you can also check out this interface for the Bot http://oscarviquez.com/pogo/

eruecco87-zz avatar Aug 03 '16 08:08 eruecco87-zz