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

connection request rejected #12

Closed
q1121599315 opened this issue Sep 15, 2021 · 2 comments
Closed

connection request rejected #12

q1121599315 opened this issue Sep 15, 2021 · 2 comments

Comments

@q1121599315
Copy link

Dear Charming Data,I am a newbee of plotly-dash , when i build a sever by "app.run_server(debug=True)",and then open the link,my request was denied . and if i turn the 'debug' option as False , comes the following error:
Traceback (most recent call last):
File "D:\BaiduNetdiskDownload\BeforeAfter\before-after.py", line 45, in
app.run_server()
File "D:\Program Files\Python36\lib\site-packages\dash\dash.py", line 2033, in run_server
self.server.run(host=host, port=port, debug=debug, **flask_run_options)
File "D:\Program Files\Python36\lib\site-packages\flask\app.py", line 922, in run
run_simple(t.cast(str, host), port, self, **options)
File "D:\Program Files\Python36\lib\site-packages\werkzeug\serving.py", line 1008, in run_simple
inner()
File "D:\Program Files\Python36\lib\site-packages\werkzeug\serving.py", line 957, in inner
fd=fd,
File "D:\Program Files\Python36\lib\site-packages\werkzeug\serving.py", line 781, in make_server
host, port, app, request_handler, passthrough_errors, ssl_context, fd=fd
File "D:\Program Files\Python36\lib\site-packages\werkzeug\serving.py", line 686, in init
super().init(server_address, handler) # type: ignore
File "D:\Program Files\Python36\lib\socketserver.py", line 456, in init
self.server_bind()
File "D:\Program Files\Python36\lib\http\server.py", line 138, in server_bind
self.server_name = socket.getfqdn(host)
File "D:\Program Files\Python36\lib\socket.py", line 673, in getfqdn
hostname, aliases, ipaddrs = gethostbyaddr(name)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xba in position 0: invalid start byte

@Coding-with-Adam
Copy link
Owner

Coding-with-Adam commented Sep 15, 2021 via email

@q1121599315
Copy link
Author

Hi,It looks like your problem is with the data. It has to be converted to utf-8 format. Adam SchroederOwnerCharming Data LLC 118 E 124th ST #1808, New York, New York 10035   My Pronouns: He, him, his ¡Hablo español!  On Wed, Sep 15, 2021, 06:07 am q1121599315 @.> wrote: Dear Charming Data,I am a newbee of plotly-dash , when i build a sever by "app.run_server(debug=True)",and then open the link,my request was denied . and if i turn the 'debug' option as False , comes the following error: Traceback (most recent call last): File "D:\BaiduNetdiskDownload\BeforeAfter\before-after.py", line 45, in app.run_server() File "D:\Program Files\Python36\lib\site-packages\dash\dash.py", line 2033, in run_server self.server.run(host=host, port=port, debug=debug, flask_run_options) File "D:\Program Files\Python36\lib\site-packages\flask\app.py", line 922, in run run_simple(t.cast(str, host), port, self, options) File "D:\Program Files\Python36\lib\site-packages\werkzeug\serving.py", line 1008, in run_simple inner() File "D:\Program Files\Python36\lib\site-packages\werkzeug\serving.py", line 957, in inner fd=fd, File "D:\Program Files\Python36\lib\site-packages\werkzeug\serving.py", line 781, in make_server host, port, app, request_handler, passthrough_errors, ssl_context, fd=fd File "D:\Program Files\Python36\lib\site-packages\werkzeug\serving.py", line 686, in init super().init(server_address, handler) # type: ignore File "D:\Program Files\Python36\lib\socketserver.py", line 456, in init self.server_bind() File "D:\Program Files\Python36\lib\http\server.py", line 138, in server_bind self.server_name = socket.getfqdn(host) File "D:\Program Files\Python36\lib\socket.py", line 673, in getfqdn hostname, aliases, ipaddrs = gethostbyaddr(name) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xba in position 0: invalid start byte —You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android. [ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "#12", "url": "#12", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.*": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Thank you ! I reinstalled python and checked the Debug option and the problem is fixed.

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